How to count only unique values from a column in a COUNTIFS

slam

Well-known Member
Joined
Sep 16, 2002
Messages
921
Office Version
  1. 365
  2. 2019
I have this formula so far:

Excel Formula:
=COUNTIFS(Raw!$B:$B,"11/22/2023  12:00:00 AM",Raw!S:S,A24,Raw!W:W,C23)

The problem is that my Raw worksheet has a lot of duplicates, and I only need to count one of each instance from column C on the Raw worksheet. Could someone please show me how to incorporate that into my formula?

Thanks!
 
change .... the filter range to the column that needs to be summed.

Confused about this part. I need the Raw!$C:$C reference to identify the unique values don't I? So if I replace that with the SUM range, how does it know the unique values to SUM?

Excel Formula:
=IFERROR(SUM(UNIQUE(FILTER(Raw!$C:$C,(Raw!$B:$B="11/22/2023  12:00:00 AM")*(Raw!$S:$S="Planned")*(Raw!$X:$X,="2025")))),0)

Sorry I'm struggling, and thank you for your patience.
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
As this is obviaously a completely different question it needs a new thread.
In that thread please explain clearly EXACTLY what you want, rather than making people guess.
 
Upvote 0

Forum statistics

Threads
1,225,734
Messages
6,186,715
Members
453,369
Latest member
positivemind

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