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!!
 
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))
Oh man so basic, yet took me a couple hours for such a simple code. Much appreciated. I appreciate your help and everyone else that has chimed in on this thread!

Thanks!!!!!!!!!!!
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,215,972
Messages
6,128,017
Members
449,414
Latest member
sameri

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