• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

count unique customer

sambit

Member
Sir,

Please help to resolve the below issue.

Shop no has multiple customer. What is the formula for Unique customer in column c.

Shop No
customer
No of Customer (Count)
23623​
A​
23623​
A​
23623​
A​
23623​
B​
23623​
B​
23674​
C​
23674​
C​
23674​
C​
23674​
C​
23674​
C​
23677​
D​
23677​
E​


Result given below
2​
2​
2​
2​
2​
1​
1​
1​
1​
1​
2​
2​
 
Hey Smabit
Try this

Code:
=COUNTIFS($B$2:$B$13, B2, $A$2:$A$13, A2)

Drag this formula down for the entire column C. This formula counts the unique customers for each shop number.
 
Hey Smabit
Try this

Code:
=COUNTIFS($B$2:$B$13, B2, $A$2:$A$13, A2)

Drag this formula down for the entire column C. This formula counts the unique customers for each shop number.
No it doesn't. It counts the number of times a specific customer appears for a specific shop.
 
Back
Top