Help with Formula that will return a blank cell if another cell in formula is blank.

Jalayne

New Member
Joined
Sep 24, 2021
Messages
6
Office Version
  1. 365
I'm needing help with adding to the below formula so that if "Estimated Sales" or "PoP Duration" is blank than "Estimated Sales Per Day" comes out blank as well.

Here is what I have (it's pretty basic): =[@[Estimated Sales]]/[@[PoP Duration (Days)]]

I included a pic of my spreadsheet if that helps (Formula is for "Estimated sales per Day" column)

Thanks in Advance!
 

Attachments

  • FormulaHelp.PNG
    FormulaHelp.PNG
    14.9 KB · Views: 4

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
How about
Excel Formula:
=IF(OR([@[Estimated Sales]]="",[@[PoP Duration (Days)]]=""),"",[@[Estimated Sales]]/[@[PoP Duration (Days)]])
 
Upvote 0
Still gives me the "#DIV/0!" Error.
Maybe it has something to do with PoP Duration being "0" and not blank? I just realized that because of the formula i have in "PoP Duration" it will always be at least "0" so maybe the error has something do to with that.
 
Upvote 0
That's because the cells aren't blank. ;)
Try
Excel Formula:
=IFERROR([@[Estimated Sales]]/[@[PoP Duration (Days)]],"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,928
Members
449,195
Latest member
Stevenciu

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