Distinct Count

WillR

Well-known Member
Joined
Feb 18, 2002
Messages
1,143
Is there a formula that will give me a distinct count of a list of account numbers in excel..... i'm being a bit thick i know but it's thursday and we went to the pub for lunch....
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

gareth

Board Regular
Joined
Apr 15, 2002
Messages
234
Would you like to explain in more detail to me and i will be able to help you on this one my friend. :p
 

gareth

Board Regular
Joined
Apr 15, 2002
Messages
234
Would you like to explain in more detail to me and i will be able to help you on this one my friend. :p
 

WillR

Well-known Member
Joined
Feb 18, 2002
Messages
1,143
I have a list of account numbers extracted from a database, some of which are duplicates....what i want to do is get a distinct count of the number of unique account numbers in the list....
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209

ADVERTISEMENT

On 2002-09-05 07:30, WillR wrote:
Is there a formula that will give me a distinct count of a list of account numbers in excel..... i'm being a bit thick i know but it's thursday and we went to the pub for lunch....

Let A2:A100 house the account numbers of interest.

Array-enter:

=SUM(IF(LEN(A2:A100),1/COUNTIF(A2:A100,A2:A100)))

To array-enter a formula, hit control+shift+enter at the same time, not just enter.

If you have the morefuncadd-in installed, use:

=COUNTDIFF(A2:A100)

which is normally entered.
 

WillR

Well-known Member
Joined
Feb 18, 2002
Messages
1,143
Cheers Aladin....

Know anywhere i can get hold of the morefunc addin??
 

WillR

Well-known Member
Joined
Feb 18, 2002
Messages
1,143
Sorry... it's thursday and i was being a slob

:)
 

Forum statistics

Threads
1,143,702
Messages
5,720,375
Members
422,281
Latest member
jantoooh

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
Top