Beginning PivotTables in Excel 2007 will introduce you to the exciting new pivot table features in Excel 2007. Create quick summaries and pivot charts, add impact with traffic light icons, design calculated fields, group dates and numbers.

Categories

Archives

Convert Measurements in Excel

Last weekend I set up a little spreadsheet in Excel to compare the cost of a trip in a rented RV versus a small car. The only gas consumption numbers I could find for the RV were in miles per gallon. Since we use the metric system here in Canada, I needed to convert everything to kilometres and litres.

Fortunately, Excel has a CONVERT worksheet function that makes the conversion easy. The only tricky part is remembering the codes for each type of unit. Most are intuitive, such as ft for foot and g for gram, but a few aren’t, like lbm for pound mass.

To calculate how many litres are in a gallon, I used the formula:
        =CONVERT(1, “gal”,”l”)

In the formula, gal is the code for gallon, and l (lower case L) is the code for litre. And yes, it’s way more expensive to make the trip in an RV.

2 comments to Convert Measurements in Excel

  1. Alex J
    July 4th, 2008 at 10:58 am

    The conversion function in Google is even better! Try “convert 33 mpg to liters per 100 Km” in the search line!

  2. Debra Dalgleish
    July 4th, 2008 at 8:14 pm

    Nice! Thanks for adding that.
    Debra

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>