Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Counting the number of times a specific word appears in any of 4 columns with a checked box on the same row.

I want to count the number of successful procedures. The procedures appear in any of columns I-L, and success is indicated by a checked box in column Q.

I can make it work for a single ‘block’ column (e.g. I or K or J) using COUNTIFS, but this does not work if I expend the reference values to include more than 1 column.


Any help or suggestions appreciated

User uploaded file

Posted on Nov 15, 2017 5:17 AM

Reply
Question marked as Best reply

Posted on Nov 15, 2017 6:44 AM

You can try something like this:


User uploaded file


Add an "index" column (which you can later hide) with a formula like this:


=IF(Q2,I2&J2&K2&L2,"")


Then derive the counts with a formula like this:


User uploaded file


=COUNTIF(Table 1::R,"*"&A2&"*")


Those * are wildcard operators that allow COUNTIF to look for strings in the index column that "contain" the value in column A of that row.


SG

3 replies
Question marked as Best reply

Nov 15, 2017 6:44 AM in response to Beastjake

You can try something like this:


User uploaded file


Add an "index" column (which you can later hide) with a formula like this:


=IF(Q2,I2&J2&K2&L2,"")


Then derive the counts with a formula like this:


User uploaded file


=COUNTIF(Table 1::R,"*"&A2&"*")


Those * are wildcard operators that allow COUNTIF to look for strings in the index column that "contain" the value in column A of that row.


SG

Counting the number of times a specific word appears in any of 4 columns with a checked box on the same row.

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