Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distinct Count

Status
Not open for further replies.

Smithsc

MIS
Apr 20, 2007
143
GB
I am trying to find a formula that will do a distinct count over a set of data:

Person Deal
A a1
A a1
A z1
B b1
B b1
C c1
C c2
C c3
D d1
D d1
D d1
D d2
D d3
E e1
E e2
E e2

Basically what I'm after is to be able to count the number of different deals each person has done. The result would look something like this:

Person Count of Diff Deals
A 2
B 1
C 3
D 3
E 2

Any help would be greatly appreciated

Stuart.
 



hi,

Check out the PivotTable Wizard. Fits the bill to a T!

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 



Might be better to use the Advanced filter to generate a unique list in column D.

Then use this formula, using Named Ranges on your original table...
[tt]
F2: =sumproduct((Person=D2)*(Deal=E2))
[/tt]


Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top