miaco11

New Member
Joined
Dec 6, 2004
Messages
11
The formula of round currently rounds up if the decimal value is 0.5 and above and rounds down if the decimal value is below 0.5.

Is there a way to change this? I want a round up if the decimal value is 0.8 and above and round down if the decimal value is 0.7 and below.

E.g.
If value is 2.7, value will become 2
If value is 1.8, value will become 2

Thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Thank you so much for the reply Jon.

I actually used this since i expect 4 levels only (probably a longer way of computing it):

=IF(OR(C37="Sr. Supervisor",C37="Supervisor (Supervising)",C37="Supervisor (Non-supervising)"),LOOKUP(H37,{0,0.7,1.7,2.7,3.7},{"0","1","2","3","4"}),ROUND(H37,0))

=IF(OR(C37="Sr. Supervisor",C37="Supervisor (Supervising)",C37="Supervisor (Non-supervising)"),ROUND(H37-.3,0),ROUND(H37,0)) THIS IS PERFECT!!!

Thank you very much!
 
Upvote 0

Forum statistics

Threads
1,215,044
Messages
6,122,827
Members
449,096
Latest member
Erald

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