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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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))
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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