# COUNTIFS across columns with multiple options for one column

✭✭✭✭✭

I am trying to write a formula to count the number of columns across five nonadjacent columns that contain "Verified". The fifth column may contain "N/A" and also needs to be counted.

In the example, 5 should be the total count for both rows. I've tried adding multiple COUNTIFS, and it doesn't work.

Lori F.

Tags:

• ✭✭✭✭✭✭

Try this. Each one of the COUNTIF formulas should equal 1 or 0.

=COUNTIF(A@row, "Verified") + COUNTIF(B@row, "Verified) + COUNTIF(C@row, "Verified") + COUNTIF(D@row, "Verified) + COUNTIF(E@row, OR(@cell = "Verified", @cell = "N/A"))

Regards,

Jeff Reisman

If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

• ✭✭✭✭✭✭

Try this. Each one of the COUNTIF formulas should equal 1 or 0.

=COUNTIF(A@row, "Verified") + COUNTIF(B@row, "Verified) + COUNTIF(C@row, "Verified") + COUNTIF(D@row, "Verified) + COUNTIF(E@row, OR(@cell = "Verified", @cell = "N/A"))

Regards,

Jeff Reisman

If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

• ✭✭✭✭✭

Thank you, Jeff! The OR part of the formula is what kept tripping me up. This worked. Much appreciated!

Lori