addition of =ROUNDUP, causes function to become 'text' in formula bar

MikeCS

New Member
Joined
Feb 4, 2015
Messages
1
Hi all.
I have a function below which compares two values to two reference cells and works as expected:
=IF(
OR(
AND(
AL33 >= $AW$15,
AM33 < $ AW$15),
AND(
AL33 >= $AW$17,
AM33 < $AW$17)
),"Y","")

However, when I add =ROUNDUP in the formula it isn't recognized as a formula, and instead becomes orange text with no error message.
=IF(
OR(
AND(
=ROUNDUP(AL33,0) >= $AW$15,
=ROUNDUP(AM33,0) < $AW$15),
AND(
=ROUNDUP(AL33,0) >= $AW$17,
=ROUNDUP(AM33,0) < $AW$17)
),"Y","")

Any help would be appreciated,

Thanking you in advance.

--Mike
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,

You don't need the equal sign = in front of ROUNDUP:


Book1
BCD
1  
Sheet1
Cell Formulas
RangeFormula
B1=IF(OR(AND(AL33>=$AW$15,AM33<$AW$15),AND(AL33>=$AW$17,AM33<$AW$17)),"Y","")
D1=IF(OR(AND(ROUNDUP(AL33,0)>=$AW$15,ROUNDUP(AM33,0)<$AW$15),AND(ROUNDUP(AL33,0)>= $AW$17,ROUNDUP(AM33,0)<$AW$17) ),"Y","")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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