Convert an Excel Formula to Google Sheets
How to convert an Excel formula to Google Sheets and back: JOIN and TEXTJOIN, REGEXMATCH and REGEXTEST, open-ended ranges and functions with no equivalent.

When a workbook moves between Excel and Google Sheets, formulas break because some functions are named differently, some have different arguments, and some exist in only one app. The Excel to Google Sheets Formula Converter translates a formula in either direction: paste it, choose From and To, and read the warnings under the result. This guide shows what changes and what cannot be converted.
What changes between the two apps
Most functions are the same in both apps: SUM, IF, VLOOKUP and INDEX work without changes. The problems come from a few categories:
- Functions with another name or other arguments. JOIN in Sheets corresponds to TEXTJOIN in Excel, and REGEXMATCH corresponds to REGEXTEST.
- Range notation. Sheets accepts open-ended ranges such as B2:B, Excel does not.
- Functions that exist in only one app, such as QUERY in Sheets or AGGREGATE in Excel.
- Separators. Both apps can expect semicolons instead of commas, depending on the locale of the file or the account.
The converter works from a dictionary of more than 230 functions and accepts formulas up to 8,192 characters. A function outside that list is reported, not guessed. The translation happens in your browser, and nothing is sent anywhere.
Steps
- Open the Excel to Google Sheets Formula Converter.
- Paste the formula. The leading = is optional, and an array formula can be written as {=…}.
- Under From, choose the Program, for example Google Sheets, and under To choose Excel. The tool offers Excel to Google Sheets, Google Sheets to Excel, Excel to LibreOffice Calc and Calc to Excel. The ⇄ Swap button translates the result back the other way.
- Set the language or locale if the formula uses French, German or Spanish function names or semicolons.
- Read the converted formula, the Compatibility warnings, the Differences to know about and the Functions list. Each function is marked with its status.
- Copy the result into a copy of your workbook and check the values.
The warnings matter more than the formula. A conversion that looks clean can still change behaviour, and the notes tell you where.
Worked example: Sheets to Excel
This Google Sheets formula combines three functions that Excel handles differently:
=IFERROR(JOIN(", ", UNIQUE(FILTER(B2:B, REGEXMATCH(C2:C, "^EU-")))), "none")
It lists the unique values of column B where column C starts with EU-, separated by commas, and shows "none" if nothing matches. Converted to Excel, JOIN becomes TEXTJOIN with ignore_empty set to FALSE, and REGEXMATCH becomes REGEXTEST. The FALSE keeps the behaviour of JOIN, which does not skip empty cells.

REGEXTEST is available in Microsoft 365, in the 2024 release. An older Excel shows #NAME? for it. The converter points this out, so check the version of the people who will open the file. For other causes of #NAME?, see the Excel Formula Debugger.
For the opposite direction, Excel to Sheets, the same pairs are reversed. If the Excel formula is in French, German or Spanish, choose that language under From and the function names are translated as well, which Translate a French or German Excel Formula to English covers in detail.
Open-ended ranges
In Google Sheets, B2:B means "from B2 to the end of the column". Excel has no such notation, so the converter gives the range an end row: B2:B1048576. It adds a note about the change.

The formula works, but a range that long can be slow in a large workbook. After the conversion, replace 1048576 with the last row that holds data, for example B2:B500, and extend it when the data grows. A table in Excel avoids the problem, because a structured reference follows the size of the table.
Functions with no equivalent
Some functions have no counterpart in the other app. Sheets has no AGGREGATE and no TEXTBEFORE. Excel has no QUERY. When a formula uses one of these, the converter shows a warning with a workaround, not a silent substitute.

Read the workaround and test it on sample data before you use it, because a workaround can behave differently from the original in edge cases such as empty cells and errors. For a QUERY that you need in Excel, one option is to rebuild the logic with SUMIFS, FILTER or a PivotTable. The guide Google Sheets QUERY: Group By and Sum a Column explains the QUERY side, and Excel Functions That Do Not Exist in Google Sheets lists more cases.
The converter does not calculate results, so compare a few values in both apps. Google lists the Sheets functions on its Google Sheets function list, and Microsoft describes the Excel side in TEXTJOIN function.
Do it with your own data
Open the Excel to Google Sheets Formula Converter, paste a formula that breaks after the move and choose the direction. Read the warnings, paste the result into a copy of the workbook and compare a few values with the original.