Convert decimal to fraction

pukenzz

New Member
Joined
Jun 29, 2015
Messages
35
I know this question has been asked all over the place but I still am not finding the answer I am hoping for…

I want a cell formatted so that it outputs a fraction to the nearest 1/32 of an in or reduces it to the least common denominator. This should happen in the same cell I key it in. So it would be a number format not a cell formula.

It can round up or down to the nearest 32nd
Fraction As sixteenths (8/16) is not precise enough.
Fraction Up to two digits (21/25) does not provide a fraction that would be found on a tape measure.
Custom # ??/32 does not reduce the fraction

And I want it all to happen right in the cell I’m entering the number. I don’t want to have it converted via a formula and result in a different cell.

Also the number should have an “ mark on it. I don’t care how I have to input the number. I’m thinking it would be nice if 22 5/16” could be entered two or three possible ways… 22.3125 or =22+.3125 or 22+5/16.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I don't think it's a miss at all. Tht's what formulas are for.
 
Upvote 0
I guess I see it as a miss because they provided the similar formatting for 1/2 1/4 1/8 1/16 but went no further.
 
Upvote 0
None of those will reduce if you force the denominator.
 
Upvote 0
The input could be validated to a multiple of 1/32.
Could the input be automatically changed to a multiple of 1/32 after entry?
 
Upvote 0

Forum statistics

Threads
1,214,970
Messages
6,122,514
Members
449,088
Latest member
RandomExceller01

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