You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Count based on criteria.

I want to count the number of "Ambetter Health *" if months January-June are "Yes".

MacBook Pro 13″

Posted on Nov 4, 2024 8:32 PM

Reply
1 reply

Nov 4, 2024 10:09 PM in response to Orlyf86

One way is to do something like this:




=COUNTIFS(Table 1::M,A2,Table 1::Q,"Yes",Table 1::R,"Yes",Table 1::S,"Yes",Table 1::T,"yes",Table 1::U,"Yes",Table 1::V,"Yes")


Your table already has an unwieldy number of columns, but another approach would be to add a column with a formula in it to test for 6 'Yes' and in the second table use SUMIFS on that column.


In column X:


=IF(COUNTIF(Q2:W2,"Yes")=6,TRUE,FALSE)


In Table 2:


COUNTIFS(Table 1::M,A2,Table 1::X,TRUE)


More on COUNTIFS here:


COUNTIFS - Apple Support


Replace the , in the formula with ; if your region uses , as the decimal separator.


SG


Count based on criteria.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.