HomeGoogle DocsSpreadsheetHow to Use the DOLLARDE Function in Google Sheets

How to Use the DOLLARDE Function in Google Sheets

Published on

DOLLARDE is a financial function in Google Sheets. In this post, let’s learn the syntax, arguments, and usage of this function.

We can use the DOLLARDE function to convert a price quotation (used in pricing [US] Treasury bonds quotes) given as a decimal fraction (numerator/denominator) into a decimal value.

To know the calculation, you should understand how to write a decimal fraction with a decimal point and without any denominator. But it’s not a must to learn to understand the function usage.

For example, we can write 2/10 as 0.2 and 2/100 as 0.02. You can find more details within the examples given under table # 1 after a few paragraphs below. Please refer to the formula column inside table # 1.

Let’s learn the syntax, arguments, and its purposes in the function.

Syntax and Arguments of the DOLLARDE Function in Google Sheets

Syntax:

DOLLARDE(fractional_price, unit)

Arguments:

There are two arguments in the DOLLARDE function in Google Sheets. They are fractional_price and unit.

fractional_price – A number (price quotation) given using fractional decimal conventions (an integer part and a fraction part that separated by a decimal symbol).

unit – It’s the integer to use in the denominator (divisor) of the fraction, e.g. 8 for 1/8ths, 16 for 1/16ths, or 32 for 1/32nds.

The DOLLARDE formula will divide the fractional part of the fractional_price by the unit (an integer) specified by the user.

For example, let’s assume 10.2 is the fractional_price and 8 is the unit. The calculation will be 10+2/8 = 10.25.

In the DOLLARDE function, we can specify the same as below.

=dollarde(10.2,8)

Manual Calculation Method

Before learning how to use the DOLLARDE function in Google Sheets, I mean to explore more examples; please find the below table for the manual calculation.

Table # 1

Fractional PriceUnit (Fraction)ResultFormulaDescription
10.2810.25=10+2/8The price has a precision of 1/8 of a dollar.
10.21611.25=10+20/16The price has a precision of 1/16 of a dollar…
1.5164.13=1+50/16and so on…
4.0264.03=4+0.2/6
100.018100.01=100+0.1/8
1.5552.10=1+5.5/5
1.55164.44=1+55/16
100.254100.63=100+2.5/4
1.5242.30=1+5.2/4
1.02161.13=1+2/16

From this example, I hope you can also understand how to write decimal fractions with decimal points without any denominators.

Please refer to the fractional price column and as well as the formula column.

Examples to DOLLARDE Function in Google Sheets

We can use the same fractional prices and units in a Google Spreadsheet and use the DOLLARDE function to convert price quotations given as decimal fractions into decimal values.

DOLLARDE Function in Google Sheets

Errors and Reasons

Before concluding, here are the possible error values that you may encounter while you are using the DOLLARDE function in Google Sheets.

#DIV/0! – This error happens when parameter 2 (unit argument) value is between 0 to 1 (>=0 and <1).

#NUM! – If unit (fraction) is less than zero, the formula will return #NUM!

#VALUE! – This error happens when any of the value is a string. But a number formatted as text won’t cause any issue in the result.

If the unit parameter is not a whole number (integer), it would be truncated.

That’s all. Thanks for the stay, Enjoy!

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Excel: Month Name to Number & Number to Name

This tutorial showcases the most efficient formulas for converting a month name to a...

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

More like this

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.