Counting unique values based on 2 bits of criteria

Stellar114

New Member
Joined
Feb 24, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I'm looking to SUM the total of instances of a category based on if another column equals "Yes", but only count once base on the value in Column "A"

My example below shows what i'm looking for. S-230653 (column A) is listed twice, both equal "yes" (column B) and Column C shows "S". So for that example, the sum for that should populate "1" because I only need it to capture one instance of the S/O number.

I used =ROWS(UNIQUE(FILTER(G18:G729,O18:O729="YES"))) to do the same thing only comparing 2 columns. So I'd imagine the formula I need is an extension of that one. Any insight would be appreciated!

1645803389920.png
 

Attachments

  • 1645803163223.png
    1645803163223.png
    27.5 KB · Views: 7

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I've been trying to use this formula, but I don't think it's calculating correctly: =ROWS(UNIQUE(FILTER(G18:G729,Q18:Q729="S",O18:O729="YES")))
 
Upvote 0

Forum statistics

Threads
1,215,390
Messages
6,124,667
Members
449,178
Latest member
Emilou

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