Hi All,
have another query about this formula.
I am counting the number of projects from a different sheet, based on different variables:
1 -Priority
2- Sponsor
3- Status
I have Priority and Sponsors on dropdown cells in the same sheet, so the idea is for the formula to match the Sponsor and the Priority on those cell, and provide back the number of projects that have both the selected sponsor and the selected priority, and then provide a count of those that have status "Yellow"
The formula I have is:
=COUNTIFS({Test Pursuit Sheet - Range 1}, FIND([Priorities]5, @cell) > 0, {Pursuit Sheet - Range 3}, FIND([Sponsor]5, @cell) > 0, {Test Pursuit Sheet - Range 2}, "Yellow")
The formula works like a charm.
I noted though, that if I left one of the 2 drop down column empty it would simply ignore that in the formula, and proceed to count based on only 2 criteria.
So for example if I only select Sponsor A but leave the Priority blank, the formula would give me back ALL the projects with that Sponsor that have status Yellow.
Needless to say I loved this :) as it would allow me to also calculate the 'totals' based only on 1 of the dropdowns.
Unfortunately if I add text to the blank dropdown, then the count will return 0 .
So the question is:
How do I modify the above Formula so that if the 'Priority' I select is not a match it would provide me the all the projects that match the other 2 variables (Sponsor and Status Yellow?)
Sorry, it is a bit wordy....