Skip to content

DOLLAR

Converts a number to text in currency format with a chosen number of decimals, such as "$1,234.57".

Syntax

=DOLLAR(, )

Text

All versions of Excel. The currency symbol follows your Windows or Mac regional settings.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Amount
Text
2
1234.567
$1,234.57
3

B2 =DOLLAR(A2) returns $1,234.57

How DOLLAR works

DOLLAR turns a number into text that looks like currency: rounded, with thousands separators and a currency symbol. =DOLLAR(1234.567) returns $1,234.57. The result is text, not a number, so it is for display inside sentences and labels, not for further calculation.

The two arguments

  • number is the value to format. It is rounded, not truncated.
  • decimals sets how many places to keep. Leave it out for 2. Use 0 for whole currency units: =DOLLAR(1234.567,0) returns $1,235. A negative value rounds to the left: =DOLLAR(1234.567,-2) returns $1,200.

The symbol follows your settings

DOLLAR uses the currency symbol from the computer's regional settings. In US English that is the dollar sign, and negative numbers appear in brackets, so =DOLLAR(-1234.567) returns ($1,234.57). On a computer set to a different region the same formula returns that region's symbol and layout. If a report must always show a specific symbol, build it explicitly with TEXT, for example =TEXT(A2,"$#,##0.00"), or =UNICHAR(8364)&TEXT(A2,"#,##0.00").

Why use it

Use DOLLAR when a number must appear inside text:

  • Sentences: ="Total due: "&DOLLAR(B10,0).
  • Chart titles and labels: a cell that builds the title from live numbers.
  • Email or letter merges: amounts embedded in generated text.

If you only need a number to look like currency in its own cell, don't use a formula. Apply a currency or accounting number format instead. The cell stays a number, so sums, charts and sorting keep working.

Getting the number back

The text can be converted back with VALUE, and =VALUE(DOLLAR(1234.567)) returns 1234.57. This works when the symbol matches your regional settings. Rounding has already happened, so extra decimals are lost.

DOLLAR, TEXT and FIXED

TEXT formats a number to any pattern you write, including currency, and gives you full control of the symbol. FIXED formats a number with a set number of decimals, with or without thousands separators and with no currency symbol. DOLLAR is the shortcut for currency with the system's symbol.

Rounding rules

DOLLAR rounds half away from zero, like ROUND. A value of 2.5 with 0 decimals gives $3, and -2.5 gives ($3).

Arguments

number
The number, a reference to a cell holding a number, or a formula that returns one.
decimalsoptional
How many digits to show after the decimal point. The default is 2. A negative number rounds to the left of the decimal point, so -2 rounds to the nearest hundred.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Default two decimals

B2 =DOLLAR(A2)

Result: $1,234.57

With no decimals argument, DOLLAR rounds to two decimals and adds the symbol and a thousands separator.

B2
A
B
C
1
Amount
Text
2
1234.567
$1,234.57
3

B2 =DOLLAR(A2) returns $1,234.57

Example 2

Whole currency units

B2 =DOLLAR(A2,0)

Result: $1,235

Zero decimals rounds to the nearest whole dollar.

B2
A
B
C
1
Amount
Text
2
1234.567
$1,235
3

B2 =DOLLAR(A2,0) returns $1,235

Example 3

Round to the nearest hundred

B2 =DOLLAR(A2,-2)

Result: $1,200

A negative decimals value rounds to the left of the decimal point.

B2
A
B
C
1
Amount
Text
2
1234.567
$1,200
3

B2 =DOLLAR(A2,-2) returns $1,200

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In B2, show the amount in A2 as currency text with the default decimals. Fill it down to B4.

Answer in B2, then it fills down to B4.

B2
A
B
C
D
E
1
Amount
As text
Summary
2
1234.567
3
98.5
4
15000
5
6
7

Common mistakes

  • The result is text. Sums and comparisons on it won't work, so keep the original number for calculations.
  • The symbol and layout come from your regional settings. Another user's computer may show a different symbol.
  • To format a number in its own cell, use a number format instead of DOLLAR. The cell stays numeric.
  • The number is rounded, so the displayed text can differ slightly from the underlying value.

Questions people ask

What does DOLLAR do in Excel?

It converts a number to text formatted as currency, rounded to the number of decimals you choose.

How do I put a currency amount inside a sentence?

Use `="Total: "&DOLLAR(B2)`. Joining a bare number would show unformatted digits.

Why does DOLLAR show a different symbol on another computer?

It uses the regional currency of the computer. Use TEXT with an explicit format for a fixed symbol.

Is DOLLAR the same as applying Currency format?

Not quite. The Currency format keeps the cell a number. DOLLAR returns text.

Learn DOLLAR in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.