Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the DOLLAR function. |
| [decimals] | (Optional.) Parameter of the DOLLAR function. |
Examples
Format as currency
=DOLLAR(1234.5, 2)
Whole dollar amount
=DOLLAR(99999, 0)
In a sentence
="Your total is " & DOLLAR(A1, 2)
Common Errors
Occurs when the first argument is non-numeric text or when decimals is not a valid number.
Tips
Like FIXED, DOLLAR returns a text string. You cannot do arithmetic with the result. Use it only for display.
DOLLAR uses your system's locale currency symbol. In some regions it may show £, €, or ¥ instead of $. For explicit control, use ="$" & FIXED(A1, 2).
Negative numbers are shown in parentheses or with a minus sign depending on locale: =DOLLAR(-500, 2) might return "($500.00)".
Try DOLLAR in Viztab
Import your data and use DOLLAR with 370+ other formulas. No signup required.
Open Viztab