excel - Weights and Measures + 3 Significant Digits -


I am looking to create a spreadsheet that will act as a tool similar to that of a conversion website.

I is trying to change units of measure (inches, feet, yards distance, millimeters and meters). When I input 36 inches, I need to display the following:

  • 36 in.
  • 3 feet
  • 1 yard < / Li>
  • 914 mm (technically it will be 914.4)
  • 914 meters (technically it will be 0.9144).

I am trying to create a formula that converts numbers, but break it down to show 3 important digits (without spherical).

I have come up with this formula to change feet by inch:

  = ROUNDDOWN ((CONVERT (A7, "in", "foot") ) / 10 ^ (INT (LOV10 (CONVERT (A7, "in", "foot"))) + 1), 3) * 10 ^ (INT (LOG10 (CONVERT (A7, "in", "ft") )) + 1)  

Unless I hit a large number, for example 40 inches will appear as 1010 mm and I need it to be displayed as 1016 mm To do

I have a conversion piece below, so I think what I I am grateful, how can I get it to display 3 important digits, until the number is greater than 100, in that case everything can be left on the right side of the decimal.

I suggest working with full precision in calculation and custom number to adjust the decimal places created for P>

Select the cell and tap Ctrl + 1 , then select Custom from the list on the left and for this Provide formatting mask type:.

The formula in B8 is = CONVERT ($ B $ 2, $ C $ 2, "m") * Power (10,3) (XOR Approved LX) And custom number formatting type: is [& gt; = 100] 0 \ m \ m; 0.000 \ m \ m .

The formula in B9 is = CONVERT ($ B $ 2, $ C $ 2, "m") and custom number formatting type: Is [& gt; = 100] 0 \ m; 0.000 \ m .

Value in C2 comes from data ► Data validation list ► Allow: list ► source: = $ E $ 2: $ E $ 9

I joined B8 & amp; B9 The rest should be very simple. If you need help with formatting masks or other problems, please post a comment for more information.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -