Level 2Level 2 ProjectsProject, 10 min
A two-tab sales dashboard
The task
Raw deals live on the Data tab. The Summary tab is what your VP opens on Monday: pick a region and a date range in B3:B5, and every number below answers for that slice.
- Revenue for the sliceIn Summary!B7, add up Data's Amount where the region matches B3 and the date is between B4 and B5. That's three conditions:
=SUMIFS(Data!E2:E15, Data!C2:C15, B3, Data!A2:A15, ">="&B4, Data!A2:A15, "<="&B5) - Count the dealsIn Summary!B8, count the deals in the same slice with
COUNTIFS. Same condition pairs, no sum range. - Average deal sizeIn Summary!B9, average the deal amounts for the slice with
AVERAGEIFS. - Biggest dealIn Summary!B10, find the largest single deal in the slice with
MAXIFS. - Who closed itIn Summary!B11, look up the biggest deal's amount (B10) in Data's Amount column and return the rep with
XLOOKUP.
The data, 2 tabs
The starting sheet. Cells outlined in green are where your formulas go.
| A | B | |
|---|---|---|
| 1 | Sales dashboard | |
| 2 | ||
| 3 | Region | West |
| 4 | From | May 1, 2026 |
| 5 | To | May 31, 2026 |
| 6 | ||
| 7 | Revenue | |
| 8 | Deals | |
| 9 | Avg deal | |
| 10 | Biggest deal | |
| 11 | Closed by |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Rep | Region | Customer | Amount |
| 2 | Apr 2, 2026 | Maya | West | Bean There Coffee | $3,200 |
| 3 | Apr 6, 2026 | Theo | East | Northwind | $1,850 |
| 4 | Apr 9, 2026 | Priya | Central | Lettuce Eat | $4,100 |
| 5 | Apr 14, 2026 | Maya | West | Sir Loin Steakhouse | $7,600 |
| 6 | Apr 20, 2026 | Jonah | East | Cobalt Labs | $2,900 |
| 7 | Apr 27, 2026 | Lena | West | Fieldstone | $5,300 |
| 8 | May 1, 2026 | Theo | East | Harbor & Co | $6,400 |
| 9 | May 5, 2026 | Priya | Central | Curl Up & Dye | $2,250 |
| 10 | May 11, 2026 | Maya | West | Bean There Coffee | $4,700 |
| 11 | May 15, 2026 | Jonah | East | Quillworks | $8,150 |
| 12 | May 19, 2026 | Lena | West | Knead to Know Bakery | $3,600 |
| 13 | May 22, 2026 | Priya | Central | Lettuce Eat | $5,900 |
| 14 | May 28, 2026 | Theo | East | Cobalt Labs | $1,400 |
| 15 | May 29, 2026 | Lena | West | Fieldstone | $6,800 |