Count unique entries

slinkyjib

Board Regular
Joined
Aug 2, 2004
Messages
161
Good afternoon,

I'm trying to count unique entries in a column that contains duplicates. The problem with this is, I can't use a pivot table ( spreadsheet is already huge), and I can't play with the data, so I need a formula to do it for me.

Below is column A. This is an extract of the data I am trying to count unique entries in.e.g. for the data below the count result should be 4.
3182
3182
3182
3186
82089
82089
82089
82089
5986
5986
5986
5986


Thanks in advance for any help. :biggrin:
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try...

=SUMPRODUCT((A1:A12<>"")/COUNTIF(A1:A12,A1:A12&""))

Hope this helps!
 
Upvote 0
thanks for the reply. Looks good, but excel tells me it has a circular referene, and so doesn't like it.
 
Upvote 0
Can you post the exact formula you're using, along with the location of the formula?
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,454
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top