Skip to main content
← All functions

DOLLAR function

Converts a number to text using currency format

Syntax

DOLLAR(number, [decimals])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
numberYesA number, a reference to a cell containing a number, or a formula that evaluates to a number.1234.567
decimalsNoThe number of digits to the right of the decimal point. If this is negative, the number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2.2

Try DOLLAR

Format an amount as currency text

=DOLLAR(A2,2)

In this English-US browser example, the result is $1,234.57 as text. Keep A2 numeric for arithmetic. Native Excel currency symbols and separators depend on regional settings.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

DOLLAR · top-level call

=DOLLAR(A2,2)

1 / 2 · number

A number, a reference to a cell containing a number, or a formula that evaluates to a number.

DOLLAR reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.