Split First and Last Name in Excel — With Examples (TEXTSPLIT, LEFT, FIND)
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →You have a column full of English — product names, customer messages, survey answers — and you need it in Hindi. Copying each cell into a translation website and pasting the result back would take forever, and it breaks the moment the list changes. Excel can now do it with a single formula: one formula in the next column, filled down, and the whole list translates itself. This guide gives you that formula first, works it through on a short table with real Hindi, tells you plainly whether your Excel has the function, and shows you the Google Sheets version separately — because the two formulas look alike and are not the same, and pasting the wrong one into the wrong app is the most common mistake in this whole topic.
Quick takeaway: one formula translates the whole column.
=TRANSLATE(A2,"en","hi") — “en” is English, “hi” is Hindi.=GOOGLETRANSLATE(A1,"en","hi") — a different function, only in Sheets.
=TRANSLATE(A2, "en", "hi")
Type it in the cell next to your English text, press Enter, and Excel returns the Hindi translation in Devanagari script. The full syntax is:
=TRANSLATE(text, [source_language], [target_language])
Both languages are optional. If you leave out the source language, Excel tries to detect it automatically. If you leave out the target language, it defaults to your system language. For this job, spell out both codes — “en” and “hi” — so the result is always predictable. The function supports more than 100 languages, each with a short code: “en” for English, “hi” for Hindi, “fr” for French, “es” for Spanish.
Microsoft added two translation functions to Excel: TRANSLATE and DETECTLANGUAGE. Both use Microsoft Translation Services behind the scenes, so they need an internet connection. Without the internet, the formula cannot translate anything.
TRANSLATE is a new function, rolling out in Microsoft 365. It does not exist in Excel 2019 or Excel 2021, and it does not exist in older versions at all. If you type =TRANSLATE( and Excel shows no suggestion, or the formula returns #NAME?, your version does not have it yet.
If your Excel does not have TRANSLATE, use the built-in translator instead: select the cells, go to the Review tab, click Translate, and the Translator pane opens on the side. It translates the selected text, but it is not a formula — the result does not update when the English changes, and you cannot fill it down a column. For a one-off translation it is fine. For a whole column that keeps changing, you need Microsoft 365, or Google Sheets (below).
Put the English text in column A, starting at A2, with the header in A1. Type “Hindi” in B1. In B2, type the formula and press Enter. Then double-click the fill handle (the small square at the bottom-right of B2) to copy it down the column — the same method from the how to copy formula guide.
| English (A) | Formula (B) | Hindi |
|---|---|---|
| Hello | =TRANSLATE(A2,"en","hi") | नमस्ते |
| Thank you | =TRANSLATE(A3,"en","hi") | धन्यवाद |
| Price | =TRANSLATE(A4,"en","hi") | कीमत |
| Good morning | =TRANSLATE(A5,"en","hi") | शुभ प्रभात |
| Yes | =TRANSLATE(A6,"en","hi") | हाँ |
| No | =TRANSLATE(A7,"en","hi") | नहीं |
Check the pattern: the formula is the same in every row, only the cell reference changes — A2, A3, A4 — because the references move with the formula when you copy it down. That is the relative reference behaviour from the absolute reference guide, working in your favour here.
Swap the two codes. To translate Hindi back into English:
=TRANSLATE(A2, "hi", "en")
And to translate into another language, swap the last code: “es” for Spanish, “fr” for French, “ur” for Urdu. The pattern is always the same: source code first, target code second.
If your column mixes languages — some cells English, some Hindi, some something else — you can check what language a cell is in before you translate it:
=DETECTLANGUAGE(A2)
For an English cell it returns “en”. For a Hindi cell it returns “hi”. Use it to find the rows that need translating, or to check why a translation came out wrong — a cell Excel detected as the wrong language will be translated from the wrong language.
You can also leave the source language out of TRANSLATE and let Excel detect it: =TRANSLATE(A2,,"hi") — note the two commas with nothing between them. That works, but spelling out “en” is safer when you know the source is English, because auto-detection can guess wrong on short text like “No” or “Price”.
This is the section people get wrong, so read it carefully: Google Sheets does not have TRANSLATE. It has GOOGLETRANSLATE. The formulas look alike. They are not interchangeable. Do not paste one into the other app.
In Google Sheets, to translate cell A1 from English to Hindi:
=GOOGLETRANSLATE(A1, "en", "hi")
Leave out the source language, or use “auto”, and Sheets detects it for you: =GOOGLETRANSLATE(A1, "auto", "hi"). Fill it down the same way — the formula copies down the column, and each row translates itself.
If you use Sheets, use GOOGLETRANSLATE. If you use Excel, use TRANSLATE. That is the whole rule.
Machine translation is good for single words and short phrases, and weaker for long sentences, idioms and names. Three things to know:
For a large job — thousands of rows, or translation that must be exact — the API routes (Microsoft Translator API through Power Query, or Google’s Cloud Translation API) are the professional option. They need an API key and some setup, and they are outside this article’s beginner scope. The formula above is the right tool for a list you can check by eye.
| Mistake | What happens | Fix |
|---|---|---|
| You pasted GOOGLETRANSLATE into Excel | #NAME? — Excel does not have that function | Use TRANSLATE in Excel, GOOGLETRANSLATE in Sheets |
| You pasted TRANSLATE into Google Sheets | #NAME? — Sheets does not have that function | Use GOOGLETRANSLATE in Sheets |
| You typed TRANSLATE and nothing appeared | Your Excel version does not have it yet (not in 2019/2021) | Use Review → Translate, or Microsoft 365, or Sheets |
| The formula returns #NAME? | Same as above — the function does not exist in your version | Check your version, then use the fallback |
| The cell shows the formula, not the result | The cell is formatted as Text, or you typed a space before = | Format as General and retype the formula |
| The translation is wrong for a short word | Auto-detection guessed the wrong language | Spell out the source: =TRANSLATE(A2,"en","hi") |
| The result did not update when you edited the English | The formula is not there — you pasted values, not the formula | Paste the formula, not Paste Special → Values |
| You are offline | The formula cannot reach Microsoft Translation Services | Connect to the internet and recalculate |
How do I translate English to Hindi in Excel with a formula? Use =TRANSLATE(A2,"en","hi") in Microsoft 365. A2 holds the English text, “en” is English, “hi” is Hindi. Fill it down to translate a whole column.
What is the Excel translate function? TRANSLATE: =TRANSLATE(text, [source_language], [target_language]). It is new, in Microsoft 365 only, and it needs an internet connection.
How do I translate English to Hindi in Google Sheets? Use =GOOGLETRANSLATE(A1,"en","hi"). Sheets does not have TRANSLATE — it has GOOGLETRANSLATE, a different function.
Does TRANSLATE work in Excel 2019 or 2021? No. It is a Microsoft 365 function. In older Excel, use Review → Translate instead.
Why does my TRANSLATE formula show #NAME!? Your Excel version does not have the function. Check the version, then use the Review → Translate pane, or Google Sheets.
Can I translate a whole column at once? Yes. Type the formula once, then double-click the fill handle to copy it down the column. Each row translates its own cell.
How do I translate Hindi to English in Excel? Swap the codes: =TRANSLATE(A2,"hi","en").
Does TRANSLATE work offline? No. It uses Microsoft Translation Services, so it needs an internet connection.
That is the whole method: one formula, =TRANSLATE(A2,"en","hi"), filled down the column — with the version check first, because the function is new and not every Excel has it yet. It works for product lists, customer messages and survey answers, and the only cases that need extra care are the wrong app (Sheets needs GOOGLETRANSLATE, not TRANSLATE), a short word the auto-detection guesses wrong, and a translation nobody read before it went out. Try it on your own list now, with the table above, and when the text itself needs cleaning before it can be translated — extra spaces, mixed case, joined words — the next guides to read are the ones on combining and cleaning text, which the topical map places in this same Date & Text silo.
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →Learn how to get the month and year from a date in Excel: month name, month number, quarter, first and last day...
Read Guide →Learn how to extract text after a character in Excel: TEXTAFTER and TEXTBEFORE, the last word, and the older FIND method.
Read Guide →