Category: FUNCTION | Updated: 2026-11-22

How to Use the GOOGLETRANSLATE Function: Automatically Translate Text in Google Sheets

Overview of the GOOGLETRANSLATE Function

The GOOGLETRANSLATE function uses Google Translate to automatically translate text in a cell into a specified language. It helps streamline multilingual list creation and the translation of international data.

Syntax

=GOOGLETRANSLATE(text, [source_language], [target_language])
  • text: The text string to translate, or a reference to a cell containing text.
  • source_language (optional): The 2-letter language code of the original text (e.g., "ja" for Japanese, "en" for English). Specify "auto" to detect the language automatically (this is also the default if omitted).
  • target_language (optional): The 2-letter language code of the target language. If omitted, it defaults to your system’s default language (e.g., "en" in an English environment).

Practical Examples with a Table

This example translates Japanese text in column A into English, and uses automatic language detection to translate text into Japanese.

Cell A (Original Text) B (Translate to English) C (Auto-Detect & Translate to Japanese)
1 Japanese Formula & Result Formula & Result
2 こんにちは =GOOGLETRANSLATE(A2, "ja", "en")
→ Hello
=GOOGLETRANSLATE("Thank you", "auto", "ja")
→ ありがとう
3 売上報告書 =GOOGLETRANSLATE(A3, "ja", "en")
→ Sales report
=GOOGLETRANSLATE("Bonjour", "auto", "ja")
→ こんにちは

Common Errors and Precautions

  • Invalid language code (#VALUE! error): Languages must be specified using 2-letter ISO 639-1 codes like "en", not full names like "english".
  • Slowdowns when translating large amounts of data: Running GOOGLETRANSLATE across hundreds or thousands of rows at once can cause cells to get stuck on Loading.... Once translation finishes, consider using “Paste values only” to convert the results to static text and keep your sheet responsive.
  • Translation accuracy limits: Technical terms, abbreviations, and context-dependent phrases tend to be translated literally, so human review is recommended for business documents.

Frequently Asked Questions

Q. Can GOOGLETRANSLATE automatically detect the source language?

A. Yes. By passing "auto" as the source_language argument, it will automatically detect the original language and translate it.

Q. Why does GOOGLETRANSLATE return a '#VALUE!' error?

A. This occurs when the specified language code (such as "ja" or "en") is incorrect or when an unsupported language pair is specified.