Conversion Rounding issue with CM to In to (Ft and Inches).

Dmichigan05

New Member
Joined
Aug 8, 2023
Messages
15
Office Version
  1. 365
I have an attachment for anyone whom can help me. I am looking to make the rounding method in the end of my function round these up instead of saying 1ft 12in. It will only happen right now when I use very specific centimeters meters or millimeters because the formula is recognizing the inches as a decimal of 11.8 and thus rounding to 12. Problem is the formula doesn't recognize when it's 12 inches that it needs to then say 2FT 0In. instead.
CMWeight KgsINCHESFEET & INWeight LBS
LengthWidthHeightLengthWidthHeightLengthWidthHeight
3000012000' 11.8"0' 0"0' 0"0
6000024001' 11.6"0' 0"0' 0"0
9100036002' 11.8"0' 0"0' 0"0
12100048003' 11.6"0' 0"0' 0"0
15200060004' 11.8"0' 0"0' 0"0
18200072005' 11.7"0' 0"0' 0"0
21300084006' 11.9"0' 0"0' 0"0

=INT(I4/12)&"' "&ROUND(MOD(I4,12),1)&"""" = the current formula in the feet and inches area.
 
Can you please answer my question in post#8?
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
But what is the formula you are using to convert from Cm to In?
 
Upvote 0
Also @Fluff Can you please remove the little example now that you can see what I showed you so it's not up forever. I just wanted it to show you what I was working on since the extracting method isn't working to upload it. Thanks
 
Upvote 0
Please just answer my question.
 
Upvote 0
Does this formula give you the results you want (for all your values, not just the 60 cm one)...

=SUBSTITUTE(TEXT(A1/30.58,"0' 0/12\"""),"/12","")

Note: Change the A1 to the cell with your cm value in it.
 
Upvote 0
Does this formula give you the results you want (for all your values, not just the 60 cm one)...

=SUBSTITUTE(TEXT(A1/30.58,"0' 0/12\"""),"/12","")

Note: Change the A1 to the cell with your cm value in it.
Hello Rick,
Yes the formula I have works for all of them for centimeters except when the decimal place makes it round to example being 1ft 12in. like the 60cm one. If i change the centimeter up or down it isn't an issue because the decimal place moves. I will work on these solutions you have all given and see if that fixes it for me. Thank you.
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,138
Members
449,098
Latest member
Doanvanhieu

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