Home

Excel Countifs

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
Highlighted

@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
Sum 2 pivot table Fields where one may not exist
shotgun-68 in Excel on
0 Replies
Help with forumla
robwill100 in Excel on
0 Replies
Graphic
Allan1951 in Excel on
0 Replies
Macro works fine on Excel 2016 - causes crash on Excel 365
gpflinn in Excel on
1 Replies
formula FREQUENCY - FRECUENCIA
jeissonmarroquin in Excel on
0 Replies
Changing Data Source Struggles
cjkim92 in Excel on
2 Replies