New: ready-to-use spreadsheet templatesExplore the collection  →
Google Sheets · Verified tutorial

DETECTLANGUAGE function in Google Sheets

In B2, enter exactly =DETECTLANGUAGE(A2) to identify the language used in A2.

Verified by JosephineAbout 60 seconds
Quick answer

In B2, enter exactly =DETECTLANGUAGE(A2) to identify the language used in A2.

Step-by-step

1

Open the practice sheetUse the example data shown below so the result is easy to check.

2

DETECTLANGUAGE functionIn B2, enter exactly =DETECTLANGUAGE(A2) to identify the language used in A2.

3

Check the resultCompare the finished sheet with the expected result and correct the target range if needed.

Shortcut or faster method

Select the target cell, type or paste the formula in the formula bar, then press Enter.

Expected result

B2 contains the DETECTLANGUAGE formula and displays fr.

Common mistake

Applying the change to more rows, columns, or cells than the task specifies.

Troubleshooting

Re-select B2 and repeat the final action. B2 contains the DETECTLANGUAGE formula and displays fr.

Example spreadsheet data

This is the clean fixture used for the verified run.

TextLanguage code
Bonjour tout le monde

Video transcript

  1. Open the prepared Practice spreadsheet.
  2. Open the practice sheet. Use the example data shown below so the result is easy to check.
  3. DETECTLANGUAGE function. In B2, enter exactly =DETECTLANGUAGE(A2) to identify the language used in A2.
  4. Check the result. Compare the finished sheet with the expected result and correct the target range if needed.
  5. B2 contains the DETECTLANGUAGE formula and displays fr.