Quick Reports के लिए Excel Pivot Table
Attendance, fees, marks या sales data बिना formula के summarize करें.
What a Pivot Table does
A Pivot Table turns a long list of rows into a short summary – totals, counts or averages by category – in a few clicks, without writing formulas. Questions like “sales of each item in each branch” or “students per class who paid fees” take seconds.
Example data (a sweet shop’s sales list):
| Date | Branch | Item | Qty (kg) | Amount (₹) |
|---|---|---|---|---|
| 01-10-2026 | Johari | Kaju Katli | 4 | 3600 |
| 01-10-2026 | Malviya | Ghewar | 3 | 1950 |
| 02-10-2026 | Johari | Ghewar | 5 | 3250 |
| 02-10-2026 | Malviya | Kaju Katli | 2 | 1800 |
| 03-10-2026 | Johari | Rasmalai | 2 | 1400 |
| 03-10-2026 | Malviya | Kaju Katli | 3 | 2700 |
| 04-10-2026 | Johari | Kaju Katli | 6 | 5400 |
| 04-10-2026 | Malviya | Rasmalai | 4 | 2800 |
Create the Pivot Table
- Click any cell in the data and press Ctrl + T to make it a Table (new rows will be included automatically later).
- Insert → PivotTable → New Worksheet → OK.
- In the PivotTable Fields pane drag Item to Rows.
- Drag Branch to Columns.
- Drag Amount to Values – it shows “Sum of Amount”.
Result:
| Sum of Amount | Johari | Malviya | Grand Total |
|---|---|---|---|
| Ghewar | 3,250 | 1,950 | 5,200 |
| Kaju Katli | 9,000 | 4,500 | 13,500 |
| Rasmalai | 1,400 | 2,800 | 4,200 |
| Grand Total | 13,650 | 9,250 | 22,900 |
Kaju Katli is the best seller (₹13,500), and the Johari branch sells more overall (₹13,650 of ₹22,900).
Change the question in seconds
| Question | What to change |
|---|---|
| How many kg of each item? | Replace Amount with Qty in Values |
| How many sales entries? | Values → click the field → Value Field Settings → Count |
| Average bill per item? | Value Field Settings → Average |
| Share of each item in total sales | Value Field Settings → Show Values As → % of Grand Total |
| Day-wise sales | Put Date in Rows (Excel may group by month – right-click → Ungroup for days) |
| Only Johari branch | Move Branch to Filters and pick Johari, or use Insert → Slicer |
Refreshing after new data
A Pivot Table does not update by itself. After adding rows, right-click the pivot → Refresh (or Data → Refresh All). Because the source is an Excel Table (Ctrl + T), the new rows are included automatically.
School examples
- Fee register: Rows = Class, Columns = Month, Values = Sum of Amount → who paid how much each month.
- Attendance export: Rows = Student, Values = Count of “P” (filter Status = P).
- Result list: Rows = Class, Columns = Result (PASS/FAIL), Values = Count of Roll → pass count per class.
To show the summary as a chart, click inside the pivot → PivotTable Analyze → PivotChart.
Google Sheets and LibreOffice
- Google Sheets: select data → Insert → Pivot table → add Rows, Columns and Values in the editor on the right. It updates automatically when data changes.
- LibreOffice Calc: Insert → Pivot Table → Current selection → drag fields to Row Fields, Column Fields and Data Fields. Refresh with right-click → Refresh.
Pivot Table क्या करता है
Pivot Table rows की लंबी list को कुछ clicks में छोटे summary में बदलता है – category के हिसाब से totals, counts या averages – बिना formulas लिखे। “हर branch में हर item की बिक्री” या “हर class में fee देने वाले students” जैसे सवाल सेकंडों में।
उदाहरण data (एक मिठाई दुकान की sales list):
| Date | Branch | Item | Qty (kg) | Amount (₹) |
|---|---|---|---|---|
| 01-10-2026 | Johari | Kaju Katli | 4 | 3600 |
| 01-10-2026 | Malviya | Ghewar | 3 | 1950 |
| 02-10-2026 | Johari | Ghewar | 5 | 3250 |
| 02-10-2026 | Malviya | Kaju Katli | 2 | 1800 |
| 03-10-2026 | Johari | Rasmalai | 2 | 1400 |
| 03-10-2026 | Malviya | Kaju Katli | 3 | 2700 |
| 04-10-2026 | Johari | Kaju Katli | 6 | 5400 |
| 04-10-2026 | Malviya | Rasmalai | 4 | 2800 |
Pivot Table बनाएँ
- Data की किसी cell पर click करके Ctrl + T से उसे Table बनाएँ (बाद में नई rows अपने-आप शामिल होंगी)।
- Insert → PivotTable → New Worksheet → OK।
- PivotTable Fields pane में Item को Rows में drag करें।
- Branch को Columns में drag करें।
- Amount को Values में drag करें – “Sum of Amount” दिखता है।
नतीजा:
| Sum of Amount | Johari | Malviya | Grand Total |
|---|---|---|---|
| Ghewar | 3,250 | 1,950 | 5,200 |
| Kaju Katli | 9,000 | 4,500 | 13,500 |
| Rasmalai | 1,400 | 2,800 | 4,200 |
| Grand Total | 13,650 | 9,250 | 22,900 |
Kaju Katli सबसे ज़्यादा बिकी (₹13,500), और Johari branch की कुल बिक्री ज़्यादा है (₹22,900 में से ₹13,650)।
सेकंडों में सवाल बदलें
| सवाल | क्या बदलें |
|---|---|
| हर item कितने kg? | Values में Amount की जगह Qty |
| कितनी sales entries? | Values → field पर click → Value Field Settings → Count |
| हर item का औसत bill? | Value Field Settings → Average |
| कुल बिक्री में हर item का हिस्सा | Value Field Settings → Show Values As → % of Grand Total |
| दिन-वार बिक्री | Date को Rows में (Excel महीने से group कर सकता है – दिनों के लिए right-click → Ungroup) |
| सिर्फ़ Johari branch | Branch को Filters में ले जाकर Johari चुनें, या Insert → Slicer |
नए data के बाद Refresh
Pivot Table अपने-आप update नहीं होता। Rows जोड़ने के बाद pivot पर right-click → Refresh (या Data → Refresh All)। Source Excel Table (Ctrl + T) है, इसलिए नई rows अपने-आप शामिल होती हैं।
School के उदाहरण
- Fee register: Rows = Class, Columns = Month, Values = Sum of Amount → हर महीने किसने कितना दिया।
- Attendance export: Rows = Student, Values = “P” की Count (Status = P filter)।
- Result list: Rows = Class, Columns = Result (PASS/FAIL), Values = Roll की Count → हर class की pass गिनती।
Summary को chart में दिखाने के लिए pivot के अंदर click → PivotTable Analyze → PivotChart।
Google Sheets और LibreOffice
- Google Sheets: data चुनें → Insert → Pivot table → दाईं ओर editor में Rows, Columns और Values जोड़ें। Data बदलने पर अपने-आप update होता है।
- LibreOffice Calc: Insert → Pivot Table → Current selection → fields को Row Fields, Column Fields और Data Fields में drag करें। Right-click → Refresh से refresh।
अक्सर पूछे जाने वाले सवाल
मेरा Pivot Table Sum की जगह Count क्यों दिखाता है?
Column में ख़ाली cells या text (जैसे “1,200 Rs”) है। Column को सिर्फ़ numbers वाला साफ़ करें, फिर Value Field Settings → Sum।
नई rows मेरे pivot में क्यों नहीं दिखतीं?
Refresh पर click करें। फिर भी न दिखें तो pivot की source range में वे शामिल नहीं – Ctrl + T से data को Table बनाकर data source को table पर बदलें।
क्या Pivot Table मेरा मूल data बदल सकता है?
नहीं। यह सिर्फ़ data पढ़कर अलग summary बनाता है, इसलिए प्रयोग करना सुरक्षित है।
