Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
QUERY is a Google Sheets superpower: filter, group, and sort data with a SQL-style string. There is no direct Excel equivalent — FormulaCraft suggests SUMIFS/FILTER instead when you target Excel.
=SUMIFS(C:C, A:A, "Sales")=QUERY(A:C, "select A, sum(C) where B = 'Sales' group by A", 1)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “In Google Sheets, sum column C grouped by A where B is Sales using QUERY”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: