DOLLAR function
Converts a number to text in currency format, using your system's currency symbol, e.g. 1234.5 becomes "$1,234.50".
Available in All versions of Excel, including Microsoft 365, Excel for Mac and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
DOLLAR(number, [decimals])| Argument | What it means | |
|---|---|---|
number | Required | The amount to format. |
decimals | Optional | How many digits after the decimal point. Default 2. A negative value rounds to the left of the decimal point (-2 rounds to hundreds). |
Returns: Text that looks like a currency amount.
How DOLLAR works
DOLLAR rounds a number and turns it into text that carries a currency symbol and thousands separators. Despite the name it uses the currency of your Windows or Mac regional settings, so on a PC set to the UK you get £, in the eurozone €. It is useful when you need a formatted amount inside a sentence or label, where normal cell formatting cannot reach.
Negative amounts follow the system's negative currency style; with US settings they appear in parentheses, e.g. ($85.00). Because the result is text, you cannot sum it afterwards - keep the original number for calculations and use DOLLAR only for display. If you need a specific symbol regardless of the computer, use TEXT with a format such as "€#,##0.00" instead.
The examples below assume US regional settings.
Examples
1Amount due in an email-ready sentence
| A | B | C | |
|---|---|---|---|
| 1 | Client | Amount | |
| 2 | Contoso | 1234.567 | Please pay $1,234.57 by Friday. |
Result: Please pay $1,234.57 by Friday.
DOLLAR rounds 1,234.567 to two decimals and adds $ and the comma separator.
2Round to the nearest hundred
| A | B | C | |
|---|---|---|---|
| 1 | Project | Budget | |
| 2 | Website | 18749 | $18,700 |
Result: $18,700
A decimals value of -2 rounds to hundreds, so 18,749 becomes 18,700 and no decimals are shown.
3Negative amount
| A | B | C | |
|---|---|---|---|
| 1 | Item | Refund | |
| 2 | Order 7731 | -85 | ($85.00) |
Result: ($85.00)
With US settings negative currency is shown in parentheses.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The number argument is text that cannot be converted. | Point DOLLAR at a numeric cell or use VALUE first. |
Tips
- The output depends on the computer's regional settings, so a shared workbook may show different symbols for different people. TEXT gives a fixed result.
- Use FIXED when you want the rounding and separators but no currency symbol.
Google Sheets
DOLLAR also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
DOLLAR in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | KČ |
| Danish | KR |
| Dutch | EURO |
| Finnish | VALUUTTA |
| French | DEVISE |
| German | DM |
| Greek | CURRENCY |
| Hungarian | FORINT |
| Italian | VALUTA |
| Norwegian (Bokmål) | VALUTA |
| Polish | KWOTA |
| Portuguese (Brazil) | MOEDA |
| Portuguese (Portugal) | MOEDA |
| Russian | РУБЛЬ |
| Spanish | MONEDA |
| Swedish | VALUTA |
| Turkish | LİRA |