Statistical - DOLLAR Function



Description

The DOLLAR function converts a number to text format and applies a currency symbol. The name of the Function and the symbol that it applies depend upon your language settings.

Syntax

DOLLAR (number, [decimals])

Arguments

Argument Description Required/ Optional
Number A number, a reference to a cell containing a number, or a formula that evaluates to a number. Required
Decimals

The number of digits to the right of the decimal point.

If decimals is negative, number is rounded to the left of the decimal point.

If you omit decimals, it is assumed to be 2.

OPtional

Notes

  • The difference between formatting a cell with a ribbon command and using the DOLLAR Function is that DOLLAR converts its result to text.

  • A number formatted with the Format Cells dialog box is still a number.

  • You can continue to use the results generated by DOLLAR in other formulas, because Excel converts numbers entered as text to numbers while calculating.

  • If either of the arguments is non-numeric, DOLLAR returns #VALUE! Error value.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

DOLLAR Function
advanced_excel_statistical_functions.htm
Advertisements