LiveFlow raises $13.5 million Series A led by New York-based Valar Ventures and launches LiveFlow Next to revolutionize accounting!
Read More
Arrow
Back to guides
Excel Formulas

DOLLAR Function in Excel: Explained

In this article, you will learn about the DOLLAR formula and its uses in Excel.

What is the DOLLAR formula in Excel?

The DOLLAR function, belonging to the TEXT function family, transforms a number into text representation using currency format, with the option to round the decimal places as desired. DOLLAR employs the $#,##0.00_);($#,##0.00) number format, but the currency symbol applied will depend on the local language settings configured in your Excel.

Syntax of the DOLLAR function in Excel

The syntax of the Excel DOLLAR function is as follows:

=DOLLAR(number, decimals)

number: (required) The input for the parameter can be either a numerical value, a reference to a cell that holds a number, or a formula that results in a numerical value.

decimals: (optional) The value specifies the number of decimal places to be displayed. If the value is negative, rounding occurs to the left of the decimal point. If no decimal places are specified, it is assumed to be 2.

How to use the DOLLAR function in Excel?

Understand the DOLLAR function better with the help of an example case. The below dataset contains computer accessories and their selling prices. The objective is to convert the numbers into text formatted as currency.

An image showing a sample dataset of products and their prices for the DOLLAR function in Excel

The syntax of the DOLLAR function is as follows:

=DOLLAR(number, decimals)

number: (required) This argument requires a number, so cell B2 should be referred for Monitor.

decimals: (optional) We will let the function adapt the default setting, which is two decimal places; hence we ignore this argument.

The complete function would look like below:

=DOLLAR(B2)

We insert this function in cell C2 and press enter to generate the function result.

A picture showing the DOLLAR function applied to one of the items in the sample dataset in Excel

As you can see, the returned value is converted to text and formatted in currency format. You can use the Excel function to quickly copy and paste the formula to the remaining cells and view the result. 

A screenshot of the ranges where we copy the DOLLAR function in Excel

An image displaying the results returned by the DOLLAR function in Excel

Note: The appearance of $ or other currency symbols is by default as per the regional format settings on your computer.

Look at another example where you need to convert the number to text and currency format with specified decimals.

A screenshot showing the same sample dataset for other use cases of the DOLLAR function in Excel

Now as you can observe the conditions mentioned in the sample dataset, we shall insert the DOLLAR functions accordingly.

Two decimal places to the right of the decimal point : 

=DOLLAR(B2,2)

Four decimal places to the right of the decimal point : 

=DOLLAR(B3,4)

One decimal place to the right of the decimal point : 

=DOLLAR(B4,1)

One decimal place to the left of the decimal point : 

=DOLLAR(B5,-1)

Three decimal places to the right of the decimal point:

=DOLLAR(B6,3)

Round off:

=DOLLAR(B7,0)

Once you apply the above functions to the dataset, you will obtain the following outcomes.

A picture presenting outcomes from the DOLLAR function in Excel

When should you use the DOLLAR function in Excel? 

The DOLLAR function in Excel serves various purposes when you require number formatting as currency. Here are the key scenarios where the DOLLAR function proves helpful:

  1. Price or cost display: If you manage a product catalog, sales records, or pricing information, the DOLLAR function assists in displaying prices or costs in a currency format that users can easily understand. It ensures consistency and professionalism in presenting the values.
  2. Reporting and presentations: When creating reports, presentations, or dashboards involving monetary values, utilizing the DOLLAR function enhances the visual representation of the data. It signifies to the audience that the numbers represent currency amounts, thereby improving readability and comprehension.
  3. Financial statement formatting: Financial statements such as balance sheets, income statements, or cash flow statements require numbers to be formatted as currency. By utilizing the DOLLAR function, you can ensure that financial statements adhere to the appropriate formatting conventions.

Important note about DOLLAR formula in Excel

It's crucial to be aware that the DOLLAR function in Excel is primarily used for formatting purposes and does not perform currency conversion or handle exchange rates. It simply converts a numerical value to a text string with a currency symbol, thousand separators, and decimal places as specified.

It is recommended to utilize the Format Cells dialog (Ctrl+1) or the Home > Number > Accounting Number Format option when applying currency formatting to a cell. This is because the DOLLAR function returns the number as text. Storing numbers as text may lead to spreadsheet errors, as many functions, such as SUM, AVERAGE, MIN, MAX, etc., disregard text values. Use the DOLLAR function to convert numbers into text strings with currency symbols.

When using the DOLLAR function, it's important to ensure that the underlying data is in the correct numerical format. If you attempt to apply the DOLLAR function to a non-numeric value, it will result in a #VALUE! error. Therefore, make sure that the data you're formatting with the DOLLAR function is numeric

Learn how to do this step-by-step in the video below 👇

Automate financial reporting with LiveFlow

Cta Photo

Want to eliminate manual updates of your Excel & Google Sheets models?

Yes, show me how!

Get personal help

We guarantee you personal help on chat or Zoom within maximum 6 hours between 9am and 10pm EST.
Blue Tick
Email us at: help@liveflow.io

Liked this article? Then you'll love the ones below

Supercharge your financial reporting today

See LiveFlow in action and discover how to streamline your workflows.