Rounding

traff1982

Board Regular
Joined
May 21, 2007
Messages
62
Hi everyone

I'm trying to round an answer to the nearest 12th but am not really confident as to how to go about it. Any help would be great.

Cheers
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

traff1982

Board Regular
Joined
May 21, 2007
Messages
62
thanks, but that formula would round my answer to the nearest 0 then divide it by 12, as opposed to rounding my answer to the nearest 12th.
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
That formula multiplies your answer by 12 before rounding to zero places. Then it divides that value by 12, resulting in the answer rounded to the nearest 12th.
 

doco

Active Member
Joined
May 4, 2006
Messages
262
Going to have some problems with this because 1/12 = .0833333... but this should get you close
Code:
=ROUND(E12/(1/12),3)*(1/12)
=CEILING(E12,0.083)    '    Round up

Also see http://www.mrexcel.com/archive/Formulas/index.html Then scroll down to 'Rounding' in the index list. There are numerous threads on the subject there.

HTH
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
=ROUND(E12/(1/12),3)*(1/12)

Hello doco,

This formula won't round to the nearest 1/12, it'll round to the nearest 1/12000

Andrew's suggested formula will do the job.....or using MROUND function from Analysis ToolPak addin (unless you have Excel 2007, in which case it's a native function)

=MROUND(A1,1/12)
 

Forum statistics

Threads
1,181,658
Messages
5,931,271
Members
436,786
Latest member
Deniel

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
Top