OK, Nanaia - I think this is it:
Following the logic I was talking about in post #13 and what others have said already, I've placed the IF statements with more conditions first, as they need to be dealt with before those with fewer, otherwise those with fewer will cause a false positive and stop calculations early on.
I did have to correct the parenthesis to make this work, so the syntax looks like this:
=IF(AND(...),COUNTIF(...)>0,IF(AND(...),COUNTIF(...)>0,...)) and so on ...
Those brackets (braces) that are relevant to the IF statements are in red. If you get the parenthesis wrong, then calculations can be skewed, as the order in which Excel does things depends on it. Obviously at the end you need your fourteen closing brackets (braces)! If you put any of these earlier on, then you will confuse Excel and not get the results you are expecting.
I have tested this and it seems to pull the results you are wanting. Let us know. I hope it helps, anyway.
As an aside, I used Word to build this, putting each formula on a separate line with the correct parenthesis and comma layout. I then jiggled the order to get that right, then copied the whole lot back into Excel and added the closing brackets. If you expand the formula window, you'll be able to see the whole thing in the attachment.
Bookmarks