+ Reply to Thread
Results 1 to 3 of 3

Excel Unit Conversion

Hybrid View

  1. #1
    Registered User
    Join Date
    03-02-2009
    Location
    Atlanta, Georgia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Excel Unit Conversion

    Is there an add-in or any way to have excel convert other units to grams without creating an equation for each different unit?

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Unit Conversion

    There is a built in function convert
    CONVERT(number,"unit from", "unit to")
    It supports these mass units
    Weight and mass From_unit or to_unit 
    Gram "g" 
    Slug "sg" 
    Pound mass (avoirdupois) "lbm" 
    U (atomic mass unit) "u" 
    Ounce mass (avoirdupois) "ozm
    You can put the the units and number in separate cells. For example,
    A1=5
    A2 = g
    A3 = lbm
    =CONVERT(A1,A2,A3) 
    returns 0.011......
    Is this what you are looking for?
    A user function could be written with extended capacities I suppose.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Excel Unit Conversion

    Good evening cs4

    My add-in, available via the link below, has a conversion utility that will convert various units (weight, distance, liquid and temperature) and can convert single amounts to whole ranges and can place the conversions as "hard coded" numbers or formulae, up to 6 decimal places. Once installed, to access it go to Ultimate > Range > Conversion Tools.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1