Need better counting formula

Alan C

Active Member
Joined
Feb 19, 2002
Messages
264
I have been using this formula to find the number of unique entries in a column: =SUM(IF(LEN(RANGE),1/COUNTIF(RANGE,RANGE))), Control,Shift,Enter – RANGE being the named range I’m trying to count. No other conditions, just the count of unique in a specific column. When I get to very large data sets, the formula freezes my computer and I have to close Excel. Large = 50,000 items in column.

Is there a more efficient formula that will count unique items in a column without breaking the bank, crashing the system?

Thanks for any help.

Alan
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Thanks to you too, Brandon. Jim's simple formula sure is peppy! Two seconds and ran 70,000 plus rows in specific column. Many thanks to all!

Alan
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,921
Latest member
BBQKING

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