I am trying to get a count of rows (sorted by a size column) with a value greater than N15, in this case 700,000 (that's the easy part I'm using =COUNT(B2:B300,">" & N15) which returns 28). But I want to subtract any Exceptions (column E) that are checkmarked as a result of the following formula - =IF(AND(ISNA(MATCH(D2,K$10:K$14,0)),ISNA(MATCH(A2,K$18:K$44,0))),"","?") - Which compares the name & department against 2 lists in column K.
I tried subtracting COUNTA result from the COUNTIF like this =COUNTIF(B2:B300,">" & N15)- COUNTA(INDIRECT("E2:E" & COUNTIF(B2:B300,">" & N15) + 1,TRUE)). But the total is 0 because both functions return 28.
I'm sorry, I don't know how to post the spreadsheet to make it clearer.
I tried subtracting COUNTA result from the COUNTIF like this =COUNTIF(B2:B300,">" & N15)- COUNTA(INDIRECT("E2:E" & COUNTIF(B2:B300,">" & N15) + 1,TRUE)). But the total is 0 because both functions return 28.
I'm sorry, I don't know how to post the spreadsheet to make it clearer.