  Get instant live expert help with Excel or Google Sheets “My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

# Excel DOLLAR Function

While using Excel worksheet, the excel DOLLAR function is used to transform any number to text employing Currency number format. The same result can be also achieved through TEXT function.

## Formula

The formula for excel DOLLAR function is given below:

`=DOLLAR(number, decimals)`

## Explanation

A number represents any number which we want to convert. Whereas, decimals shows the total number of digits present on the right side of the decimal point. Its DEFAULT value is 2.

## Example:

B4:B8 range contains a number we want to convert into currency format using DOLLAR function. Then the formula is inserted in cells C4:C6 to get results (See screenshot). Figure 1 Example of Excel Dollar Function

## Notes

• 2 is the default value for decimals. In cases when number have negative decimal places then rounding will take place on the left side of decimal point.
• The function name and currency symbol employed is conditional to a language used by the computer.

### Did this post not answer your question? Get a solution from connecting with the expert. Another blog reader asked this question today on Excelchat:
Solution examples Good morning, I need a cell formatting solution to display leading zero in my excel table with the following conditions. 1. Cannot format as text 2. cell size is not fixed. Please let me know if there is a solution.Thanks in advance
Solved by V. C. in 11 mins looking for an Iferror formula that will bring back a blank value if a date is not listed. Currently using the following but want to add an Iferror statement: =TEXT(H2,"DDDD"). H2 is the raw date ex. 2/8/18. I tried =IFERROR(TEXT(H2,"DDDD"),"") but it keeps returning "saturday" instead of a blank cell. Any help is appreciated.
Solved by F. Q. in 20 mins How do I make this formula =Value(IFerror(TEXT(AM3,"HMM"),"0")) Return a value of 2400 if the value is not an error?
Solved by F. J. in 21 mins I have an excel spreadsheet with two worksheets. And the following formula is not pulling the data. =VLOOKUP(\$A\$2:\$A\$566,'Module Type Info'!\$A\$2:\$D\$97,4,FALSE) In sheet 1, I am using all data in column 1 for the lookup In sheet 2, I have selected the first 4 columns of data for array I want to pull data from sheet 2, column 4 into sheet 1 Both tabs are sorted alphabetically. Confirmed that the value in column 4 of sheet 2 is a TEXT field. Why is this not pulling the info from sheet 2 into sheet 1
Solved by F. L. in 39 mins I need to add an formula into this one: =IF(\$L\$1="","",VLOOKUP(TEXT(\$L\$1,"000000"),'FRS102 BASE & GBP TB MAY 2018'!\$E:\$X,MATCH(A25,'FRS102 BASE & GBP TB MAY 2018'!\$Q\$3:\$X\$3,0)+3,0))
Solved by K. D. in 11 mins ## Subscribe to Excelchat.co Another blog reader asked this question today on Excelchat: