Text function

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])
ArgumentWhat it means
numberRequiredThe amount to format.
decimalsOptionalHow 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

C2fx="Please pay "&DOLLAR(B2)&" by Friday."
ABC
1ClientAmount
2Contoso1234.567Please 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

C2fx=DOLLAR(B2,-2)
ABC
1ProjectBudget
2Website18749$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

C2fx=DOLLAR(B2)
ABC
1ItemRefund
2Order 7731-85($85.00)

Result: ($85.00)

With US settings negative currency is shown in parentheses.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
CzechKČ
DanishKR
DutchEURO
FinnishVALUUTTA
FrenchDEVISE
GermanDM
GreekCURRENCY
HungarianFORINT
ItalianVALUTA
Norwegian (Bokmål)VALUTA
PolishKWOTA
Portuguese (Brazil)MOEDA
Portuguese (Portugal)MOEDA
RussianРУБЛЬ
SpanishMONEDA
SwedishVALUTA
TurkishLİRA