SUMIF only if range is all blanks

buyshirts

Banned user
Joined
Aug 19, 2015
Messages
37
Office Version
  1. 365
Platform
  1. Windows
In column C i have weekly totals in Column E i sum every 4 weeks to give me a monthly totals.
Problem im having is getting Column E to be blank when Column C has 4 blanks.

I'm currently using =SUM(C26:C29) but this is giving me a 0 in Column E which in turns is giving me a false reading on my worst month (because unless i have a value beloew zero its take total's for months that have not happened yet)

I have tried =SUMIF(C26:C29,"<>",C26:C29) but i'm still getting 0 when the cells are blank

ANy help would be much appreicated
 

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.
Hi, SUM() or SUMIF() will always return a number - but you could try something like this to supress the zero's when no cells are populated.

=IF(COUNT(C26:C29),SUM(C26:C29),"")
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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