Using spreadsheets and Google Translate

In one of those ‘blog about it so I don’t forget later’ moments, today I happened to discover something that shouldn’t have surprised me, but which could be pretty useful in the right circumstances – the ability to introduce live Google translations into a spreadsheet.

I’m currently working on a project which involves stakeholders from France and Germany as well as the UK. This afternoon I was sent over a spreadsheet of feedback in xslx format, all in German, and considered the best way to┬ámake this understandable to my teammates. I have a small amount of (mainly skiing and food-related) German ability, but ecommerce and technical terms were another matter. I needed it translating.

My first port of call was the Google Translate website, where I hoped to find some kind of upload feature. No such luck. I tried pasting in the whole spreadsheet, which unsurprisingly returned a huge mess of words.

Taking it a step back, I headed to Google Drive, where I imported my Excel file and turned it into a Google Sheet. At this point I was hoping for a magical translate button in one of the menus, but again no such luck.

The solution

At this point I came across the reference for the aptly named GOOGLETRANSLATE function within Google Sheets, which did almost exactly what I needed. It’s been around for ages, but is new to me, and seems like it’s the kind of thing that you won’t know about unless you look specifically for it. The formula is as follows:

GOOGLETRANSLATE(text, [source_language, target_language])

Where text is either a string (e.g. "Spreadsheets are fun!") or a (single) cell reference (e.g. A1), and source and target languages are the two character ISO language code. It is possible to use auto in place of the source language country code if you’d like to have the source auto-detected.

For example, if you’d like to translate cell A1 from French to English, paste the below into a new cell.


The way that I used this was to add a new column next to the source columns, paste in the formula at the top, drag it down to cover all rows in the column, and then hide the original version. You’ll end up with something like this:

Google translate and spreadsheets

A snippet of the translated spreadsheet

It would be great if you were somehow able to apply it to the whole sheet, but until that happens this is a big improvement over translating each individual cell. Hopefully this will help someone else in a similar situation!