excelhelp1a
New Member
- Joined
- Apr 26, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
I have a pivot table in which I need to count the number of occurrences that certain criteria are met. The data is below, the criteria that I need met is this: Green is greater than 0, the state is CA, and at least one other item (Red/Blue) has a value greater than 0. I think I need to do some sort of countif and sumproduct but am not sure how to get the desired result. Any information is super appreciated!
State | Red | Blue | Green | Grand Total |
CA | 1 | 2 | 3 | 6 |
CA | 0 | 0 | 3 | 3 |
CA | 0 | 0 | 1 | 1 |
NM | 1 | 3 | 2 | 6 |
NM | 1 | 2 | 1 | 4 |
CA | 1 | 2 | 3 | 6 |
NM | 1 | 2 | 1 | 4 |
NY | 3 | 4 | 2 | 9 |
NY | 2 | 1 | 1 | 4 |
CA | 1 | 1 | 0 | 2 |