Google Sheets TO_DOLLARS Function: Syntax, Examples & Tips

Converts a number to a value formatted as currency (dollars).
Google Sheets
=TO_DOLLARS(value)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What Is TO_DOLLARS?
  3. Why Use a Function for Formatting?
  4. Basic Examples
  5. How TO_DOLLARS Behaves
  6. TO_DOLLARS vs. DOLLAR vs. TEXT
  7. Common Use Cases
  8. Common Errors
  9. Tips and Best Practices
  10. Related Functions
  11. Example use case

Parameters

ParameterRequiredDescription
valueYesThe number, or reference to a cell containing a number, to format as currency. Non-numeric values are returned unchanged.

What Is TO_DOLLARS?

TO_DOLLARS takes a number and returns it with a dollar currency format applied. The underlying value doesn't change — 1234.5 is still 1234.5 — but the result displays like $1,234.50. It is one of a small set of Google Sheets functions that apply formatting from within a formula, alongside TO_PERCENT, TO_DATE, TO_TEXT and TO_PURE_NUMBER.

Why Use a Function for Formatting?

Normally you'd use Format → Number → Currency. TO_DOLLARS is useful when:

  • The formula's output lands in a cell whose formatting you don't control, such as an array spilled by QUERY or ARRAYFORMULA.
  • You want the currency display to travel with the result regardless of where the formula is copied.
  • You are building a value inside a larger formula and want it treated as currency.

Basic Examples

Format a number as dollars

Google Sheets
=TO_DOLLARS(1500)

Displays $1,500.00.

Format a calculation

Google Sheets
=TO_DOLLARS(B2 * C2)

Displays price × quantity as currency.

Format a whole column

Google Sheets
=ARRAYFORMULA(TO_DOLLARS(B2:B100))

How TO_DOLLARS Behaves

  • It's still a number. You can add, average or chart the result just like the original value. =TO_DOLLARS(10) + 5 returns 15.
  • Non-numbers pass through. If the value is text that isn't a number, TO_DOLLARS returns it unchanged rather than raising an error.
  • The currency is the dollar. TO_DOLLARS applies a dollar format; it does not perform any exchange-rate conversion. For live exchange rates use GOOGLEFINANCE with a currency pair, e.g. =GOOGLEFINANCE("CURRENCY:EURUSD").
  • Rounding is display-only. The value keeps its full precision; only two decimal places are shown. Use ROUND if you need the stored value rounded to cents.

TO_DOLLARS vs. DOLLAR vs. TEXT

FunctionReturnsCan do maths on it?
TO_DOLLARSA number with currency formattingYes
DOLLARText such as "$1,500.00"Not directly
TEXT(value, "$#,##0.00")Text in a custom formatNot directly

Use TO_DOLLARS when the result needs to stay numeric. Use DOLLAR or TEXT when you're joining the amount into a sentence, such as ="Total due: "&DOLLAR(B10).

Common Use Cases

  • Dashboards built from QUERY or FILTER output where cell formatting is lost.
  • Calculated columns in templates that must always display as currency.
  • Summaries returned by array formulas in reports.

Common Errors

  • Expecting currency conversion: TO_DOLLARS does not convert euros or pounds into dollars; it only changes the display.
  • Joining with text shows no format: ="Total: "&TO_DOLLARS(B10) returns "Total: 1500" because concatenation uses the raw number. Use DOLLAR or TEXT for that.
  • Rounding surprises: A sum of displayed values may look off by a cent because hidden decimals are retained. Round at the line level if that matters.

Tips and Best Practices

  • When you control the cell, applying a regular currency format is simpler; reach for TO_DOLLARS when formatting is lost or must be enforced by the formula.
  • Use ROUND(value, 2) inside TO_DOLLARS when stored values need to be cent-accurate.
  • For other currencies, use a custom number format or TEXT with the appropriate symbol.

TO_PERCENT, TO_TEXT, TO_PURE_NUMBER, TO_DATE, DOLLAR, TEXT, and GOOGLEFINANCE.

Example use case

A sales ops analyst builds a summary table with =QUERY(Data!A:D, "select A, sum(D) group by A"). The totals arrive as plain numbers, so she wraps the summed column in TO_DOLLARS via a helper column so the dashboard always shows currency, even when the query results shift.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.