IF and ROUNDUP Formula Flase Statement Help

CherryxDarling

New Member
Joined
Mar 30, 2011
Messages
39
Just one more question about this formula: :)

=IF(E7>=65,ROUNDUP((E7/2)/65,0),"1")

Note: I'm using this formula in G7

Ok so when I use the above formula, I will always get a 1 in G7 even if there is no value in E7. How do I change it so that it will only display the 1 for the false statement when I input a value into E7? In other words, if there is no value in E7 I want G7 to also be blank. (I really hope that makes sense to someone.)
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
First you don't want to put quotes around your 1 that makes it text.
Second that can be simplified:

=IF(E7="","",IF(E7>65,ROUNDUP(E7/130,0),1))
 

CherryxDarling

New Member
Joined
Mar 30, 2011
Messages
39
First you don't want to put quotes around your 1 that makes it text.
Second that can be simplified:

=IF(E7="","",IF(E7>65,ROUNDUP(E7/130,0),1))
That works as well. I know it seems excessive to divide the # by 2 then divide by 65, but I'm working with building codes and they have a certain way they require the math to be done so I have to do it that way. Thanks for your help as well, this works perfect too.
 

Willmonbo

Board Regular
Joined
May 16, 2010
Messages
141
Yeah, I was assuming there was a reason for it, that's why I worked with the existing formula.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,335
Messages
5,595,573
Members
413,996
Latest member
mabelO

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
Top