Function · Convert text and numbers

Excel DOLLAR function

The Excel DOLLAR function formats a number as currency text. 1234.5 with two decimals becomes the text $1,234.50 in a US workbook. SUM ignores that text.

All current Excel versions. Also in Excel for the web and Google Sheets. The currency symbol follows the locale.

Syntax =DOLLAR(number, [decimals])

DOLLAR
=DOLLAR(1234.5,2)

Arguments

NameRequiredWhat to pass
numberRequiredThe number to format.
decimalsOptionalHow many decimal places. The default is 2. Excel rounds first. A negative decimals value rounds to the left of the decimal point.

Examples

Twelve hundred thirty-four dollars and fifty cents, as text

=DOLLAR(1234.5,2)

Result $1,234.50

=DOLLAR(B1,2)B2
Currency
AB
1Number1234.5
2Text$1,234.50
A picture of the sheet, not a live calculator. The cell is text. A currency format on the original number would still be a number SUM can add.

DOLLAR rounds a number and returns it as currency text. 1234.5 with two decimals is $1,234.50 in a US locale. The dollar sign and the thousands comma are characters, not a number format. SUM skips the cell. A format on the original number looks the same and still adds.

The symbol follows the workbook’s locale. This page is written for a US locale. A negative amount is wrapped in parentheses, ($1,234.50), which is the US accounting habit, not a minus sign. FIXED does the rounding-to-text step without the currency symbol. TEXT with a format such as $#,##0.00 is the more flexible version when you need a pattern DOLLAR does not offer.