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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Would you like to explain in more detail to me and i will be able to help you on this one my friend. :p
 
Upvote 0
Would you like to explain in more detail to me and i will be able to help you on this one my friend. :p
 
Upvote 0
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....
 
Upvote 0
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.
 
Upvote 0
Cheers Aladin....

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

Forum statistics

Threads
1,215,007
Messages
6,122,670
Members
449,091
Latest member
peppernaut

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