Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=LET(data,A1:B3,headers,INDEX(data,1,),rows,COUNTA(data)-1,cols,COUNTA(headers),INDEX(TOCOL(SEQUENCE(rows*cols,,1,1)),SEQUENCE(rows*cols,,1,1))&"_"&INDEX(headers,MOD(SEQUENCE(rows*cols,,0,1),cols)+1),TOCOL(INDEX(data,INT((SEQUENCE(rows*cols,,0,1))/cols)+2,MOD(SEQUENCE(rows*cols,,0,1),cols)+1)))=ARRAYFORMULA(FLATTEN(IF(A2:A3<>'',A2:A3&"_"&B1:C1,""))&"="&FLATTEN(IF(A2:A3<>'',B2:C3,"")))Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Excel uses Power Query for unpivoting, which offers more flexibility and options, while Google Sheets uses a simpler pivot table method.
Yes, but you need to handle them manually or use advanced Power Query techniques to merge header rows before unpivoting.
Google Sheets has a limit of 5 million cells per sheet, so ensure your unpivoted data does not exceed this limit.
Extract a specific value from a PivotTable using field names and item values as explicit identifiers.
How-toBuild a formula-driven pivot-style cross-tab in Excel or Google Sheets using SUMIFS with mixed references — live totals by row and column without inserting a pivot table.
How-toUse Google Sheets QUERY with GROUP BY, SUM, and LABEL to build a pivot-style summary table without a manual pivot table — Excel alternative uses SUMIFS.
How-toLearn how GETPIVOTDATA extracts specific values from a pivot table in Excel and Google Sheets, avoiding broken references when the pivot refreshes.
How-toUnderstand how pivot calculated fields work and when to replace them with SUMIFS-based formulas in Excel and Google Sheets for more control and flexibility.
How-toUse SUMIF and SUM to calculate each category's percent of grand total in Excel and Google Sheets — no pivot table required.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: