Features of !SEMTools
↑ Navigate Excel tasks and !SEMTools add-in features ↑

TRANSLATE

cldeditorPublished 3 min read

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 categoryText functions
Introduced inMicrosoft 365
ReturnsTranslated text
Related functionsDETECTLANGUAGE

TRANSLATE syntax and language codes

=TRANSLATE(A2,"en","es")
ArgumentWhat to enter
FirstText or a reference to a cell containing text. The example uses A2.
SecondSource language code, such as “en.” Excel attempts to detect the language if you omit this argument.
ThirdTarget 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.

Specify or detect the source language
C2=TRANSLATE(A2,,"es")
ABC
1Source textExplicit sourceAutomatic source
2Your order has shippedSu pedido ha sido enviado=TRANSLATE(A2,"en","es")Su pedido ha sido enviado=TRANSLATE(A2,,"es")
3La livraison est prévue pour demainLa 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.

Read the target language from a cell
C2=IF(A2="","",TRANSLATE(A2,,B2))
ABC
1Source textTarget codeTranslation
2Please confirm the delivery addressesConfirme la dirección de entrega=IF(A2="","",TRANSLATE(A2,,B2))
3fr=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

ProblemWhat to check
#NAME?Check whether TRANSLATE appears in formula autocomplete in your Microsoft 365 version.
Request ThrottledThe 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 languageSplit 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.