Memuat
Memuat
Pivot-Style Summary and PivotTable Guide for meal plan and calories
0 views
A category-by-status cross table is built with SUMIFS so it behaves like a pivot. A guide shows how to create a real PivotTable from the Data table.

A cross summary that works instantly, plus what you need to build a real PivotTable.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
.xlsx workbook (.xlsx)
| Cell | Formula | What it does |
|---|---|---|
| H3 | =IFERROR(SUMIFS(Data!$G:$G,Data!$C:$C,$A3)/SUM(Data!$G:$G),0) | Contribution of the first category to the grand total. |
| I3 | =COUNTIFS(Data!$C:$C,$A3,Data!$F:$F,B$2) | Transaction count for the category and status cross cell. |
| J3 | =SUMPRODUCT((Data!$C$2:$C$61=$A3)*(Data!$F$2:$F$61=B$2)*Data!$G$2:$G$61) | Cross-check of cell B3 using SUMPRODUCT. |
| H2 | =IFERROR(G2/SUM(Data!$G:$G),0) | Each row's share of the grand total. |
Columns of the Data sheet:
| Meal | Calories per Serving |
|---|---|
| White Rice 100 g | 130 |
| Boiled Chicken Breast 100 g | 165 |
| Boiled Egg 1 Piece | 78 |
| Fried Tempeh 50 g | 110 |
| Steamed Tofu 100 g | 80 |
| Spinach 100 g | 23 |
| Banana 1 Piece | 105 |
| Oatmeal 40 g | 150 |
| Avocado 100 g | 160 |
| Low Fat Milk 200 ml | 90 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (an .xlsx workbook) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Excel is a trademark of Microsoft Corporation.
Back to Excel portfolio