DOLLARFR function
Converts a decimal price into fractional-dollar notation, e.g. 101.375 into 101.12 (meaning 101 12/32).
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterWorks in Google Sheets
Syntax
DOLLARFR(decimal_dollar, fraction)| Argument | What it means | |
|---|---|---|
decimal_dollar | Required | The decimal price. |
fraction | Required | The denominator to express the fractional part in, e.g. 32. Decimals are truncated. |
Returns: A number whose decimal digits are the numerator of the fraction.
How DOLLARFR works
DOLLARFR is the reverse of DOLLARDE. It takes a normal decimal price and rewrites the fractional part as a numerator over the denominator you choose, which is how bond traders quote prices in 32nds or 8ths. 101.375 becomes 101.12 because 0.375 is 12/32.
The result is still just a number, so Excel may hide trailing zeros: 4/32 shows as 101.04, but 10/32 would show as 101.1 unless you format the cell with two decimals. Keep that in mind when presenting quotes.
Examples
1Decimal price to 32nds
| A | B | |
|---|---|---|
| 1 | Decimal price | Quote |
| 2 | 101.375 | 101.12 |
Result: 101.12
0.375 × 32 = 12, so the quote is 101.12, read as 101 and 12/32 (cell formatted with 2 decimals).
2Decimal price to eighths
| A | B | |
|---|---|---|
| 1 | Decimal price | Quote |
| 2 | 45.375 | 45.3 |
Result: 45.3
0.375 × 8 = 3, so the price is 45 3/8, written 45.3.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#DIV/0! | fraction is between 0 and 1. | Use a denominator of 1 or more. |
#NUM! | fraction is negative. | Use a positive denominator. |
Tips
- Use a two-decimal number format for 32nds so that 10/32 shows as .10 rather than .1.
- If the decimal part is not an exact multiple of 1/fraction, the result contains extra decimals.
Google Sheets
DOLLARFR also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
DOLLARFR in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | KR.BRØK |
| Dutch | EURO.BR |
| Finnish | VALUUTTA.MURTO |
| French | PRIX.FRAC |
| German | NOTIERUNGBRU |
| Hungarian | FORINT.TÖRT |
| Italian | VALUTA.FRAZ |
| Norwegian (Bokmål) | DOLLARBR |
| Polish | CENA.UŁAM |
| Portuguese (Brazil) | MOEDAFRA |
| Portuguese (Portugal) | MOEDAFRA |
| Russian | РУБЛЬ.ДРОБЬ |
| Spanish | MONEDA.FRAC |
| Swedish | BRÅK |
| Turkish | LİRAKES |