<!DOCTYPE html> <html> <head> <title>UNIQUE Function</title> <meta charset="utf-8" /> <meta name="description" content="" /> <link type="text/css" rel="stylesheet" href="../editor.css" /> <link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" /> <script type="text/javascript" src="../callback.js"></script> <script type="text/javascript" src="../search/js/page-search.js"></script> </head> <body> <div class="mainpart"> <div class="search-field"> <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)"> </div> <h1>UNIQUE Function</h1> <p>The <b>UNIQUE</b> function is one of the reference functions. It is used to return a list of unique values from the specified range.</p> <p>The <b>UNIQUE</b> function syntax is:</p> <p style="text-indent: 150px;"><b><em>UNIQUE(array,[by_col],[exactly_once])</em></b></p> <p>where</p> <p><b><em>array</em></b> is the range from which to extract unique values.</p> <p><b><em>by_col</em></b> is the optional TRUE or FALSE value indicating the method of comparison: TRUE for columns and FALSE for rows.</p> <p><b><em>exactly_once</em></b> is the optional TRUE or FALSE value indicating the returning method: TRUE for values occurring once and FALSE for all unique values.</p> <p>To apply the <b>UNIQUE</b> function,</p> <ol> <li>select the cell where you wish to display the result,</li> <li> click the <b>Insert function</b> <div class = "icon icon-insertfunction"></div> icon situated at the top toolbar, <br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu, <br />or click the <div class = "icon icon-function"></div> icon situated at the formula bar, </li> <li>select the <b>Look up and reference</b> function group from the list,</li> <li>click the <b>UNIQUE</b> function,</li> <li>enter the required argument,</li> <li>press the <b>Enter</b> button.</li> </ol> <p>The result will be displayed in the selected cell.</p> <p class="note">To return a range of values, select a required range of cells, enter the formula, and press the <b>Ctrl+Shift+Enter</b> key combination.</p> <p style="text-indent: 150px;"><img alt="UNIQUE Function" src="../images/unique.png" /></p> </div> </body> </html>