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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel, Find the number of unique values with an extra condition

Status
Not open for further replies.

greathope123

Programmer
Nov 1, 2011
84
GB
A...B
-----
a...0
b...1
c...0
a...1
b...1
there are 5 letters in column A but only 3 values are unique: a, b and c.
Using function, how to find the number of unique values followed by "1" in column B (we know the answer will be 2)?

I will be very appreciated for any helps!
 


hi,

1 or "1"?

Two different values.

Does it have to be a formula?

You could use a PivotTable and derive the count from the PT result.

Skip,

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

Part and Inventory Search

Sponsor

Back
Top