#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula help

I am looking for a way to round up a number if the decimal number is greater
than .25. I looked at the ROUND and CEILING functions but can't seem to put
a IF THEN statement on it.

For example:

2.25 would round down to 2
2.26 would round up to 3
2.31 would round up to 3
2.15 would round down to 2.

Any help would be greatly appreciated.

Aaron


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula help

Try this:

=ROUND(A1+0.249999,0)

and copy down, assuming your data starts in A1.

Hope this helps.

Pete


On Nov 13, 2:53*pm, "Aaron" wrote:
I am looking for a way to round up a number if the decimal number is greater
than .25. I looked at the ROUND and CEILING functions but can't seem to put
a IF THEN statement on it.

For example:

2.25 would round down to 2
2.26 would round up to 3
2.31 would round up to 3
2.15 would round down to 2.

Any help would be greatly appreciated.

Aaron


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula help

Perfect. Works like a charm. Thank you

Aaron


"Pete_UK" wrote in message
...
Try this:

=ROUND(A1+0.249999,0)

and copy down, assuming your data starts in A1.

Hope this helps.

Pete


On Nov 13, 2:53 pm, "Aaron" wrote:
I am looking for a way to round up a number if the decimal number is
greater
than .25. I looked at the ROUND and CEILING functions but can't seem to
put
a IF THEN statement on it.

For example:

2.25 would round down to 2
2.26 would round up to 3
2.31 would round up to 3
2.15 would round down to 2.

Any help would be greatly appreciated.

Aaron



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula help

You're welcome - thanks for feeding back.

Pete

On Nov 13, 4:18*pm, "Aaron" wrote:
Perfect. Works like a charm. Thank you

Aaron

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"