
The Excel DOLLAR function converts a number into currency-formatted text. For example, =DOLLAR(1234.567,2) returns a formatted result such as "$1,234.57".
DOLLAR is useful when a formula needs to produce a finished text result that looks like money. It is often used in labels, summaries, and sentence-style outputs. The result is text, not a number.
Returns a text result that looks like a currency value.
Returns text, so the result is for display rather than calculation.
=DOLLAR(number, [decimals])
number is the value to format. decimals is optional and controls how many decimal places appear. If omitted, Excel uses 2 decimal places.
DOLLAR is one of several functions that can produce formatted text. It is convenient when you want a currency-style result without writing a custom format code yourself.
| Function | Returns | Use When |
|---|---|---|
DOLLAR |
Currency-formatted text | You want a currency-style text result |
TEXT |
Formatted text | You need a custom format pattern |
FIXED |
Formatted text | You need numeric text without a currency symbol |
| Cell formatting | Still a number | You want the cell to look like currency but stay numeric |
DOLLAR is often used in formulas that produce readable summary text. It lets a sentence include a value that already looks like money, with the symbol and separators in place.
It is important to remember that DOLLAR returns text. If a worksheet still needs the value for math, keep the original number in a separate cell or use the numeric source directly in the calculation.
This is the direct use of DOLLAR. Excel rounds the value and returns a currency-style text string.
=DOLLAR(1234.567, 2)
// "$1,234.57"
=DOLLAR(1234.567, 0)
// "$1,235"
In cell F1, use DOLLAR to format A1 (1234.567) as a currency string with 2 decimal places.
If cents are not needed, setting the decimals argument to 0 gives a cleaner summary value.
=DOLLAR(B2, 0)
// 5000.75 -> "$5,001"
In cell F2, use DOLLAR on B2 (5000.75) and round to 0 decimal places.
Negative values are also returned as text. The exact display style can depend on Excel settings, but the result still behaves as formatted text rather than a number.
=DOLLAR(A3, 2)
In cell F3, use DOLLAR on A3 (-45.5) with 2 decimal places.
This is one of the most common DOLLAR patterns. The formula builds a full sentence while keeping the amount formatted like currency.
="The total is "&DOLLAR(C1, 2)
// If C1 = 100, the result is "The total is $100.00"
In cell F4, combine the text "The total is " with DOLLAR formatting of C1 (100). Formula: ="The total is "&DOLLAR(C1,2).
If the formatted result needs to be added, averaged, or compared numerically later, DOLLAR is not the right final step. Keep the source number for the calculation and use DOLLAR only where the formatted text is needed.
DOLLAR formats a number as currency text.=DOLLAR(number, [decimals]).Tell your friends about this post