DOLLAR Function

DOLLAR Function

DOLLAR Function

Converts a number into currency-formatted text.

ExcelClash Team
PUBLISHED

Summary

The Excel DOLLAR function converts a number into currency-formatted text. For example, =DOLLAR(1234.567,2) returns a formatted result such as "$1,234.57".

DOLLAR is useful when a formula needs to produce a finished text result that looks like money. It is often used in labels, summaries, and sentence-style outputs. The result is text, not a number.

Purpose

Format a number as currency text

Returns a text result that looks like a currency value.

Return Value

A formatted text string

Returns text, so the result is for display rather than calculation.

Syntax

=DOLLAR(number, [decimals])

number is the value to format. decimals is optional and controls how many decimal places appear. If omitted, Excel uses 2 decimal places.

Arguments

  • number - [Required] The value you want to format as currency text.
  • decimals - [Optional] The number of decimal places to show. Negative values round to the left of the decimal point.

DOLLAR vs Other Functions

DOLLAR is one of several functions that can produce formatted text. It is convenient when you want a currency-style result without writing a custom format code yourself.

Function Returns Use When
DOLLAR Currency-formatted text You want a currency-style text result
TEXT Formatted text You need a custom format pattern
FIXED Formatted text You need numeric text without a currency symbol
Cell formatting Still a number You want the cell to look like currency but stay numeric

Using DOLLAR

DOLLAR is often used in formulas that produce readable summary text. It lets a sentence include a value that already looks like money, with the symbol and separators in place.

It is important to remember that DOLLAR returns text. If a worksheet still needs the value for math, keep the original number in a separate cell or use the numeric source directly in the calculation.

  • Use DOLLAR when a formula result should display a money value as text.
  • Use the decimals argument to control whether cents appear.
  • Use TEXT instead when you need more control over the exact currency format.

Example 1 - Formatting a Number as Currency Text

This is the direct use of DOLLAR. Excel rounds the value and returns a currency-style text string.

=DOLLAR(1234.567, 2)
// "$1,234.57"

=DOLLAR(1234.567, 0)
// "$1,235"
Check Answer
Challenge #1
Target: Sheet1!F1
Format a Number as Currency

In cell F1, use DOLLAR to format A1 (1234.567) as a currency string with 2 decimal places.

Example 2 - Rounding to Whole Dollars

If cents are not needed, setting the decimals argument to 0 gives a cleaner summary value.

=DOLLAR(B2, 0)
// 5000.75 -> "$5,001"
Check Answer
Challenge #2
Target: Sheet1!F2
Round to Whole Dollars

In cell F2, use DOLLAR on B2 (5000.75) and round to 0 decimal places.

Example 3 - Formatting a Negative Amount

Negative values are also returned as text. The exact display style can depend on Excel settings, but the result still behaves as formatted text rather than a number.

=DOLLAR(A3, 2)
Check Answer
Challenge #3
Target: Sheet1!F3
Format a Negative Amount

In cell F3, use DOLLAR on A3 (-45.5) with 2 decimal places.

Example 4 - Embedding Currency in a Sentence

This is one of the most common DOLLAR patterns. The formula builds a full sentence while keeping the amount formatted like currency.

="The total is "&DOLLAR(C1, 2)
// If C1 = 100, the result is "The total is $100.00"
Check Answer
Challenge #4
Target: Sheet1!F4
Build a Currency Sentence

In cell F4, combine the text "The total is " with DOLLAR formatting of C1 (100). Formula: ="The total is "&DOLLAR(C1,2).

If the formatted result needs to be added, averaged, or compared numerically later, DOLLAR is not the right final step. Keep the source number for the calculation and use DOLLAR only where the formatted text is needed.

Conclusion Recap

  • Summary: DOLLAR formats a number as currency text.
  • Syntax: =DOLLAR(number, [decimals]).
  • Key point: The result is text, not a numeric currency value.
  • Practical usage: Labels, summaries, and sentence-style outputs that include money values.
  • Best pattern: Use DOLLAR at the final display step, not in the middle of a calculation.
Tactical Arena
Select Scenario:
Share DOLLAR Function!

Tell your friends about this post

Discussion

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster.

© 2026 ExcelClash, Inc. All rights reserved.