formulastreak

Excel vs Google Sheets formulas

Updated · Works in: Excel 2021+, Microsoft 365, Google Sheets · Every example checked before release

Short answer

Mostly yes: the syntax and most functions are the same. Google Sheets lacks SORTBY, XMATCH, TEXTSPLIT, TEXTBEFORE/TEXTAFTER, TAKE/DROP and the # spill reference; Excel lacks SPLIT, ARRAYFORMULA and QUERY. SORT, CONCAT, FILTER and IFERROR take slightly different arguments.

Yes, mostly. Excel and Google Sheets share the same formula language: =, cell references, $, operators, and most functions with the same names and arguments. What differs is a short list: functions one app has and the other doesn't, a few functions whose arguments differ (SORT, CONCAT, FILTER, IFERROR), and Excel's spill features (#, #SPILL!, #CALC!). This page lists each one with the official source, and the table at the end shows every function taught on this site in both apps. To move a formula across, paste it into the Excel to Google Sheets converter, which rewrites the documented cases and flags the rest.

QuestionShort answer
Do Excel formulas work in Google Sheets?Mostly. Formulas built from shared functions work unchanged; Excel-only functions show an error in Sheets.
Do Google Sheets formulas work in Excel?Mostly. Sheets-only functions such as SPLIT, ARRAYFORMULA, QUERY and IMPORTRANGE aren't in Microsoft's function list.
Is the syntax the same?Yes: =, references, $, operators and brackets work the same way in both.
Does XLOOKUP work in Google Sheets?Yes, with the same arguments in the same order.
Does Google Sheets have SORTBY, XMATCH, TEXTSPLIT?No. Use SORT with a sort range, MATCH with 0, and SPLIT.

Most formulas are written the same way

Lookups, conditional totals, IF logic, text and date functions: the course's formulas run unchanged in both apps. SUMIFS(F2:F13, E2:E13, "Plants") means the same thing in Excel and Google Sheets, with the sum range first in both. Google documents XLOOKUP with the same six arguments in the same order as Excel's. So learning in one app transfers to the other; the formula basics are identical.

Leaf & Loam orders · edit K1 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultK1 = 15
ABCDEFGHIJK
1OrderDateCustomerProductCategoryQtyPriceStatusPlants qty15
210012 Mar 2026Mara OkaforMonsteraPlants1$34.00Shipped
310022 Mar 2026Jonas LindTerracotta potPots3$12.50Shipped
410033 Mar 2026Priya RamanSnake plantPlants2$22.00Shipped
510044 Mar 2026Tomás RuizWatering canTools1$18.00Pending
610055 Mar 2026Elif DemirFernPlants4$9.50Shipped
710065 Mar 2026Mara OkaforPotting mixSoil2$7.25Returned
810076 Mar 2026Kenji MoriPruning shearsTools1$24.00Shipped
910087 Mar 2026Ines VargaCeramic potPots2$19.00Pending
1010098 Mar 2026Jonas LindMonsteraPlants1$34.00Shipped
1110109 Mar 2026Sofia RossiFernPlants6$9.50Shipped
12101110 Mar 2026Priya RamanPotting mixSoil5$7.25Shipped
13101211 Mar 2026Leo BrandtSnake plantPlants1$22.00Pending

SORT: a number and -1 in Excel, a range and FALSE in Sheets

Excel's SORT takes the column to sort by as a number inside the array and the direction as 1 or -1: SORT(E2:E9, 1, -1) sorts biggest first. Google's SORT takes the sort column and TRUE (ascending) or FALSE (descending), and the sort column can be a range outside the data, so SORT(A2:A9, E2:E9, FALSE) sorts names by September sales. Excel does that with SORTBY, which Google Sheets doesn't have. The UNIQUE and SORT guide covers both.

Q3 sales team · edit H2 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultH2 = 16900
ABCDEFGH
1RepRegionJulAugSepTargetSeptember, high to low
2Amara OseiNorth$12,400$13,100$11,800$36,00016900
3Ben FischerSouth$9,800$10,250$12,100$30,00015100
4Lina ChenEast$15,200$14,800$16,900$45,00014100
5Diego AlvarezWest$8,700$9,100$8,400$28,00013900
6Eva NovakNorth$11,200$12,600$13,900$36,00012100
7Farid HaddadSouth$13,300$12,900$14,100$39,00011800
8Grace KimEast$10,100$9,600$10,800$33,00010800
9Hugo MartinWest$14,500$15,800$15,100$42,0008400

Functions Excel has and Google Sheets doesn't

From the functions this site teaches, Google's function list has no SORTBY, TAKE, DROP, TEXTSPLIT, TEXTBEFORE, TEXTAFTER, NUMBERVALUE or XMATCH. In Sheets, sort by another range with SORT, split text with SPLIT (SPLIT(A2, ", ", FALSE)), convert text to numbers with VALUE and find positions with MATCH and 0 (MATCH vs XMATCH). Excel's # spill reference (D2#) has no Sheets equivalent either. A shared file that uses any of these shows an error for Sheets users.

Functions Google Sheets has and Excel doesn't

SPLIT and ARRAYFORMULA are Google Sheets functions with no function of that name in Microsoft's list, and neither are QUERY, IMPORTRANGE and GOOGLEFINANCE. In Excel 2024 and Microsoft 365, TEXTSPLIT splits text; in older Excel, LEFT, MID and FIND do it (clean up messy text). We haven't verified exact Excel equivalents for QUERY or IMPORTRANGE, so we don't suggest one.

Small differences in shared functions

IFERROR: the second argument is required in Excel and optional in Sheets, where leaving it out shows a blank. CONCAT: Excel's joins any number of values and ranges; Google's joins exactly two, so use & or TEXTJOIN in shared files (CONCAT vs CONCATENATE vs TEXTJOIN). FILTER: Excel's third argument is the value to show when nothing matches, and an empty result is #CALC!; Google's FILTER takes extra conditions instead and returns #N/A when nothing matches. Errors: #SPILL! and #CALC! are Excel's; Google's list of error values doesn't include them (formula errors).

Every function on this site, in both apps

The table below lists every function the course teaches: which Excel versions have it (from Microsoft's alphabetical list, where newer functions are marked with the version that introduced them) and whether Google Sheets has it, with Google's own syntax line. Where Google's arguments differ from Excel's, compare the syntax column with the cheat sheet. Microsoft 365 has every Excel function listed.

FunctionExcelGoogle SheetsGoogle's syntax
ANDAll current versionsYesAND(logical_expression1, [logical_expression2, ...])
AVERAGEAll current versionsYesAVERAGE(value1, [value2, ...])
AVERAGEIFSAll current versionsYesAVERAGEIFS(average_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...])
BYROWExcel 2024, Microsoft 365YesBYROW(array_or_range, LAMBDA)
CHARAll current versionsYesCHAR(table_number)
CLEANAll current versionsYesCLEAN(text)
CORRELAll current versionsYesCORREL(data_y, data_x)
COUNTAll current versionsYesCOUNT(value1, [value2, ...])
COUNTAAll current versionsYesCOUNTA(value1, [value2, ...])
COUNTBLANKAll current versionsYesCOUNTBLANK(range)
COUNTIFAll current versionsYesCOUNTIF(range, criterion)
COUNTIFSAll current versionsYesCOUNTIFS(criteria_range1, criterion1, [criteria_range2, criterion2, ...])
DATEAll current versionsYesDATE(year, month, day)
DATEDIFAll current versionsYesDATEDIF(start_date, end_date, unit)
EDATEAll current versionsYesEDATE(start_date, months)
EOMONTHAll current versionsYesEOMONTH(start_date, months)
FILTERExcel 2021 and laterYesFILTER(range, condition1, [condition2])
FINDAll current versionsYesFIND(search_for, text_to_search, [starting_at])
FVAll current versionsYesFV(rate, number_of_periods, payment_amount, [present_value], [end_or_beginning])
IFAll current versionsYesIF(logical_expression, value_if_true, value_if_false)
IFERRORAll current versionsYesIFERROR(value, [value_if_error])
IFSExcel 2019 and laterYesIFS(condition1, value1, [condition2, value2], …)
INDEXAll current versionsYesINDEX(reference, [row], [column])
IPMTAll current versionsYesIPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])
IRRAll current versionsYesIRR(cashflow_amounts, [rate_guess])
ISBLANKAll current versionsYesISBLANK(value)
ISNUMBERAll current versionsYesISNUMBER(value)
ISOWEEKNUMExcel 2013 and laterYesISOWEEKNUM(date)
LAMBDAExcel 2024, Microsoft 365YesLAMBDA(name, formula_expression)
LARGEAll current versionsYesLARGE(data, n)
LEFTAll current versionsYesLEFT(string, [number_of_characters])
LENAll current versionsYesLEN(text)
LETExcel 2021 and laterYesLET(name1, value_expression1, [name2, …], [value_expression2, …], formula_expression )
MAPExcel 2024, Microsoft 365YesMAP(array1, [array2, ...], LAMBDA)
MATCHAll current versionsYesMATCH(search_key, range, [search_type])
MAXAll current versionsYesMAX(value1, [value2, ...])
MAXIFSExcel 2019 and laterYesMAXIFS(range, criteria_range1, criterion1, [criteria_range2, criterion2], …)
MEDIANAll current versionsYesMEDIAN(value1, [value2, ...])
MIDAll current versionsYesMID(string, starting_at, extract_length)
MINAll current versionsYesMIN(value1, [value2, ...])
MODAll current versionsYesMOD(dividend, divisor)
MODE.SNGLExcel 2010 and laterYesMODE.SNGL(value1, [value2, ...])
MONTHAll current versionsYesMONTH(date)
NETWORKDAYSAll current versionsYesNETWORKDAYS(start_date, end_date, [holidays])
NETWORKDAYS.INTLExcel 2010 and laterYesNETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
NPERAll current versionsYesNPER(rate, payment_amount, present_value, [future_value], [end_or_beginning])
NPVAll current versionsYesNPV(discount, cashflow1, [cashflow2, ...])
ORAll current versionsYesOR(logical_expression1, [logical_expression2, ...])
PERCENTILE.INCExcel 2010 and laterYesPERCENTILE.INC(data, percentile)
PMTAll current versionsYesPMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning])
PPMTAll current versionsYesPPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])
PROPERAll current versionsYesPROPER(text_to_capitalize)
QUARTILE.INCExcel 2010 and laterYesQUARTILE.INC(data, quartile_number)
RANK.EQExcel 2010 and laterYesRANK.EQ(value, data, [is_ascending])
RIGHTAll current versionsYesRIGHT(string, [number_of_characters])
ROUNDAll current versionsYesROUND(value, [places])
ROWSAll current versionsYesROWS(range)
SCANExcel 2024, Microsoft 365YesSCAN(initial_value, array_or_range, LAMBDA)
SEQUENCEExcel 2021 and laterYesSEQUENCE(rows, columns, start, step)
SMALLAll current versionsYesSMALL(data, n)
SORTExcel 2021 and laterYesSORT(range, sort_column, is_ascending, [sort_column2], [is_ascending2])
SORTBYExcel 2021 and laterNo—
STDEV.SExcel 2010 and laterYesSTDEV.S(value1, [value2, ...])
SUBSTITUTEAll current versionsYesSUBSTITUTE(text_to_search, search_for, replace_with, [occurrence_number])
SUMAll current versionsYesSUM(value1, [value2, ...])
SUMIFAll current versionsYesSUMIF(range, criterion, [sum_range])
SUMIFSAll current versionsYesSUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...])
SUMPRODUCTAll current versionsYesSUMPRODUCT(array1, [array2, ...])
SWITCHExcel 2019 and laterYesSWITCH(expression, case1, value1, [default or case2, value2], …)
TAKEExcel 2024, Microsoft 365No—
TEXTAll current versionsYesTEXT(number, format)
TEXTAFTERExcel 2024, Microsoft 365No—
TEXTJOINExcel 2019 and laterYesTEXTJOIN(delimiter, ignore_empty, text1, [text2], …)
TRIMAll current versionsYesTRIM(text)
UNIQUEExcel 2021 and laterYesUNIQUE(range, by_column, exactly_once)
VALUEAll current versionsYesVALUE(text)
VLOOKUPAll current versionsYesVLOOKUP(search_key, range, index, [is_sorted])
WEEKDAYAll current versionsYesWEEKDAY(date, [type])
WORKDAYAll current versionsYesWORKDAY(start_date, num_days, [holidays])
XLOOKUPExcel 2021 and laterYesXLOOKUP(search_key, lookup_range, result_range, missing_value, [match_mode], [search_mode])
YEARFRACAll current versionsYesYEARFRAC(start_date, end_date, [day_count_convention])

