I have a spreadsheet…and I want to count the values in column C, (let’s say C2:C9999), based on 2 conditions: the value in column C is > 0 and the corresponding value in column K2:K9999 = YES.
Similarly, what if I want to sum the values in column C, instead of just counting them?
I suspect COUNTIF and SUMIF are involved, but I can’t figure out how to do the 2-part logical condition.
In Excel 2007, it’s easy: =COUNTIFS(C2:C9999,">0",K2:K9999,"=YES").
In Excel 2003, the easiest way is to just create a third column (which you can hide) that captures the joint condition and then just do the count off of that column.