Question from Rachelle Haid
I have been researching this for a bit and can’t figure out…
Do you know how to check for duplicates in a list and only have it return a 1 on the first instance, so I only count unique values….
For example if I have a list of ID’s (1001, 1002, 1003,1004,1001)
1001 appears twice but I don’t want to count it twice only once…
Any ideas???
Hi Rachelle - we missed you last week!
The easiest way to count unique values is using a pivot table. The pivot table will automatically group duplicate IDs.
If you want to use a formula, combine SUM and FREQUENCY:
- I re-created your list of ID’s in column A, rows 1 thru 5
- Type the formula =SUM(N(FREQUENCY($A$1:$A$5,$A$1:$A$5)>0))
- This formula counts all ID’s one time, excluding the duplicates
If you liked my post, feel free to subscribe to my rss feeds



























BlogoSquare
2 Comments so far (Add 1 more)