Forum Discussion
LORDPHILLIP
Aug 30, 2023Copper Contributor
ROUNDING FORMULA TO NEAREST INCH IN DECIMAL FORM
Good afternoon y'all, I am in need of assistance with Excel. I don't quite know how to search for solutions to my problem, so I'm hoping that by starting this posting I can get some help from the pr...
- Aug 30, 2023
Try
=CEILING(B12*B3, 1/12)
If you want to round that to 2 decimal places, use
=ROUND(CEILING(B12*B3, 1/12), 2)
LORDPHILLIP
Aug 30, 2023Copper Contributor
There's one more thing I'd like to ask about. You're formula =ROUND(CEILING(B12*B3, 1/12), 2) works perfectly with most of the calculations except for when the answer should be #.66. The program wants to keep saying that it's .67 instead. Is there a way to correct it and make it say .66 instead?
HansVogelaar
Aug 30, 2023MVP
8 inches = 2/3 feet = 0.66666666... feet.
Rounded to 2 decimal places. this becomes 0.67, not 0.66
But if you really want 0.66. you could use
=ROUNDDOWN(CEILING(B12*B3, 1/12), 2)
- LORDPHILLIPAug 30, 2023Copper ContributorI just tried that and it seems to throw off more of the numbers. I think I can just deal with the 2 outliers .17 and .67. I will just inform my team that they should expect that to happen and to adjust them to .16 and .66 respectively.
Thanks again for your help. You've helped me add some icing to this project.