Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.
Learn more about Allen...
If you are dealing with measurements that must be converted from one measuring system to another, it can be a real bother to look up the formulas and enter them into Excel. For instance, if you had to convert Watts to horsepower, where would you start?
Fortunately, Excel includes a function that will handle many different unit conversions for you. The CONVERT function is part of the Analysis ToolPak, and will handle dozens of conversions. The syntax for the function is as follows:
CONVERT(value, "from", "to")
You simply supply the value you want to convert, along with an abbreviation for the units you are converting from and to. For instance if you wanted to find out the equivalent of 300 BTUs when you convert to calories, you would use the following:
CONVERT(300, "BTU", "c")
The number of different conversions that can be handled by CONVERT is quite impressive, indeed. In fact, the list is so long that it cannot be included here. You can perform conversions in the areas of weight, volume, distance, time, pressure, energy, force, power, magnetism, and a few others. A complete list can be found in the Excel on-line Help system. (Simply search for "CONVERT worksheet function.")
You should note that if the CONVERT function does not work on your system, it means you have not installed or enabled the Analysis ToolPak. To enable it, follow these steps:
Figure 1. The Add-Ins dialog box.
If you did not see an Analysis ToolPak option in step 2, it means that you did not install the option when you first installed Excel. You can rerun the Excel Setup program and choose to install the option. You must then enable the add-in, and you can use the function.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2630) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!