Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Metric to Inch with Excel

Status
Not open for further replies.

CNCJIM

Mechanical
Joined
Aug 25, 2008
Messages
1
Location
US
In a excel file I need to convert a metric number in a cell then put the result back into the cell the metric number originally was.
Then do it again with a different cell, different value.
 
Try multiplying or dividing by a conversion factor.

-handleman, CSWP (The new, easy test)
 
If it helps, the analysis tookpak has a convert function
=+CONVERT(1,"in","m")
returns 0.0254

Let's say you had 3 columns
A-OldUnit B-OldValue C-NewUnit D-NewValue

You could calculate column D using formula like
D2 =+CONVERT(B2,A2,C2)

To put the results into the same location will require some sort of macro.


=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
Do the cells that you need to convert contain values or formulas?

If they contain values, then you could use paste special to multiply by the appropriate factor.

If they contain formulas, simply modify the formula.
 
How about the "Copy" and "Paste Special" using the conversion as the value you copy and applying an "Operation" (Add, Subtract, Multiply or Divide) to the cell(s) you want to convert with "Paste Special"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top