TO_DOLLARS in Google Sheets: Numeric Currency Formatting
Apply currency formatting with Google Sheets TO_DOLLARS while preserving numeric values, checking text inputs and avoiding accidental exchange-rate assumptions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: TO_DOLLARS(value) applies currency formatting to a number while retaining its numeric value. It is equivalent to the Currency number-format action. Unlike DOLLAR, it does not turn a numeric amount into a text string.
Availability and version history
- Introduced: first introduction date is not established by the reviewed official history; no desktop release number is inferred.
- Availability: documented in the rolling Google Sheets service; these examples use the web worksheet workflow.
- Checked: October 14, 2026; official TO_DOLLARS reference. Documentation and independent models, with no native Sheets execution or wider client certification.
Syntax and pass-through behavior
=TO_DOLLARS(value)
Google says nonnumeric inputs are returned unchanged. Dates and percentages can also be formatted because they are backed by numbers, although interpreting them as money is usually not meaningful.
The currency display follows the spreadsheet’s formatting context. The examples use a U.S.-locale currency display model. Check the file’s locale settings before interpreting the symbol; this function does not convert one currency into another or obtain an exchange rate.
Example 1: format amounts without losing precision
Enter the following numeric amounts in A2:A5. In B2 enter =TO_DOLLARS(A2) and fill down:
| Numeric input | Example two-decimal currency display | Numeric value retained |
|---|---|---|
| 1520.456 | $1,520.46 | 1520.456 |
| 18.2 | $18.20 | 18.2 |
| 0.034 | $0.03 | 0.034 |
| 500 | $500.00 | 500 |
The displayed rounding does not replace the stored magnitudes with 1520.46 or 0.03. For example, =TO_PURE_NUMBER(B2) returns 1520.456 under the documented conversion rule.
Use an unformatted output cell when inspecting the pure number so a preexisting currency style does not hide the retained decimals.
Example 2: total the numeric outputs
=SUM(B2:B5)
The expected underlying total is 2038.69: 1520.456 + 18.2 + 0.034 + 500. The two non-hundredth fractions happen to combine to a whole hundredth in this fixture.
=ISNUMBER(B2) returns TRUE. By contrast, =DOLLAR(A2,2) creates the text $1,520.46 in the stated locale, and an ISNUMBER check on that text is FALSE. Choose the function based on the required type, not just the visible symbol.
Keep the raw A column when the output is part of a report. It documents both the original precision and the source of the formatted value.
Advanced example: display rounding is not a rounding policy
Enter 7.004 in E2:E4, and fill =TO_DOLLARS(E2) through F2:F4. With a two-decimal currency display, each F cell looks like $7.00, but their retained numeric sum is 21.012.
=TO_DOLLARS(SUM(F2:F4)) therefore displays the model amount $21.01. If the intended policy is to round each row numerically first, use =ROUND(E2,2) in a separate helper column. Those three rounded numbers total 21.00.
These two totals answer different questions. Formatting an amount does not decide which rounding order a report should use. Keep the numerical rule explicit rather than inferring it from the screen’s number of decimal places.
Nonnumeric inputs are not automatically parsed
On another sheet, enter text 25 in A2 using a leading apostrophe, and the label pending in A3. =TO_DOLLARS(A2) returns the text 25 unchanged; =TO_DOLLARS(A3) returns pending unchanged.
A formula that returns something without an error has not necessarily produced a numeric amount. Use ISNUMBER when numeric input is required. If parsing imported text is intended, do it as a separate, locale-aware step with VALUE rather than assuming TO_DOLLARS performs it.
The apostrophe used for entry is not part of the stored numeric-looking text. It deliberately prevents automatic interpretation while constructing this control.
Dates and percentages can be misleading
=TO_DOLLARS(25%) retains the number 0.25 and displays a currency-formatted version of that number. It does not turn 25% into 25 monetary units. Similarly, a formatted date is backed by a date serial; adding a currency symbol to it does not give the date an economic meaning.
Use TO_PERCENT for percentage presentation, TO_PURE_NUMBER to inspect underlying numbers and DOLLAR when a currency text label is specifically needed. Native errors, empty-value distinctions and all formatting overrides remain outside these controlled examples.
References and verification
Examples use fictional data, English function names and comma separators. Expected outputs are independent mathematical calculations or explicitly documented rules, not native Sheets captures. Check the spreadsheet locale when reproducing punctuation-sensitive formulas.