Extending a countifs formula to exclude entries that do not match another range
Hi there,
I think i might have difficulty explaining what I am after, so i apologize in advance.
I have a table like below, and I want to count how many tasks the group Finance has. I was able to do this with the below formula, and the answer would come to 4.
=COUNTIFS(C2:C9,"Task",D2:D9,"Finance")
| A| B| C | D ---|---|----|----|---- A1 | Number| Task type | Group | Parent A2| TASK12345| Task| Finance | RITM12345 A3| TASK12346| Task| Finance | RITM12346 A4| TASK12347| Task| Finance | RITM12347 A5| TASK12348| Task| Finance | RITM12348 A6 | RITM12345 | RITM| | text A7 | RITM12346 | RITM| | text A8 | RITM12347 | RITM| | text
| Task ---|--- Finance | 4
I want to take this 1 step further and have the requirement to exclude counting any entry from column D, that does not exist in column B. So for our example data above, that would be RITM12348, so the number then should come to 3.
What is the best way to tackle this?
Thanks in Advance!!
Posted Feb 15, 2018, 5:41 AM UTC
Ok, that was challenging... try with this one. Assuming your data starts in A1 with Number, use
Example
SOLUTION VERIFIED!
You have awarded 1 point to man-teiv
my man... wow. thank you! worked perfectly when editing it in my spreadsheet!