tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I have this countif formula that works great, but I need it edited to do one other thing.
Currently it counts on 4 criteria like this.
"=COUNTIFS('Raw Data1'!AN:AN,Output!A5,'Raw Data1'!R:R,Output!H3,'Raw Data1'!P:P,Output!I3,'Raw Data1'!Q:Q,Output!J3)"
Now Output!H3,Output!I3,,Output!J3
are all drop down boxes, so I choose the data to put in, but sometimes I want to include all the results for that row, for example:
Output!H3, might = "Sales"
Output!I3, "Winter"
But I don't want to filter by "Output!J3" so the cell is blank. the problem is with the above formula instead of including all data, it sees blank as criteria and trys to find blank cells.
how can I get it that if there is nothing in the drop down cell it means count everything in that row whist keeping any other criteria I want???
please help i'm totally stuck.
Thanks
Tony
I have this countif formula that works great, but I need it edited to do one other thing.
Currently it counts on 4 criteria like this.
"=COUNTIFS('Raw Data1'!AN:AN,Output!A5,'Raw Data1'!R:R,Output!H3,'Raw Data1'!P:P,Output!I3,'Raw Data1'!Q:Q,Output!J3)"
Now Output!H3,Output!I3,,Output!J3
are all drop down boxes, so I choose the data to put in, but sometimes I want to include all the results for that row, for example:
Output!H3, might = "Sales"
Output!I3, "Winter"
But I don't want to filter by "Output!J3" so the cell is blank. the problem is with the above formula instead of including all data, it sees blank as criteria and trys to find blank cells.
how can I get it that if there is nothing in the drop down cell it means count everything in that row whist keeping any other criteria I want???
please help i'm totally stuck.
Thanks
Tony