Function : DETECTLANGUAGE

Syntax:

=DETECTLANGUAGE(text)

Example

=DETECTLANGUAGE(A1)
If cell A1 contains the text "Bonjour", the function will return "fr" for French.

Purpose:

The DETECTLANGUAGE function in Excel is used to identify the language of a given text. Here’s how you can use it:

This function is particularly useful for multilingual datasets where you need to categorize or filter data based on language.

Example 1

Example 2