Trying to Round Down or Up depending on values after decimal

mixmstr

New Member
Joined
Apr 11, 2010
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi there, I have a spreadsheet I’m working on for employees worked hours. Depending on values after decimal, I want to either round down or up. Example: If value after decimal is (between .01-.24,round to 0),(between .25-.49,round to .25),(between .50-.74, rounds to .50),(between .75-.90, rounds to .75), and (between .90-.99, rounds up to 1 or next whole number).

So 5.24=5.00

5.40=5.25

5.60=5.50

5.90=5.75

5.91=6.00

Thank you for any help.
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,225,741
Messages
6,186,761
Members
453,370
Latest member
juliewar

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