Google Sheets vs Excel formulas: what's the same and what's different
SheetFluent team · · 6 min read
Most everyday formulas are the same in Google Sheets and Excel. SUM, AVERAGE, COUNTIF, SUMIFS, IF, VLOOKUP, XLOOKUP, INDEX, MATCH and the text functions use the same names, the same parts and the same order. A formula like =IF( gives the same answer in both. The differences are at the edges: a few functions exist in only one app, linking to other files works differently, and some settings, such as calculation and separators, live in different places.
=IF(B2>=50,"Pass","Fail")
What works the same
Both apps start a formula with an equals sign, use the same cell addresses (B2, B2:B6) and the same dollar signs for fixed references ($B$2). Function names aren't case-sensitive in either app, so =sum( works too.
The operators are the same: + - * / ^ for math, & to join text, and = <> < > <= >= for comparisons. Text in a formula goes in double quotes in both.
The common error values mean the same thing: #N/A for a lookup that found nothing, #DIV/0! for dividing by zero, #VALUE! for math on text, #REF! for a reference to a deleted cell and #NAME? for a name the app doesn't recognize.
So if you learn formulas in one app, you can use them in the other. Job tests that ask for Excel check the same formula skills you'd use in Sheets.
Functions only Google Sheets has
Google Sheets has several functions that reach outside the spreadsheet or reshape data. Excel has no function with the same name, so a file that uses them breaks when opened in Excel.
IMPORTRANGE pulls a range from another Google Sheets file by its URL. GOOGLEFINANCE fetches stock and currency data. GOOGLETRANSLATE translates text. IMPORTHTML and IMPORTXML read tables and data from web pages.
QUERY filters, sorts and totals a range using a short query language, a bit like a mini database. SPARKLINE draws a small chart inside one cell. Excel has sparklines too, but as a feature on the Insert tab, not as a formula.
ARRAYFORMULA applies a formula to a whole column at once. Excel 365 does this automatically with dynamic arrays (see below), so it doesn't need a separate function.
=IMPORTRANGE("file URL","Sheet1!A1:C20")
=QUERY(A1:C20,"select A, sum(C) group by A")Version gaps in Excel
Google Sheets updates for everyone at once. Excel comes in versions, and what works depends on which one you have.
XLOOKUP, FILTER, UNIQUE, SORT and TEXTJOIN are in Excel 365 and Google Sheets, but not in every older Excel. XLOOKUP needs Excel 2021 or newer, and in Excel 2016 or 2019 it returns #NAME?. If a file will be shared with people on older Excel, use VLOOKUP or INDEX and MATCH instead.
Excel 365 and Google Sheets both spill results: a formula that returns several values fills the cells below it. In older Excel, the same kind of formula had to be entered with Ctrl+Shift+Enter.
See also: Look up in any direction with XLOOKUP, List each value once with UNIQUE
Referencing other sheets and files
Within one file, both apps use the same pattern: the sheet name, an exclamation mark, then the cell. =Sales!B2 reads B2 on the Sales sheet. If the sheet name has spaces, put it in single quotes in both apps: ='Sales 2026'!B2.
Linking to a different file is where they differ. Excel uses an external reference that includes the file name in square brackets, like =[Budget.xlsx]Sheet1!B2, and the other file needs to be open or reachable. Google Sheets uses IMPORTRANGE with the other file's URL, and asks you to allow access the first time.
=Sales!B2
='Sales 2026'!B2See also: How to reference another sheet in Excel
Settings that live in different places
Calculation. Excel can be set to Manual, so formulas wait for F9. Google Sheets always recalculates when something changes. Under File, Settings, Calculation, you can also make it recalculate every minute or every hour, which matters for functions like NOW.
Separators. In countries that use a comma for decimals, both apps separate the parts of a formula with semicolons: =IF(. Excel takes this from the computer's region settings. Google Sheets takes it from the file's locale, under File, Settings.
Errors while typing. If a formula has a typing mistake, Excel stops you with a message box before you can press Enter. Google Sheets accepts it and shows #ERROR! in the cell, with the reason when you hover over it.
Shortcuts. Most shortcuts match. F4 adds dollar signs in both, Ctrl+` shows formulas in both, and Ctrl+; enters today's date in both. On a Mac, Sheets uses Cmd in place of Ctrl for most of them.
See also: Lock a cell with $, How to insert today's date in Excel, Excel formula not working? How to find the cause and fix it
Which one to learn on
If your job or a job test uses Excel, practice the formulas in either app and spend a little time in Excel itself for the menus, ribbon and shortcuts. The formulas transfer directly.
If you work in a team that shares files in the browser, Google Sheets is often easier to start with, because everyone sees the same version and the same functions.
Either way, the skills that matter most are the same: knowing which function fits the task, writing ranges that cover the right rows, fixing a reference with dollar signs, and reading an error value to see what went wrong.
Moving a file between the two
When you open an Excel file in Google Sheets, or download a Sheets file as .xlsx, the shared formulas carry over unchanged. Before sharing, search the file for the Sheets-only functions above and swap them for ones both apps have. After converting, check a few totals by hand, and look for #NAME? errors, which usually point at a function the other app doesn't have.
Formatting, charts and pivot tables usually come across, though some styles and chart options change. Macros don't: Excel uses VBA and Google Sheets uses Apps Script, so automated steps have to be rebuilt in the other app. If a file depends on macros, keep it in the app it was built in.
Try it here
Type the formula into the answer cell, then press Enter or Check.
In C2, show Pass if the mark in B2 is 50 or more, otherwise Fail. This formula works the same in Excel and Google Sheets. It will be filled down to C6.
| A | B | C | |
|---|---|---|---|
| 1 | Student | Marks | Result |
| 2 | Ava | 72 | =IF(B2>=50, (answer cell) |
| 3 | Noah | 50 | |
| 4 | Zara | 43 | |
| 5 | Eli | 88 | |
| 6 | Mia | 35 |
In C2, show Pass if the mark in B2 is 50 or more, otherwise Fail. This formula works the same in Excel and Google Sheets. It will be filled down to C6.
Start practicingQuestions people ask
Are Google Sheets formulas the same as Excel formulas?
Almost all everyday ones are, with the same names and parts. A few functions exist in only one app, such as IMPORTRANGE and QUERY in Google Sheets.
Does Google Sheets have XLOOKUP?
Yes. Google Sheets has XLOOKUP, and it works like the Excel 365 version.
Why does my formula use semicolons instead of commas?
Your region or the file's locale uses a comma for decimals, so formulas use semicolons between their parts. The formula itself is the same.
Can I practice for an Excel test in Google Sheets?
Yes, for formulas. SUM, COUNTIF, IF, VLOOKUP and XLOOKUP behave the same. Menus and ribbon features differ, so check those in Excel before a test that covers them.
Keep practicing
Related articles
- Excel formulas cheat sheet7 min read
The Excel formulas you'll use most, grouped by job: totals, counting, conditions, lookups, text and rounding, each with an example. Print or save as PDF.
Excel formula showing as text, not updating, or giving the wrong total? Check the equals sign, Text format, Show Formulas and Manual calculation.
- How to reference another sheet in Excel6 min read
Pull a value from another sheet with =Sheet2!B5, or ='Q1 Sales'!B5 when the name has spaces. Add ranges, other files and Google Sheets.