Count Unique Values

TerriC1984

New Member
Joined
Oct 14, 2019
Messages
3
Help please...I want to count the number of unique values in Column B (delivery postcode) where column I is a specific value (delivery depot) eg how many postcodes did a specific depot deliver to.
I've tried multiple variations of countif, frequency, match etc but can't seem to get it right :( Does anybody have any suggestions?
Thank you
Terri
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Need more info, but try:

=SUM(IF($I$2:$I$15=specific value, (1/COUNTIFS(B2:B15;B2,B15,I2:I15;"="&specific value)); 0))


This is CSE formula.
 
Last edited:
Upvote 0
...it still doesn't like it.

In what way?


I can give you as much info as you need to help

Not. It is not enough!!.
Whether column B has empty cells or not. The formula is different ...
Whether column I has empty cells or not. The formula is different ... What kind of data are in text columns or numbers? The formula is different ...

I tried to help you ...
 
Upvote 0
Sorry, I wasn't being rude, I really appreciate your help. I meant what else would you need to know? I'm happy to share whatever I can for you to help me but don't know what you might need. This is way beyond my Excel ability and even my Google skills are failing me...I'm baffled by the formula not your request for more info.
Both columns B and I have blank cells.
 
Upvote 0
Can you supply some sample data?
There are add-ins available here that enable you to include data in a post. Add-ins
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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