Rounding to a specific decimal intervals

immikefazz

New Member
Joined
Jan 22, 2004
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Not a newbie to Excel, but I do run into my share of questions. Here's one:

I have a column of values (inches) that I would like to round to the nearest 0.25 (inches). I have yet to find a way to do this. Ceiling or Floor will take me either up or down, but no ONE function will round both UP and DOWN to the nearest 0.25.

Any idea?

Here's a visual example of what I'm looking to do...

imageone0qd.jpg


In the DEPTH column, I want to round each number either up or down to the nearest quarter-inch (0.25). For instance, the value 0.68 will round up to 0.75, the value 1.02 will round down to 1.00, 1.36 goes to 1.25, and so on.

Thanks in advance for any help.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Here is one solution assuming your number to round is in C3. You could also make the .25 a variable in some cell and change it if needed.

=ROUND(C3/0.25,0)*0.25
 
Upvote 0
If you load the Analysis Toolpak:

=MROUND(C3,0.25)
 
Upvote 0
Solution

Forum statistics

Threads
1,213,489
Messages
6,113,947
Members
448,534
Latest member
benefuexx

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