SUM IF BLANK for just cells D6,D8,D10,D16,D18,D20,D22

jpkreider

New Member
Joined
Sep 22, 2017
Messages
15
I'm getting an error that says you've entered too many arguments for this function. Please help!!??

Here's what I used: =SUM(IF(ISBLANK(D6,D8,D10,D16,D18,D20,D22)))
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
That type of function will only work on a contiguous range.

It's difficult to tell exactly what you intended with that formula..
Which cells were you testing for Blank, and which were being summed based on those tests ?

What is in the between cells (D7 D9 D11 etc.) ?
 
Upvote 0
Are you just trying to count how many of your listed cells are blank?
 
Upvote 0
Wouldn't that function just be COUNTBLANK? I'm trying to could the blank or empty cells from a selection of cells, not contiguous. The cells in-between are where I enter overtime hours. This formula will count how many people were on staff. If they call in sick or have vacation, I will enter "D" into the cell, so I don't want my formula to count that cell as "blank"
 
Upvote 0
Do you have any kind of 'key' in another column, like C.
So we can say only count blank cells in D, if the cell in C reads "Staff Name" or something?
 
Upvote 0
Yeah, I just want to count the blank or empty cells.

Control+shift+enter, not just enter:

=SUM(IF(CHOOSE({1,2,3,4,5,6,7},D6,D8,D10,D16,D18,D20,D22)=0,1))

Does this help?

By the way, if it does, you'll need to adjust the first argument of CHOOSE, which is set to 7 for you have 7 non-contiguous cells.
 
Upvote 0
Control+shift+enter, not just enter:

=SUM(IF(CHOOSE({1,2,3,4,5,6,7},D6,D8,D10,D16,D18,D20,D22)=0,1))

Does this help?

By the way, if it does, you'll need to adjust the first argument of CHOOSE, which is set to 7 for you have 7 non-contiguous cells.

It's closer. At least the formula works. Unfortunately, the answer it give me is "1" when all 7 cells are empty. I was hoping for an answer of 7 because they are all empty and 6 if there is a "D" in one of the cells. I hope this makes sense and apologize for the confusion.
 
Upvote 0
It's closer. At least the formula works. Unfortunately, the answer it give me is "1" when all 7 cells are empty. I was hoping for an answer of 7 because they are all empty and 6 if there is a "D" in one of the cells. I hope this makes sense and apologize for the confusion.

Did you apply control+shift+enter as asked?
Control+shift+enter means press down the control and the shift keys at the same time while you hit the enter key. If done correctly, Excel itself puts a pair of { of } around the formula in recognition.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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