How to Use the DOLLAR Function in Excel

Below is a detailed guide on how the DOLLAR function works in Microsoft Excel and Google Sheets:

Overview

The DOLLAR function is designed to convert a numerical value into a text format, applying a currency symbol, including commas for thousands, and allowing for a specified number of decimal places.

Syntax

The syntax for the DOLLAR function is consistent across both Excel and Google Sheets:

DOLLAR(number, decimals)
  • number: The numeric value you wish to format as text.
  • decimals: [Optional] The desired number of decimal places. If not specified, it defaults to 2.

Examples

Here are some examples to illustrate the use of the DOLLAR function:

Number Formula Result
123456.789 =DOLLAR(123456.789) $123,456.79
98765.4321 =DOLLAR(98765.4321, 3) $98,765.432

Use Cases

The DOLLAR function is incredibly useful for presenting numbers as currency in documents where clarity and professional formatting are required. Common applications include:

  • Financial statements
  • Sales reports
  • Invoice templates

This function allows you to easily transform numerical data into formatted currency values, enhancing readability and professionalism in financial documents.

It is important to note that the DOLLAR function simply modifies how a number appears—it does not alter the underlying numerical value itself.

More information: https://support.microsoft.com/en-us/office/dollar-function-a6cd05d9-9740-4ad3-a469-8109d18ff611

Other functions
Returns an array of text values from any specified range
Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters
Converts a number to text, using the ß (baht) currency format
Returns the character specified by the code number
Removes all nonprintable characters from text
Returns a numeric code for the first character in a text string
Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments
Joins several text items into one text item
Changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters
Checks to see if two text values are identical
Finds one text value within another (case-sensitive)
Formats a number as text with a fixed number of decimals
Changes half-width (single-byte) characters within a string to full-width (double-byte) characters
Returns the leftmost characters from a text value
Returns the number of characters in a text string
Converts text to lowercase
Returns a specific number of characters from a text string starting at the position you specify
Converts text to number in a locale-independent manner
Extracts the phonetic (furigana) characters from a text string
Capitalizes the first letter in each word of a text value
Replaces characters within text
Repeats text a given number of times
Returns the rightmost characters from a text value
Finds one text value within another (not case-sensitive)
Substitutes new text for old text in a text string
Converts its arguments to text
Formats a number and converts it to text
Combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined If the delimiter is an empty text string, this function will effectively concatenate the ranges
Removes spaces from text
Returns the Unicode character that is references by the given numeric value
Returns the number (code point) that corresponds to the first character of the text
Converts text to uppercase
Converts a text argument to a number
Returns text from any specified value