27.3 Sales: Target vs Actual by Sales Rep
Example first. Ruhi Bagale leads a fictional field sales team of six reps and wants the monthly target review on one page.
Sales project — in 30 seconds
What: A Sales tracker: one Table tblReps, the calculated column Achievement, KPI cells, a PivotTable by City, a chart and a one-page dashboard.
Why: This is the shape of a real Sales report: Total Actual, Overall Achievement, Reps at Target are the numbers a manager reads first.
Tiny example: From 6 rows: Total Actual = ₹22,64,000, Overall Achievement = 98.4%, Reps at Target = 3.
Sales project — 30 सेकंदात
काय: Sales चा tracker: tblReps नावाची एक Table, Achievement हा calculated column, KPI cells, City प्रमाणे PivotTable, एक chart आणि एका पानाचा dashboard.
का: खऱ्या Sales report चा हाच आकार असतो: Total Actual, Overall Achievement, Reps at Target हे आकडे manager सगळ्यात आधी वाचतो.
छोटं उदाहरण: 6 rows मधून Total Actual = ₹22,64,000, Overall Achievement = 98.4%, Reps at Target = 3.
Sales project — 30 सेकंड में
क्या: Sales का tracker: tblReps नाम की एक Table, Achievement calculated column, KPI cells, City के हिसाब से PivotTable, एक chart और एक पन्ने का dashboard.
क्यों: असली Sales report का यही आकार होता है: Total Actual, Overall Achievement, Reps at Target वे आँकड़े हैं जो manager सबसे पहले पढ़ता है.
छोटा उदाहरण: 6 rows से Total Actual = ₹22,64,000, Overall Achievement = 98.4%, Reps at Target = 3.
First look at the data (before → after):
Expected result — Calculated column
| Rep | Achievement |
|---|---|
| Shahrukh | 109.0% |
| Amir | 89.3% |
| Salman | 103.0% |
| Zoya | 85.1% |
| Ravina | 110.3% |
| Raja | 92.0% |
Expected result — KPI cells (expected results)
| KPI | Formula | Result |
|---|---|---|
| Total Actual | =SUM(tblReps[Actual]) | ₹22,64,000 |
| Overall Achievement | =SUM(tblReps[Actual])/SUM(tblReps[Target]) | 98.4% |
| Reps at Target | =COUNTIF(tblReps[Achievement],">=1") | 3 |
Before table and formula as text
Before — Table tblReps (fictional sample rows)
| Rep | City | Target | Actual |
|---|---|---|---|
| Shahrukh | Pune | 5,00,000 | 5,45,000 |
| Amir | Pune | 4,50,000 | 4,02,000 |
| Salman | Nashik | 4,00,000 | 4,12,000 |
| Zoya | Nagpur | 3,50,000 | 2,98,000 |
| Ravina | Solapur | 3,00,000 | 3,31,000 |
| Raja | Kolhapur | 3,00,000 | 2,76,000 |
Formula / click path
Achievement: =[@Actual]/[@Target]
Total Actual: =SUM(tblReps[Actual])
Overall Achievement: =SUM(tblReps[Actual])/SUM(tblReps[Target])
Reps at Target: =COUNTIF(tblReps[Achievement],">=1")
Do it step by step:
- Type the data and press Ctrl+T; name the Table
tblRepsin Table Design › Properties › Table Name. - Add the column Achievement with
=[@Actual]/[@Target]; the Table fills it down. - On a KPI sheet type
=SUM(tblReps[Actual])and the other KPI formulas from the table below. - Click Insert › PivotTable › From Table/Range, put City in Rows and Actual in Values (Sum).
- Click PivotTable Analyze › PivotChart › Clustered Column, then PivotTable Analyze › Insert Slicer › Rep.
- Move the KPI cells, the chart and the slicer onto a sheet named Dashboard.
स्टेप बाय स्टेप करून बघा:
- Data type करा आणि Ctrl+T दाबा; Table Design › Properties › Table Name मध्ये Table ला
tblRepsनाव द्या. - Achievement column
=[@Actual]/[@Target]ने जोडा; Table तो खाली भरते. - KPI sheet वर
=SUM(tblReps[Actual])आणि खालच्या table मधले बाकीचे KPI formulas type करा. - Insert › PivotTable › From Table/Range वर click करा, Rows मध्ये City आणि Values मध्ये Actual (Sum) ठेवा.
- PivotTable Analyze › PivotChart › Clustered Column वर click करा, मग PivotTable Analyze › Insert Slicer › Rep.
- KPI cells, chart आणि slicer Dashboard नावाच्या sheet वर हलवा.
स्टेप बाय स्टेप करके देखें:
- Data type करें और Ctrl+T दबाएँ; Table Design › Properties › Table Name में Table को
tblRepsनाम दें. - Achievement column
=[@Actual]/[@Target]से जोड़ें; Table उसे नीचे भर देती है. - KPI sheet पर
=SUM(tblReps[Actual])और नीचे की table के बाकी KPI formulas type करें. - Insert › PivotTable › From Table/Range पर click करें, Rows में City और Values में Actual (Sum) रखें.
- PivotTable Analyze › PivotChart › Clustered Column पर click करें, फिर PivotTable Analyze › Insert Slicer › Rep.
- KPI cells, chart और slicer को Dashboard नाम की sheet पर ले जाएँ.
The brief. Build a target-versus-actual sheet: achievement % per rep, total actual, overall achievement (SUM ÷ SUM, never an average of percentages), how many reps hit target, sales by city, a chart and a Rep slicer.
Calculated column formulas:
| Column | Formula |
|---|---|
| Achievement | =[@Actual]/[@Target] |
KPI cells (check your numbers):
| KPI | Formula | Result |
|---|---|---|
| Total Actual | =SUM(tblReps[Actual]) | ₹22,64,000 |
| Overall Achievement | =SUM(tblReps[Actual])/SUM(tblReps[Target]) | 98.4% |
| Reps at Target | =COUNTIF(tblReps[Achievement],">=1") | 3 |
PivotTable (expected):
| City | Sum of Actual |
|---|---|
| Kolhapur | ₹2,76,000 |
| Nagpur | ₹2,98,000 |
| Nashik | ₹4,12,000 |
| Pune | ₹9,47,000 |
| Solapur | ₹3,31,000 |
| Grand Total | ₹22,64,000 |
Chart and dashboard (one under the other):
- Click inside the PivotTable, then PivotTable Analyze › PivotChart › Clustered Column › OK.
- Add a chart title and data labels with Chart Design › Add Chart Element.
- Click PivotTable Analyze › Insert Slicer, tick Rep and click OK.
- Insert a new sheet named Dashboard. In it, link a card cell to each KPI (for example
=KPI!B2) and format it large and bold. - Cut and paste the chart and slicer onto the Dashboard sheet.
- On the View tab, untick Gridlines in the Show group. Select the dashboard area and click Page Layout › Print Area › Set Print Area.
Template and guide: download the practice template Sales_Template.xlsx and read the step-by-step template guide. The template's sample rows may differ from the rows above; the method is the same.
Practice task (try it before you open the answer):
- Which city has the highest sum of Actual?
- Filter the Table on City = Pune (Data › Filter): what is Total Actual for Pune alone?
- Add the Clustered Column PivotChart and the Rep slicer to your Dashboard sheet.
Answer
Pune (₹9,47,000). For Pune only (2 rows): Total Actual = ₹9,47,000. The chart shows 5 bars, one per city.
Ravindra Bagale's Tip
Keep the calculated column Achievement inside the Table. New rows then get the formula automatically, and the PivotTable only needs Refresh.
Ravindra Bagale's Tip – मराठी
Achievement हा calculated column Table च्या आतच ठेवा. मग नवीन rows ना formula आपोआप मिळतो, आणि PivotTable ला फक्त Refresh लागतं.
Ravindra Bagale's Tip – हिंदी
Achievement calculated column को Table के अंदर ही रखें. फिर नई rows को formula अपने आप मिलता है, और PivotTable को सिर्फ़ Refresh चाहिए.
Loading practice tasks...
- Total deals won (Easy): Add up Deals won in D2:D11.
- Average avg deal value (Easy): Average of E2:E11, rounded to 2 decimals.
- Rows in North (Easy): How many rows have Region "North"?
- Largest deals won (Easy): The largest value in D2:D11.
- Deals won for North (Medium): Total of D2:D11 where B is "North".
- North in Bristol (Medium): Total of D2:D11 where B is "North" and C is "Bristol".
- Best in North (Medium): Largest E2:E11 value where B is "North".
- Value of row 2 (Medium): D2 times E2.
- Look up Ishaan Verma (Medium): The Deals won for "Ishaan Verma" (use a lookup on column A).
- Total value (Hard): Sum of D times E for all rows.
- Share of North (Hard): Share of D2:D11 that is "North", rounded to 3 decimals.
- Rank of row 2 (Hard): Rank of D2 among D2:D11 (largest = 1).
- Above average? (Hard): "Above" if E2 is above the average of E2:E11, else "Below".