27.9 Manufacturing: Production Attainment and Rejects
Example first. Raja runs production planning at three fictional packaging plants and wants yesterday's output and rejects in one view.
Manufacturing project — in 30 seconds
What: A Manufacturing tracker: one Table tblShifts, the calculated column GoodUnits, KPI cells, a PivotTable by City, a chart and a one-page dashboard.
Why: This is the shape of a real Manufacturing report: Total Produced, Attainment, Reject % are the numbers a manager reads first.
Tiny example: From 6 rows: Total Produced = 22,990, Attainment = 95.8%, Reject % = 2.5%.
Manufacturing project — 30 सेकंदात
काय: Manufacturing चा tracker: tblShifts नावाची एक Table, GoodUnits हा calculated column, KPI cells, City प्रमाणे PivotTable, एक chart आणि एका पानाचा dashboard.
का: खऱ्या Manufacturing report चा हाच आकार असतो: Total Produced, Attainment, Reject % हे आकडे manager सगळ्यात आधी वाचतो.
छोटं उदाहरण: 6 rows मधून Total Produced = 22,990, Attainment = 95.8%, Reject % = 2.5%.
Manufacturing project — 30 सेकंड में
क्या: Manufacturing का tracker: tblShifts नाम की एक Table, GoodUnits calculated column, KPI cells, City के हिसाब से PivotTable, एक chart और एक पन्ने का dashboard.
क्यों: असली Manufacturing report का यही आकार होता है: Total Produced, Attainment, Reject % वे आँकड़े हैं जो manager सबसे पहले पढ़ता है.
छोटा उदाहरण: 6 rows से Total Produced = 22,990, Attainment = 95.8%, Reject % = 2.5%.
First look at the data (before → after):
Expected result — Calculated column
| Line | GoodUnits |
|---|---|
| L1-A | 4,724 |
| L1-B | 4,472 |
| L2-A | 3,989 |
| L2-B | 3,571 |
| L3-A | 2,896 |
| L3-B | 2,764 |
Expected result — KPI cells (expected results)
| KPI | Formula | Result |
|---|---|---|
| Total Produced | =SUM(tblShifts[Produced]) | 22,990 |
| Attainment | =SUM(tblShifts[Produced])/SUM(tblShifts[Planned]) | 95.8% |
| Reject % | =SUM(tblShifts[Rejected])/SUM(tblShifts[Produced]) | 2.5% |
Before table and formula as text
Before — Table tblShifts (fictional sample rows)
| Line | City | Planned | Produced | Rejected |
|---|---|---|---|---|
| L1-A | Pune | 5,000 | 4,820 | 96 |
| L1-B | Pune | 5,000 | 4,610 | 138 |
| L2-A | Nashik | 4,000 | 4,050 | 61 |
| L2-B | Nashik | 4,000 | 3,720 | 149 |
| L3-A | Sambhaji Nagar | 3,000 | 2,940 | 44 |
| L3-B | Sambhaji Nagar | 3,000 | 2,850 | 86 |
Formula / click path
GoodUnits: =[@Produced]-[@Rejected]
Total Produced: =SUM(tblShifts[Produced])
Attainment: =SUM(tblShifts[Produced])/SUM(tblShifts[Planned])
Reject %: =SUM(tblShifts[Rejected])/SUM(tblShifts[Produced])
Do it step by step:
- Type the data and press Ctrl+T; name the Table
tblShiftsin Table Design › Properties › Table Name. - Add the column GoodUnits with
=[@Produced]-[@Rejected]; the Table fills it down. - On a KPI sheet type
=SUM(tblShifts[Produced])and the other KPI formulas from the table below. - Click Insert › PivotTable › From Table/Range, put City in Rows and GoodUnits in Values (Sum).
- Click PivotTable Analyze › PivotChart › Clustered Column, then PivotTable Analyze › Insert Slicer › Line.
- Move the KPI cells, the chart and the slicer onto a sheet named Dashboard.
स्टेप बाय स्टेप करून बघा:
- Data type करा आणि Ctrl+T दाबा; Table Design › Properties › Table Name मध्ये Table ला
tblShiftsनाव द्या. - GoodUnits column
=[@Produced]-[@Rejected]ने जोडा; Table तो खाली भरते. - KPI sheet वर
=SUM(tblShifts[Produced])आणि खालच्या table मधले बाकीचे KPI formulas type करा. - Insert › PivotTable › From Table/Range वर click करा, Rows मध्ये City आणि Values मध्ये GoodUnits (Sum) ठेवा.
- PivotTable Analyze › PivotChart › Clustered Column वर click करा, मग PivotTable Analyze › Insert Slicer › Line.
- KPI cells, chart आणि slicer Dashboard नावाच्या sheet वर हलवा.
स्टेप बाय स्टेप करके देखें:
- Data type करें और Ctrl+T दबाएँ; Table Design › Properties › Table Name में Table को
tblShiftsनाम दें. - GoodUnits column
=[@Produced]-[@Rejected]से जोड़ें; Table उसे नीचे भर देती है. - KPI sheet पर
=SUM(tblShifts[Produced])और नीचे की table के बाकी KPI formulas type करें. - Insert › PivotTable › From Table/Range पर click करें, Rows में City और Values में GoodUnits (Sum) रखें.
- PivotTable Analyze › PivotChart › Clustered Column पर click करें, फिर PivotTable Analyze › Insert Slicer › Line.
- KPI cells, chart और slicer को Dashboard नाम की sheet पर ले जाएँ.
The brief. Build a production sheet: good units per line, total produced, attainment (produced ÷ planned), reject % (rejected ÷ produced), good units by city, a chart and a Line slicer.
Calculated column formulas:
| Column | Formula |
|---|---|
| GoodUnits | =[@Produced]-[@Rejected] |
KPI cells (check your numbers):
| KPI | Formula | Result |
|---|---|---|
| Total Produced | =SUM(tblShifts[Produced]) | 22,990 |
| Attainment | =SUM(tblShifts[Produced])/SUM(tblShifts[Planned]) | 95.8% |
| Reject % | =SUM(tblShifts[Rejected])/SUM(tblShifts[Produced]) | 2.5% |
PivotTable (expected):
| City | Sum of GoodUnits |
|---|---|
| Nashik | 7,560 |
| Pune | 9,196 |
| Sambhaji Nagar | 5,660 |
| Grand Total | 22,416 |
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 Line 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 Manufacturing_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 GoodUnits?
- Filter the Table on City = Pune (Data › Filter): what is Total Produced for Pune alone?
- Add the Clustered Column PivotChart and the Line slicer to your Dashboard sheet.
Answer
Pune (9,196). For Pune only (2 rows): Total Produced = 9,430. The chart shows 3 bars, one per city.
Ravindra Bagale's Tip
Check Total Produced by hand for two rows before you trust the dashboard. If your hand answer and the cell differ, the formula range is usually wrong.
Ravindra Bagale's Tip – मराठी
Dashboard वर विश्वास ठेवण्याआधी दोन rows साठी Total Produced हाताने check करा. हाताचं उत्तर आणि cell वेगळे आले तर बहुतेक formula ची range चुकलेली असते.
Ravindra Bagale's Tip – हिंदी
Dashboard पर भरोसा करने से पहले दो rows के लिए Total Produced हाथ से check करें. हाथ का जवाब और cell अलग हों तो ज़्यादातर formula की range गलत होती है.
Loading practice tasks...
- Total units made (Easy): Add up Units made in D2:D11.
- Average rejects (Easy): Average of E2:E11, rounded to 2 decimals.
- Rows in Line A (Easy): How many rows have Line "Line A"?
- Largest units made (Easy): The largest value in D2:D11.
- Units made for Line A (Medium): Total of D2:D11 where B is "Line A".
- Line A in Pune (Medium): Total of D2:D11 where B is "Line A" and C is "Pune".
- Best in Line A (Medium): Largest E2:E11 value where B is "Line A".
- Value of row 2 (Medium): D2 times E2.
- Look up Mateo Garcia (Medium): The Units made for "Mateo Garcia" (use a lookup on column A).
- Total value (Hard): Sum of D times E for all rows.
- Share of Line A (Hard): Share of D2:D11 that is "Line A", 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".