# How to use the DOLLAR Function in Excel

The DOLLAR function rounds the number to the specified upto decimal places. Excel function DOLLAR rounds to the nearest upto mentioned decimal point. If decimal places is not mentioned, then the function takes 2 as the decimal point value.

The DOLLAR function rounds the given input number upto a number also given as argument.

Syntax:

 =DOLLAR (number, [decimal])

number : number to be rounded off

[decimal] : [optional] number, upto decimal places

Example:

All of these might be confusing to understand. So, let's test this formula via running it on the example shown below. Here we will perform the DOLLAR function over different numbers and significance with the numbers.

Use the formula:

 =DOLLAR(D4)

As you can see in the above snapshot the function returns 48.44 (with currency) which is rounded upto 2 decimals from the number in D4 cell. Now to apply the formula to the remaining cell just copy the formula using Ctrl + D taking the first cell till the last needed cell formula and changing the decimal argument to get the number rounded upto particular (given as argument) decimal places.

-2 decimal argument rounds the number towards integer side (ones, tenth, hundredth) decimal places. As you can see the formula returns number in currency format.

Here are some observational notes using the DOLLAR function shown below.

Notes:

1. The formula only works with numbers.
2. The formula returns the number rounded off to any decimal places in currency format.
3. Negative argument as decimal rounds the number to integer side.
4. Blank cells as argument takes as zero value and returns 0 as result, so make sure to check blank cells before.
5. The function returns #VALUE! Error if the text value or numbers as text value.

Hope this article about How to use the DOLLAR function in Excel is explanatory. Find more articles on mathematical formulas here. If you liked our blogs, share it with your fristarts on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write to us at info@exceltip.com.

Related Articles

How to use the ROUND function in Excel | Rounds off the given number to the nearest num_digit decimal using the ROUND function in Excel

How to use the ROUNDUP function in Excel | Rounds up the given number to the nearest num_digit decimal using the ROUNDUP function in Excel

How to use the ROUNDDOWN function in Excel | Rounds down the given number to the nearest num_digit decimal using the ROUNDDOWN function in Excel

How to use the FLOOR.MATH function in Excel | rounds down the number to the nearest specified multiple using the FLOOR.MATH function in Excel

How to use the MROUND function in Excel | rounds off the number to the nearest specified multiple using the MROUND function in Excel.

Popular Articles:

50 Excel Shortcuts to Increase Your Productivity | Get faster at your task. These 50 shortcuts will make you work ODD faster on Excel.

The VLOOKUP Function in Excel | This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.

COUNTIF in Excel 2016 | Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.

How to Use SUMIF Function in Excel | This is another dashboard essential function. This helps you sum up values on specific conditions.

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.