In today’s tutorial, we’ll learn how to use the unique function in Google Sheets. Here’s a quick guide to help you achieve this:
- Combining Columns to Get Unique Values:
- Suppose you have two columns with odd and even numbers.
- To get unique values from both columns, follow these steps:
- Insert the Formula:
- In cell A1 type
=UNIQUE({
then select the first column. - Add a semicolon
;
and select the second column. - Close the curly bracket
}
and press Enter.
=UNIQUE({A1:A10;B1:B10})
- You’ll see the unique values from both columns combined in one column. These values are listed as they are in both columns. See the image below.
- Sorting the Unique Values:
- If you want to sort these values in alphabetical or numerical order, you need to add another formula,
SORT
. - Double-click on cell A1 and modify the formula by adding
SORT
after=
and beforeUNIQUE
.
=SORT(UNIQUE({A1:A10;B1:B10}))
- Now, you’ll see all unique values sorted in order.
If you like the tutorial, check out our Google Sheets and Workspace blogs and tutorials
Watch the full tutorial here: How to Combine Two Columns and Get Unique Values in Google Sheets Or Watch the following video
Nice blog sir…
Thanks Aniket