The Excel DOLLAR Function

Related Functions:
FIXED Function
TEXT Function

Basic Description

The Excel DOLLAR function rounds a supplied number to a specified number of decimal places and then converts this into text, using a currency format.

The currency format used is the format that is set as the default on your computer.

The format of the Excel DOLLAR function is:

DOLLAR( number, [decimals] )

Where the arguments are as follows:

number-The number to be converted into a text string.

An optional numeric argument which specifies the number of decimal places to be displayed after the decimal point.


  • If [decimals] is omitted, it takes on the default value of 2;
  • If [decimals] is negative, the supplied number is rounded up to the left of the decimal point.

Dollar Function Examples

The spreadsheets below show the Excel Dollar Function used to convert the number 123.591 to a text representation of a currency, rounded to different numbers of decimal places.

1=DOLLAR( 123.591 )
2=DOLLAR( 123.591, 1 )
3=DOLLAR( 123.591, 0 )
4=DOLLAR( 123.591, -1 )
5=DOLLAR( 123.591, -2 )

Note that, in cell A1 of the above spreadsheet, the [decimals] argument is omitted from the Dollar function, so the default value of 2 is used.

Further examples of the Excel Dollar function are provided on the Microsoft Office website.

Dollar Function Error

If you get an error from the Excel Dollar Function, this is likely to be the #VALUE! error:

Common Error
#VALUE!-Occurs either of the supplied arguments are non-numeric.

Dollar Function Common Problem

Some users encounter the following problem when using the Excel Dollar function:

Common Problem:

Once a number has been converted, using the Excel Dollar function, it is stored in Excel as text. Therefore, it cannot be used in numeric calculations.


If you want to be able to use your currency values in calculations, you should not use the Excel Dollar function. Instead, you should simply change the formatting of the original number into a currency format.

To do this:

  • Right click with the mouse, on the cell to be formatted;
  • Select the Format Cells ... option, to display the Format Cells dialog box;
  • Ensure the Number tab of the Format Cells dialog box is selected;
  • Under the Category heading, select the option Currency;
  • From the options that appear on the right, specify the details of the formatting required;
  • Click OK.

For further details of Excel Formatting, see the Excel formatting page.