# Excel DOLLAR Function

Summary

The Excel DOLLAR function converts a number to text using the Currency number format. The TEXT function can do the same thing, and is much more versatile.

Purpose

Convert a number to text in currency format

Return value

A number as text in currency format.

Syntax

=DOLLAR (number, decimals)

Arguments

**number**- The number to convert.**decimals**- The number of digits to the right of the decimal point. Default is 2.

Usage notes

- The DOLLAR function converts a number to text using currency number format: $#,##0.00_);($#,##0.00).
- The default for
**decimals**is 2. If**decimals**is negative, number will be rounded to the left of the decimal point. - The name of the function and the currency symbol used is based on language settings of the computer.
- The TEXT function is a more flexible way to achieve the same result.

Good links

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.