DOLLAR function

DOLLAR formats a number as text with a dollar sign, optional decimals, rounding and thousand separators, ideal for showing list prices in real-estate sheets.

=DOLLAR(number, [decimals])

Generate a DOLLAR formula

Describe what you need. The generator will reach for DOLLAR where DOLLAR is the right tool, and tell you when it is not.

How to get a better answer
  • Name your columns by letter and by header: "column F (Net Value)" beats "the amount column".
  • State every condition, including the negatives — "not cancelled" changes the formula's shape.
  • Say where the data starts if it is not row 1, and whether it will grow.
  • Check the settings above match your spreadsheet: the wrong argument separator is a syntax error on your machine.

Arguments

How DOLLAR reads its arguments
numberrequireddecimalsoptionalDOLLAR
ArgumentRequiredDescription
numberRequiredThe numeric value to format; if the argument is not a number (e.g., text that cannot be coerced), DOLLAR returns #VALUE!.
decimalsOptionalOptional integer that sets how many decimal places to display. Omitted defaults to 2. Positive values show that many cents, zero hides the decimal point, and negative values round to tens, hundreds, etc.

Returns

Text string representing the formatted currency.

Availability

Excel: All · Google Sheets: Supported

Worked examples

1. Show list price with default two-decimal cents

AddressBedsBathsList PriceDays on Market
123 Maple St3225000045
=DOLLAR(D2)

Result: $250,000.00

The formula points at D2, which holds the numeric list price 250000. Because the decimals argument is omitted, DOLLAR uses its default of two decimal places, adds a leading dollar sign and comma separators, and returns the string "$250,000.00". The underlying number remains unchanged for any later calculations.

2. Round price to the nearest thousand for a summary report

AddressBedsBathsList PriceDays on Market
456 Oak Ave43375500.512
=DOLLAR(D3, -3)

Result: $376,000

Here D3 contains 375,500.5. By passing -3 as the decimals argument, DOLLAR rounds the number to the nearest thousand (10^3). The function discards any cents, rounds up to 376,000, adds the dollar sign and comma, and returns "$376,000" without any decimal portion.

3. Display price with no cents for a marketing flyer

AddressBedsBathsList PriceDays on Market
789 Pine Rd2119999960
=DOLLAR(D4, 0)

Result: $199,999

D4 holds the value 199,999. The second argument 0 tells DOLLAR to show zero decimal places. The function therefore drops the decimal point and any fraction, formats the integer with commas, prefixes a dollar sign, and returns the clean string "$199,999" suitable for print.

Common errors

Which DOLLAR error are you seeing?
DOLLAR returned an error#VALUE!
Wrap the argument in VALUE() to convert a numeric-looking string, or replace the text with a proper numeric cell reference.
#NUM!
Choose a decimals value between -10 and 30, or omit the argument to use the default two-decimal format.
#VALUE!
Reference a single cell (e.g., D2) or use an aggregation function like SUM(D2:D4) before passing the result to DOLLAR.
ErrorWhy it happensHow to fix it
#VALUE!The number argument contains non-numeric text such as "ABC" that cannot be coerced to a number.Wrap the argument in VALUE() to convert a numeric-looking string, or replace the text with a proper numeric cell reference.
#NUM!The decimals argument is less than -10 (e.g., -15), which exceeds DOLLAR's allowed range for rounding positions.Choose a decimals value between -10 and 30, or omit the argument to use the default two-decimal format.
#VALUE!A multi-cell range (e.g., D2:D4) is supplied to the number argument without using an array-compatible construct.Reference a single cell (e.g., D2) or use an aggregation function like SUM(D2:D4) before passing the result to DOLLAR.

Tips and when to use something else

  • Use DOLLAR when you need a printable currency string; keep the original numeric column for any further arithmetic.
  • Negative decimals let you round to the left of the decimal point—use -3 for thousands, -6 for millions, etc.
  • Combine DOLLAR with CONCAT or TEXTJOIN to build sentences like "Price: " & DOLLAR(D2).
  • If you need a locale-aware currency symbol or want to keep the value numeric, use TEXT(number, "$#,##0.00") instead of DOLLAR.

Frequently asked questions

How do I show a price without cents using DOLLAR?
Pass 0 as the second argument: =DOLLAR(cell,0). This tells DOLLAR to display zero decimal places, dropping the cents while still adding the dollar sign and thousand separators.
Can DOLLAR format negative prices or losses?
Yes. If the number argument is negative, DOLLAR prefixes a minus sign before the dollar sign (e.g., -$5,000.00). The rounding and decimal rules still apply to the absolute value.
Why does DOLLAR always use a dollar sign even when my spreadsheet locale uses euros?
DOLLAR is hard-coded to the "$" symbol regardless of regional settings. For locale-specific currency symbols, use the TEXT function with a custom number format that includes the appropriate symbol.
What’s the difference between DOLLAR and TEXT for formatting currency?
DOLLAR always returns a string with a dollar sign and respects the decimals argument, while TEXT lets you specify any custom format, including different symbols, grouping, and conditional patterns. Use TEXT when you need flexibility beyond the fixed "$" prefix.

Need a different formula?

The full generator is not scoped to one function — describe any spreadsheet problem and it will pick.

Open the formula generator