### Excel CONVERT Function

This Excel Tutorial demonstrates how to use the Excel CONVERT Function in Excel to convert a number from one unit to another, with formula examples.

## CONVERT Function Description:

The CONVERT Function Converts a number from one measurement unit to another.

## Formula Examples: Example Formula Result
Ounces to Grams =CONVERT(C5,D5,E5) 28.349523125
Grams to Ounces =CONVERT(C6,D6,E6) 1.0000168212706

## Syntax and Arguments:

The Syntax for the CONVERT Formula is:

### Function Arguments ( Inputs ):

number – Number of units.

from_unit – The original measurement units.

to_unit – The converted measurement units.

Simply enter the number of units, the previous units of measurement, and the desired units of measurement.

## CONVERT Examples in VBA

You can also use the CONVERT function in VBA. Type:
`application.worksheetfunction.convert(number,from_unit,to_unit)`
For the function arguments (number, etc.), you can either enter them directly into the function, or define variables to use instead.

## How to use the CONVERT Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
`=AND(`
After entering it in the cell, notice how the AND formula inputs appear below the cell: You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=CONVERT(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:  