Skip to Content

Excel TRANSLATE Function

June 27, 2024

Overview

Microsoft announced a new Excel TRANSLATE function that allows users to translate text directly within their spreadsheets. This function is similar to the GOOGLETRANSLATE function in Google Sheets and provides a convenient way to work with multilingual data in Excel. In this article, we’ll explore the syntax and usage of the TRANSLATE function in Excel.

It is currently available to Beta Channel users on Windows and Mac. It is unclear if this will offer unlimited free use once it reaches GA.

Functions

TRANSLATE

The TRANSLATE() function translates text from one language to another using Microsoft Translation Services.

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

The function has the following arguments:

  • text: The text to translate, either in quotation marks or as a cell reference.
  • source_language (optional): The language code of the source language (e.g., “en” for English, “es” for Spanish). If not specified, the language is auto-detected. Specifying the language is recommended for shorter texts.
  • target_language (optional): The language code of the target language (e.g., “en” for English, “es” for Spanish). If not specified, the system language is used.

Supported languages and their codes can be found in Supported Languages and Language Codes.

For example, to translate the text “Hello, World!” in cell A1 to Spanish, use:

=TRANSLATE(A1, "en", "es")

Here, the source language is English (“en”) and the target language is Spanish (“es”). The translated text “Hola mundo!” will appear in the cell with the formula.

DETECTLANGUAGE

The DETECTLANGUAGE() function is used to identify the language in a specified text or range.

The syntax for the DETECTLANGUAGE() function is as follows:

=DETECTLANGUAGE(text)

The function has the following arguments:

  • text - The text or reference to cells containing text.

Supported Languages.

For example, if you have the following text in cell A1: “Hola mundo!” and you want to find out what the language of the text is. You can use the DETECTLANGUAGE() function as follows:

=DETECTLANGUAGE(A1)

This will return the detected language for the text in cell A1. The language code “es” for Spanish will be displayed in the cell where you entered the formula.

Alternatives

The TRANSLATE function is similar to the GOOGLETRANSLATE function in Google Sheets and the Translate for Excel function provided by BoardFlare.

The main advantages of Boardflare’s Translate for Excel are as follows:

  • no throttling or quotas on usage.
  • your data stays in Excel and is not shared.
Last updated on