Limit the decimal places in this formula

CHSTech

New Member
Joined
Aug 18, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a formula that is converting 22.67LBS to 22LBS 10.6560000000001 oz.
How do I limit the "oz" number to just 10.65oz?

**A13 is = 22.67
Here is the formula:

=INT(A13)&" lbs - "&(A13-INT(A13))*16&"oz"

**A13 is = 22.67
Picture attached. Thanks in advance!
 

Attachments

  • 2023-08-18 16_11_01-Window.png
    2023-08-18 16_11_01-Window.png
    7 KB · Views: 4

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the Board!

Simply round your second part to 2 decimal places, i.e.
Excel Formula:
=INT(A13)&" lbs - "& ROUND((A13-INT(A13))*16,2) &" oz"
 
Upvote 0
Solution
Welcome to the Board!

Simply round your second part to 2 decimal places, i.e.
Excel Formula:
=INT(A13)&" lbs - "& ROUND((A13-INT(A13))*16,2) &" oz"
Thank you! I couldn’t figure it out but that is exactly what I needed. I appreciate it!
 
Upvote 0
You are welcome.

Note: When you mark a post as the solution, please mark the original post that contains the solution, and not your own post acknowledging that some other post is the solution.
I went ahead and fixed that for you.
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,067
Members
449,090
Latest member
fragment

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