Home

Excel Countifs

Highlighted
Occasional Visitor

In excel I would like to count the number of measurements in column G if the condition in column C is fulfilled. Problem is that in column C I have three different conditions which should be considered; such as. count G1:G600 if C1:C600=cond1 or cond2 or cond3

I hope I was clear enough. Thanks for your help.

1 Reply

@Dina63 , depends on which conditions. If they are constants that could be

=SUM(COUNTIF(G1:G600,{cond1, cond2, cond3}))

or, and if not

=COUNTIF(G1:G600,cond1)+COUNTIF(G1:G600,cond2)+...

 

 

Related Conversations
town-level heat map in excel?
mcmct in Excel on
0 Replies
Multiple crashes of Excel
SCSVCS in Excel on
0 Replies
Search for multiple values
JKLOSS48 in Excel on
2 Replies
Expansion and interpolation of dated dated
Happy-Hoppy in Excel on
1 Replies
average formula
teacher_rich in Excel on
4 Replies
Excel 365 - Extracting non-empty values from a row of values?
AC626 in Excel on
4 Replies