Excel
DOLLAR function in Excel
Converts a number to text, using the $ (dollar) currency format
=DOLLAR(number, [decimals])DOLLAR syntax and parameters
Two arguments, one required.
- numbernumberRequired
A number, a reference to a cell containing a number, or a formula that evaluates to a number.
- decimalsnumberOptional
The number of digits to the right of the decimal point. If this is negative, the number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2.
DOLLAR examples
Formulas you'll actually reuse.
A number as currency text, two decimals by default:
=DOLLAR(B2)Result
"$1,250.00"Negative decimals round left of the point — here to the nearest thousand:
=DOLLAR(B2, -3)Result
"$1,000"
DOLLAR in Google Sheets
Same name — your formula ports as-is.
Try DOLLAR in the playground
Edit the example — nothing to install.
Preloaded with the DOLLAR formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ARRAYTOTEXTReturns an array of text values from any specified rangeTextNo Google Sheets equivalent
- CHARReturns the character specified by the code numberTextGoogle Sheets
- CLEANRemoves all nonprintable characters from textTextGoogle Sheets
- CODEReturns a numeric code for the first character in a text stringTextGoogle Sheets
- CONCATCombines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments.TextGoogle Sheets
- CONCATENATEJoins several text items into one text itemTextGoogle Sheets