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.)
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,670
Messages
5,838,689
Members
430,564
Latest member
Raeyven

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