Count Unique Values including codes (numbers and letters)

msv785

New Member
Joined
Feb 18, 2018
Messages
1
I have a data set of 100k rows and i need to count the codes (including numbers and letters) of 1 column. The problem is that the model is all linked - and i will keep adding raw data on the sheet, so i am trying to find a formula i can drag down - help would be much appreciated
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Maybe if you include some sample data (please, not 100,000 rows :) ) so we can see what you mean. A couple rows of what you have, along with the expected results of this formula you want.
 
Upvote 0
I have a data set of 100k rows and i need to count the codes (including numbers and letters) of 1 column. The problem is that the model is all linked - and i will keep adding raw data on the sheet, so i am trying to find a formula i can drag down - help would be much appreciated

Suppose that that 1 column is column A with a header in its first row (cell).

In C1 enter:

=MATCH(9.99999999999999E+307,A:A)

In C2 enter:

=MATCH(REPT("z",255),A:A)

In C3 enter:

=MAXIFS(C1:C2,C1:C2,">0")

In C5 control+shift+enter, not just enter:

=SUM(IF(FREQUENCY(IF(1-(A2:INDEX(A:A,C3)=""),MATCH(A2:INDEX(A:A,C3),A2:INDEX(A:A,C3),0)),ROW(A2:INDEX(A:A,C3))-ROW(A2)+1),1))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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