TRANSLATE converts text to another language in Excel for Microsoft 365. Enter it in the next column and fill down to translate a list. You can specify the source language or let Excel infer it.
| Function category | Text functions |
| Introduced in | Microsoft 365 |
| Returns | Translated text |
| Related functions | DETECTLANGUAGE |
TRANSLATE syntax and language codes
=TRANSLATE(A2,"en","es")| Argument | What to enter |
|---|---|
| First | Text or a reference to a cell containing text. The example uses A2. |
| Second | Source language code, such as “en.” Excel attempts to detect the language if you omit this argument. |
| Third | Target language code, such as “es.” If omitted, Excel uses the system language. Set it explicitly when you share a workbook. |
The formula uses Microsoft’s online translation service and requires an internet connection. It is available in supported versions of Excel for Microsoft 365. Excel 2024, 2021, and 2013 do not include this formula.
Translate one cell with a formula
Specify the source language when you know it, especially for short product names. For a column of full sentences in several languages, skip the second argument and keep both commas.
| A | B | C | |
|---|---|---|---|
| 1 | Source text | Explicit source | Automatic source |
| 2 | Your order has shipped | Su pedido ha sido enviado=TRANSLATE(A2,"en","es") | Su pedido ha sido enviado=TRANSLATE(A2,,"es") |
| 3 | La livraison est prévue pour demain | La entrega está prevista para mañana=TRANSLATE(A3,"fr","es") | La entrega está prevista para mañana=TRANSLATE(A3,,"es") |
Column C skips the source argument. These are sample translations. The service may return different wording.
Translate a column with blank cells
Put the source text in column A and the target code in column B. Enter the formula in C2 and fill down. IF skips blank source cells.
| A | B | C | |
|---|---|---|---|
| 1 | Source text | Target code | Translation |
| 2 | Please confirm the delivery address | es | Confirme la dirección de entrega=IF(A2="","",TRANSLATE(A2,,B2)) |
| 3 | fr | =IF(A3="","",TRANSLATE(A3,,B3)) |
For the same target on all rows, reference one cell such as $E$1 instead of B2.
Use DETECTLANGUAGE to review or filter the source languages first. You can skip the extra formula if all you need is automatic detection during translation.
Fix common TRANSLATE errors
| Problem | What to check |
|---|---|
| #NAME? | Check whether TRANSLATE appears in formula autocomplete in your Microsoft 365 version. |
| Request Throttled | The service’s daily quota is exhausted. Wait for the quota to reset. Paste verified results as values when they no longer need to recalculate. |
| Text too long or unsupported language | Split long text into meaningful chunks. Verify that the input is text and the language codes are supported. |
Translate text without Microsoft 365
For a one-off translation in Excel 2013, use the translator in the Review tab if your installation offers it, or paste the result from a web translator. For a worksheet formula, !SEMTools Pro provides GTranslate and GTranslateRange. They send text to an AI model one cell at a time or in batches.
If you need Google specifically, use the add-in command that accepts a Google Cloud Translation key. See other ways to translate text in Excel to compare the options.