Rounding numbers if more than certain value

mrxlsx

Board Regular
Joined
Dec 15, 2012
Messages
95
Hi all, Good afternoon!

I have some scores ranging from 10 to 100 with two decimal values. I want to round them as follows (in another column taking these values, not a formatting solution).

Scores Rounded
15.2515.00
15.4915.00
15.5015.00
15.5116.00
15.6516.00
15.9916.00

<tbody>
</tbody>









In essence, it is if anything is <= .50 then it is the same value with the same decimal figures. Anything > .50 it should be rounded to the next integer. I searched a lot for this kind of customized solution, but in vain. Advance thanks for all who try this.
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
=ROUND(A2-0.01,0) where A2 contains one of the values to 2 decimal places.

Hi all, Good afternoon!

I have some scores ranging from 10 to 100 with two decimal values. I want to round them as follows (in another column taking these values, not a formatting solution).

Scores Rounded
15.2515.00
15.4915.00
15.5015.00
15.5116.00
15.6516.00
15.9916.00

<tbody>
</tbody>









In essence, it is if anything is <= .50 then it is the same value with the same decimal figures. Anything > .50 it should be rounded to the next integer. I searched a lot for this kind of customized solution, but in vain. Advance thanks for all who try this.
 
Upvote 0
Thanks AliGW and Tushar. Tushar's solution is the apt solution for my problem. Thank you both.
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,267
Members
449,149
Latest member
mwdbActuary

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