Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=SUMIFS(B2:B7,A2:A7,">="&A2,A2:A7,"<"&(A2+7))Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
WEEKNUM alone can't be used as a SUMIFS criteria range because SUMIFS needs a cell range, not an array expression. Either add a WEEKNUM helper column or use the date-boundary approach shown here.
The date-range approach handles this naturally — a week from Jan 29 to Feb 4 is captured by the >=/< date boundaries regardless of month.
Yes. Set your D2 anchor to the first day of your fiscal year's first week, then add 7 for each subsequent row.
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: