Numbers Formula to convert decimal values to fractions, then round them to nearest 32nd of an inch

In Numbers, I know I can simply copy and paste a column of decimal values into another column and use Formatting to get them to the nearest 16th, but I need the result to be rounded to the nearest 32nd of an inch, which is not offered in Numbers.


eg: 4.89 = "4~28/32" (and then reduced to "4 ⅞").


So I must use a formula instead. I'm looking for the complete syntax for the formula, since partial answers are plentiful on the internet.


I need to be able to insert the formula in a new column and have it work it’s magic on the decimal entries in a different column. Have searched and searched and not found a single, sensible answer anywhere. Help somebody!!

Posted on Feb 17, 2024 1:49 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 17, 2024 10:26 PM

Hi Michael,

Badunit's approach is superior to my approach.

No need for intermediate steps.



Formula in C2 is MROUND(B2, 1÷32)

Format Column C as Fraction.


Kudos and an Upvote **!


Regards,

Ian.

Similar questions

5 replies

Feb 17, 2024 4:11 PM in response to Michael Goran

Hi Michael,


Fraction Accuracy: Up to 3 digits will do it.



But first we need to separate the integer and decimal parts, then round the decimal to the nearest 1/32 (0.03125)


Formula in C2 is INT(B2)

Formula in D2 is B2−C2

Formula in E2 is MROUND(D2,0.03125)

Formula in F2 is C2+E2


For neatness, combine all the steps into one complex formula. But I am lazy so I'll just hide the intermediate columns:



Regards,

Ian.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Numbers Formula to convert decimal values to fractions, then round them to nearest 32nd of an inch

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.