Countifs function with Array/table and multiple criteria

Amstercam

New Member
Joined
May 1, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
I am trying to count the number of "False" cells in a table, if the rows and columns are both labelled as "Active").
Have tried countifs formula but cant get it to work.
 

Attachments

  • Table.jpg
    Table.jpg
    68.1 KB · Views: 12

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How about:

=LET(a,HSTACK(A2:A8,FILTER(B2:F8,B1:F1="Active")),b,FILTER(a,CHOOSECOLS(a,1)="Active"),SUM(--(b="FALSE")))
 
Upvote 1
Try:
Excel Formula:
=SUM(--IF(A2:A8&B1:F1="ActiveActive",NOT(B2:F8),0))
 
Upvote 1
A shorter version.
Excel Formula:
=SUM(--(A2:A8&B1:F1&B2:F8 = "ActiveActiveFALSE"))
 
Upvote 1
Solution
A shorter version.
Excel Formula:
=SUM(--(A2:A8&B1:F1&B2:F8 = "ActiveActiveFALSE"))
Thank you. FYI in Google Sheets I needed to wrap this in an Arrayformula() function but it works perfectly.
 
Upvote 0
You probably should have mentioned it was for Sheets; this isn’t the area for those questions.
 
Upvote 0

Forum statistics

Threads
1,224,852
Messages
6,181,406
Members
453,036
Latest member
Koyaanisqatsi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top