
TextLevel: IntermediateAvailable in: Excel 365 / 2021+
In this article
- Syntax
- Examples
- Example 1
- Related functions
DETECTLANGUAGE returns the language code of a text — useful for sorting customer feedback before translating it.
Syntax
=DETECTLANGUAGE(text)
| Argument |
What it means |
text |
Any text. |
Examples
Example 1
=DETECTLANGUAGE(C2)
Returns codes like “hi”, “ta” or “en” for each review.
TRANSLATE
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong