filmov
tv
Excel: Combine the awesome UNIQUE and SORT functions in Excel
Показать описание
The UNIQUE function in Excel is one of my favorite functions. Unique returns a list of unique values in a range. The SORT function in Excel sorts the contents of a range or array. The Unique function can return Unique or Distinct. I'll explain the difference in Unique vs. Distinct in this short video along with multiple examples of combining these two incredible functions.
Chris Menard's blog post:
The file used in this video is in the blog post.
Chapters:
0:00 Intro
0:35 Unique function
1:20 Sort function
1:59 Sort and Unique
2:53 Unique not distinct
4:30 Unique and Concatenate
5:46 Sort and Unique by a field
UNIQUE function Syntax and Arguments
The Unique function has three arguments. Two are optional.
Syntax
=UNIQUE (array, [by_col], [exactly_once])
Arguments
array - Range or array from which to extract unique values.
by_col - [optional] How to compare and extract. By row = FALSE (default); by column = TRUE.
exactly_once - [optional] TRUE = values that occur once, FALSE= all unique values (default).
Unique vs. Distinct
The function is called the Unique function, but technically it is finding Distinct values. What is the difference between Distinct vs. Unique?
Unique values are the items that appear only once. Distinct values are all different items in a list. So something that is Unique is Distinct, but something that is Distinct may not be Unique. See my example below.
Note:
The Unique and Sort function work with Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web. Excel for iPad, Excel for iPhone, Excel for Android tablets. Excel for Android phones.
#msexcel #microsoftexcel #chrismenardtraining #chrismenard
Chris Menard's website:
And make sure you subscribe to my channel!
-- EQUIPMENT USED ---------------------------------
-- SOFTWARE USED ---------------------------------
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
Chris Menard's blog post:
The file used in this video is in the blog post.
Chapters:
0:00 Intro
0:35 Unique function
1:20 Sort function
1:59 Sort and Unique
2:53 Unique not distinct
4:30 Unique and Concatenate
5:46 Sort and Unique by a field
UNIQUE function Syntax and Arguments
The Unique function has three arguments. Two are optional.
Syntax
=UNIQUE (array, [by_col], [exactly_once])
Arguments
array - Range or array from which to extract unique values.
by_col - [optional] How to compare and extract. By row = FALSE (default); by column = TRUE.
exactly_once - [optional] TRUE = values that occur once, FALSE= all unique values (default).
Unique vs. Distinct
The function is called the Unique function, but technically it is finding Distinct values. What is the difference between Distinct vs. Unique?
Unique values are the items that appear only once. Distinct values are all different items in a list. So something that is Unique is Distinct, but something that is Distinct may not be Unique. See my example below.
Note:
The Unique and Sort function work with Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web. Excel for iPad, Excel for iPhone, Excel for Android tablets. Excel for Android phones.
#msexcel #microsoftexcel #chrismenardtraining #chrismenard
Chris Menard's website:
And make sure you subscribe to my channel!
-- EQUIPMENT USED ---------------------------------
-- SOFTWARE USED ---------------------------------
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
Комментарии