Check yourself

One real exercise from the “Dynamic arrays” unit. Checked on our server; no account needed.

Sort the September figures (E2:E9), biggest first, in H2.

  • Use SORT
Select H2 and type = to start its formula (in the cell or the formula bar)
ABCDEFGH
1RepRegionJulAugSepTargetSep sorted
2Amara OseiNorth$12,400$13,100$11,800$36,000
3Ben FischerSouth$9,800$10,250$12,100$30,000
4Lina ChenEast$15,200$14,800$16,900$45,000
5Diego AlvarezWest$8,700$9,100$8,400$28,000
6Eva NovakNorth$11,200$12,600$13,900$36,000
7Farid HaddadSouth$13,300$12,900$14,100$39,000
8Grace KimEast$10,100$9,600$10,800$33,000
9Hugo MartinWest$14,500$15,800$15,100$42,000

Common mistakes

  • Using Excel's -1 for descending in a Google Sheets SORT, which expects TRUE or FALSE.

  • Sharing a workbook that uses XMATCH, SORTBY or TEXTSPLIT with Google Sheets users.

  • Giving Google's FILTER a third argument meant as Excel's if_empty: Sheets reads it as another condition.

Questions

Can I open an Excel file in Google Sheets and keep the formulas?+

The formulas come across as written. Those that use functions Sheets doesn't have, or Excel-only features like the # spill reference, show an error until you rewrite them.

Which is better for learning formulas?+

Either. What you learn transfers almost completely. Check your Excel version for the newer functions (XLOOKUP, FILTER, LET need Excel 2021 or later).

Reading is step one. Now make it stick.

Practise it in a five-minute lesson on a live sheet, with instant feedback. No account needed for the free units.

Practise SORT and UNIQUE in the course

Sources

Official documentation the facts on this page were checked against.