round down to 1/16" not up

nickbs

New Member
Joined
Mar 16, 2017
Messages
4
Hello, how do I get this string to round down instead of up.

=INT(MROUND(B31,1/192)) & TEXT(12*MOD(MROUND(B31,1/192),1),"' - 0 #/##") & """"

B31 = 10.81

OUTPUT = 10' - 9 3/4"

But I need the out put to be 10 - 9 11/16"

I realize that rounding up is the function of MROUND,, I tried other functions with no luck. :confused:
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi, welcome to the forum!

You could try the FLOOR() function - for example:

=INT(FLOOR(B31,1/192)) & TEXT(12*MOD(FLOOR(B31,1/192),1),"' - 0 #/##") & """"
 
Upvote 0
I did try floor, but the result is the same for some reason.

With 10.81 in cell B31 I get the result your expecting.. Are you sure the value in B31 is definitely 10.81?


Excel 2013/2016
BC
3110.8110' - 9 11/16"
Sheet1
Cell Formulas
RangeFormula
C31=INT(FLOOR(B31,1/192)) & TEXT(12*MOD(FLOOR(B31,1/192),1),"' - 0 #/##") & """"
 
Upvote 0
Ok, now Im scratching my head over here.

b32 c32 e32 g32
[TABLE="width: 731"]
<tbody>[TR]
[TD="class: xl66, width: 111"]Rafter 2[/TD]
[TD="class: xl69, width: 105"]10.81[/TD]
[TD="class: xl65, width: 163"]10' - 9 3/4"[/TD]
[TD="class: xl65, width: 64"][/TD]
[TD="class: xl68, width: 89"]5.45[/TD]
[TD="class: xl65, width: 86"][/TD]
[TD="class: xl67, width: 113"]9.34[/TD]
[/TR]
</tbody>[/TABLE]

b32
=SQRT(SUMSQ(E32,G32))
c32
=INT(FLOOR(B32,1/192)) & TEXT(12*MOD(FLOOR(B32,1/192),1),"' - 0 #/##") & """"

I might need to round down b32 to 10.81
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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