Countifs only if all other columns are blank

cadustin

New Member
Joined
Mar 10, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi, I am trying to get an accurate count if only if one column has a number in it. I want to know how many employees are participating in our 401k program, but they could be participating in several plans, so right now my count is off because it may be counting someone twice. Here is an example of my spreadsheet. My base is the age group. In the second line, someone is in both the 401k% and 401kCU%, so it would count as 2 people, but this is the same person. I tried creating a formula, but I cannot get it to work. My count for Over 50 is showing 4, but it should only be 3.

Age Group401k$401k%401kCU$401kCU%Roth$Roth%RothCU$RothCU%
31-40
Over 50
19​
19​
41-5025.005.00
31-40
6​
41-50
6​
6​
31-40
6​
41-50
6​
31-40
Over 50
3​
Over 50
6​
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about
Fluff.xlsm
ABCDEFGHIJK
1Age Group401k$401k%401kCU$401kCU%Roth$Roth%RothCU$RothCU%
231-407
3Over 501919
441-50255
531-406
641-5066
731-406
841-506
931-40
10Over 503
11Over 506
Data
Cell Formulas
RangeFormula
K2K2=SUM(SIGN(MMULT(--(B2:E11<>""),SEQUENCE(COLUMNS(B1:E1),,,0))))
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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