Export (0) Print
Expand All
ABS
AND
ASC
COS
DAY
DDB
EXP
FV
IF
INT
LEN
LN
LOG
MAX
Me
MID
MIN
MOD
NOT
IS
NPV
ODD
OR
PI
PMT
PV
SIN
SLN
SUM
SYD
T
TAN
VAR
Expand Minimize
This topic has not yet been rated - Rate this topic

DOLLAR

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Converts a number to text using currency format, with the decimals rounded to the specified place. The format used is $#,##0.00_);($#,##0.00).

Syntax

DOLLAR ( number ,decimals)

Number is a number, a colimn reference containing a number, or a formula that evaluates to a number.

Decimals is the number of digits to the right of the decimal point. If decimals is negative, number is rounded to the left of the decimal point. If you omit decimals, your system locale setting will be used to determine the number of decimal places.

Remark

The Dollar function uses the currency setting of your computer. If you always want to show U.S. currency, use the USDOLLAR function instead.

Example

Col1

Formula

Description (Result)

1234.567

=DOLLAR([Col1], 2)

Displays the first number in a currency format, 2 digits to the right of the decimal point ($1,234.57)

1234.567

=DOLLAR([Col1], -2)

Displays the first number in a currency format, 2 digits to the left of the decimal point ($1,200)

-1234.567

=DOLLAR([Col1], -2)

Displays the second number in a currency format, 2 digits to the left of the decimal point (($1,200))

-0.123

=DOLLAR([Col1], 4)

Displays the third number in a currency format, 4 digits to the right of the decimal point(($0.1230))

99.888

=DOLLAR([Col1])

Displays the fourth number in a currency format, 2 digit to the left of the decimal point ($99.89)

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.