Round up/down at 1.5

Ross191

New Member
Joined
Mar 7, 2017
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm looking to create an excel function which will round down anything based on .5 (i.e. 1.5, 2.5.3.5, etc.) and round everything else up. Can you assist as I can't figure out the related function.

Thank you in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
If I read you right, an if-statement can do it

Code:
=IF(MOD(A2,1)<=0.5,FLOOR(A2,1),CEILING(A2,1))

This will round down when the decimal is .5 or less, otherwise it will round up.
 
Upvote 0
Maybe also.....
Code:
=MROUND(A1-0.001,1)
 
Upvote 0

Forum statistics

Threads
1,215,217
Messages
6,123,670
Members
449,115
Latest member
punka6

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