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.

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Running Total By Month in Excel

This tutorial demonstrates how to calculate the running total by month in a range...

SORT and SORTBY – Excel Vs Google Sheets

While Excel offers the SORT and SORTBY functions for sorting a table, Google Sheets...

Get Top N Values Using Excel’s FILTER Function

When using the FILTER function in Excel to extract the top N values, it's...

More like this

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

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.