If Cell is Blank then do no generate a Sumif for the Month

Huizar

Board Regular
Joined
Aug 11, 2016
Messages
94
Hello All,

This is probably an easy ask, but i'm struggle to find my solution. I'm trying to generate a blank cell if another cell has zero data else i want to run the sumifs formula. Hopefully this is easy to understand. Below is the example:

JanFebMar
Actualshas sumif formulahas sumif formulano data yet
Budgetsumif formula for budgetsumif formula for budgetIf no data in cell above, then make 0, but if there is data above, then run sumif formula for budget

Anyone's help is greatly appreciated.

Thanks!!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
What is your current formula?
 
Upvote 0
Excel Formula:
=IF(A1="","",  INSERT YOUR SUMIF EQUATION IF HERE  )
Where A1 is the cell you are checking for blanks.
 
Upvote 0
What is your current formula?
=SUMIFS('Budget 2023'!$J:$J,'Budget 2023'!$I:$I,I3) --->for the budget....so if March data for actuals numbers has no data in the cell, then i want the SUMIFs to just show zero for budget. Other wise if March data for actuals has a number then run the sumifs to generate the number.

Thanks!
 
Upvote 0
Excel Formula:
=IF(A1="","",  INSERT YOUR SUMIF EQUATION IF HERE  )
Where A1 is the cell you are checking for blanks.


=IF(A1="","",SUMIFS('Budget 2023'!$J:$J,'Budget 2023'!$I:$I,I3))....I tried this but it still generated the number for me in the following month with the budget number. Although March actual has no data, it still generated a number. I need it to show either 0 or blank.

Hopefully this is not confusing.

Thanks!
 
Upvote 0
=IF(A1="","",SUMIFS('Budget 2023'!$J:$J,'Budget 2023'!$I:$I,I3))....I tried this but it still generated the number for me in the following month with the budget number. Although March actual has no data, it still generated a number. I need it to show either 0 or blank.

Hopefully this is not confusing.

Thanks!
You would need to change the "A1" cell reference to whatever cell address this cell in your original example is:
1681330751049.png
 
Upvote 0
That tells me then that cell D2 is really not empty.
What is in there? A space? A formula that returns a blank?
If a formula, please post the exact formula in cell D2.
 
Upvote 0
That tells me then that cell D2 is really not empty.
What is in there? A space? A formula that returns a blank?
If a formula, please post the exact formula in cell D2.


=SUMIFS('Actual Report'!$I:$I,'Actual Report'!$L:$L,I3)--->Its reading the actuals for the month. below is what my sheet looks like. Since Actuals for March have not generated it is basically 0.

1681332912855.png
 
Upvote 0
Jut change what the IF statement is checking. Instead of checking for a blank, because you have accounting formatting you should be checking for a 0.
Excel Formula:
IF(D2=0,"",SUMIFS('Budget 2023'!$J:$J,'Budget 2023'!$I:$I,I3))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,723
Messages
6,174,111
Members
452,544
Latest member
aush

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