Translates

How to say it in other languages, and what words mean

Spanish

Excel Translate Cell Formula: How to Translate Text

· 4 min read · Spanish

In this article
  1. What Does "Translate Cell Formula" Actually Mean?
  2. The TRANSLATE Function (Microsoft 365)
  3. How to Use TRANSLATE Inside a Formula
  4. Translating the Formula Itself (Function Names)
  5. Using the Built-in Translate Feature (Review Tab)
  6. Common Problems and Limitations
  7. Alternatives: Google Sheets and Add-ins
  8. Frequently Asked Questions

To translate a cell's formula in Excel, you use the LAMBDA function combined with the TRANSLATE function (available in Microsoft 365) to convert text within a formula, or you use the built-in Translate feature under the Review tab to translate the formula's output text. However, if you mean translating the formula itself (e.g., converting English function names to another language), Excel does not provide a direct function for that—you must manually rewrite function names or use a custom VBA macro.

What Does "Translate Cell Formula" Actually Mean?

When users search for "Excel translate cell formula," they typically mean one of three things:

  • Translating the text result of a formula (e.g., a cell contains "Hello" and you want "Bonjour").
  • Translating the formula's syntax (e.g., changing =SUM(A1:A2) to =SUMME(A1:A2) for German Excel).
  • Translating the formula's output dynamically based on a target language.

This article covers all three, with emphasis on the first and third, which are the most common use cases.

The TRANSLATE Function (Microsoft 365)

If you have Microsoft 365 (as of 2024), Excel includes a TRANSLATE function that translates text from one language to another. Its syntax is:

=TRANSLATE(text, [source_language], [target_language])

For example, to translate "Hello" from English to Spanish:

=TRANSLATE("Hello", "en", "es") returns "Hola".

You can also reference a cell: =TRANSLATE(A1, "en", "fr") translates the content of A1 from English to French.

This function works by sending the text to Microsoft's translation service, so it requires an internet connection. It supports dozens of languages; you can use language codes like "en", "es", "fr", "de", "zh", etc.

How to Use TRANSLATE Inside a Formula

You can nest TRANSLATE within other functions to translate dynamic results. For example:

  • Translate a concatenated string: =TRANSLATE(A1 & " " & B1, "en", "de")
  • Translate a value returned by another formula: =TRANSLATE(VLOOKUP(C1, D:E, 2, FALSE), "en", "it")
  • Use it in conditional logic: =IF(A1="Yes", TRANSLATE("Yes", "en", "ja"), TRANSLATE("No", "en", "ja"))

Note that TRANSLATE only translates text; it does not translate numbers or dates. If the text is a formula error (e.g., #N/A), it will return an error.

Translating the Formula Itself (Function Names)

If you need to convert a formula's function names from one language to another (e.g., from English to German), Excel does not have a built-in translator for that. However, you can:

  1. Manually rewrite the formula using the localized function names. For example, in German, SUM becomes SUMME, AVERAGE becomes MITTELWERT, and IF becomes WENN.
  2. Use a VBA macro that maps function names. This is advanced and requires coding.
  3. Change your Excel display language (File > Options > Language) to see function names in your preferred language, but this does not translate existing formulas.

A common misconception is that changing the display language automatically translates formulas; it does not. Formulas are stored in the language they were created, regardless of display settings.

Using the Built-in Translate Feature (Review Tab)

Excel also has a manual translation tool under Review > Translate. This opens a task pane that translates selected text (cell content) into a chosen language. It is useful for one-off translations but does not integrate into formulas.

To use it:

  1. Select the cell or range containing text.
  2. Go to Review tab.
  3. Click Translate.
  4. In the task pane, choose the source and target languages.
  5. Copy the translated text back into your sheet.

This method is manual and not dynamic—if the original text changes, you must repeat the process.

Common Problems and Limitations

  • Internet required: TRANSLATE and the Review feature need an internet connection.
  • Character limits: TRANSLATE may have a limit on text length (typically 5,000 characters per call).
  • Language detection: If you omit the source language, Excel tries to auto-detect it, which can be inaccurate.
  • Formatting loss: When translating, numbers, dates, and special formatting are not preserved.
  • Formula translation not supported: As mentioned, no built-in way to translate formula syntax.

Alternatives: Google Sheets and Add-ins

If you don't have Microsoft 365, you can use Google Sheets, which has a GOOGLETRANSLATE function with similar syntax: =GOOGLETRANSLATE(A1, "en", "es"). It is free and works in any browser.

For Excel, you can also use third-party add-ins like Translate My Sheet or Excel Translator, but these are not built-in and may have costs or privacy considerations.

Frequently Asked Questions

Can I translate a formula's result automatically when the source text changes?

Yes, if you use the TRANSLATE function, it recalculates whenever the source cell changes. For example, =TRANSLATE(A1, "en", "fr") will update automatically. The Review tab method does not update automatically.

Does TRANSLATE work in Excel 2019 or older?

No, TRANSLATE is only available in Microsoft 365 subscriptions. Older versions do not have this function. You can use the Review tab translate feature (if your version supports it) or switch to Google Sheets.

How do I translate a whole column of formulas?

You can drag the fill handle to copy a TRANSLATE formula down a column, or use the Review tab to translate each cell manually. For formula syntax translation, you would need a VBA macro or manual editing.

What language codes should I use?

Use two-letter ISO codes like "en" for English, "es" for Spanish, "fr" for French, "de" for German, "zh" for Chinese, "ja" for Japanese, etc. For a full list, see Microsoft's documentation.

Is there a way to translate without sending data to Microsoft?

Not with the built-in functions. TRANSLATE sends text to Microsoft's servers. If you need offline or private translation, consider using a local dictionary or a third-party offline translator, but they won't integrate into Excel formulas.