Free tutorials & notes in Hindi & English · Clean code examples 🧰 Free PDF & Image Tools →
Guide 26 · Documents & Office · Hindi + English

Excel Pivot Table for Quick Reports

Summarize attendance, fees, marks or sales data without writing formulas.

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):

DateBranchItemQty (kg)Amount (₹)
01-10-2026JohariKaju Katli43600
01-10-2026MalviyaGhewar31950
02-10-2026JohariGhewar53250
02-10-2026MalviyaKaju Katli21800
03-10-2026JohariRasmalai21400
03-10-2026MalviyaKaju Katli32700
04-10-2026JohariKaju Katli65400
04-10-2026MalviyaRasmalai42800
Rules for clean source data: one heading row, no blank rows or columns, one type of data per column (dates as dates, numbers as numbers), no merged cells.

Create the Pivot Table

  1. Click any cell in the data and press Ctrl + T to make it a Table (new rows will be included automatically later).
  2. Insert → PivotTable → New Worksheet → OK.
  3. In the PivotTable Fields pane drag Item to Rows.
  4. Drag Branch to Columns.
  5. Drag Amount to Values – it shows “Sum of Amount”.

Result:

Sum of AmountJohariMalviyaGrand Total
Ghewar3,2501,9505,200
Kaju Katli9,0004,50013,500
Rasmalai1,4002,8004,200
Grand Total13,6509,25022,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

QuestionWhat 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 salesValue Field Settings → Show Values As → % of Grand Total
Day-wise salesPut Date in Rows (Excel may group by month – right-click → Ungroup for days)
Only Johari branchMove 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):

DateBranchItemQty (kg)Amount (₹)
01-10-2026JohariKaju Katli43600
01-10-2026MalviyaGhewar31950
02-10-2026JohariGhewar53250
02-10-2026MalviyaKaju Katli21800
03-10-2026JohariRasmalai21400
03-10-2026MalviyaKaju Katli32700
04-10-2026JohariKaju Katli65400
04-10-2026MalviyaRasmalai42800
साफ़ source data के नियम: एक heading row, कोई ख़ाली row या column नहीं, हर column में एक ही तरह का data (dates को date, numbers को number), कोई merged cells नहीं।

Pivot Table बनाएँ

  1. Data की किसी cell पर click करके Ctrl + T से उसे Table बनाएँ (बाद में नई rows अपने-आप शामिल होंगी)।
  2. Insert → PivotTable → New Worksheet → OK।
  3. PivotTable Fields pane में Item को Rows में drag करें।
  4. Branch को Columns में drag करें।
  5. Amount को Values में drag करें – “Sum of Amount” दिखता है।

नतीजा:

Sum of AmountJohariMalviyaGrand Total
Ghewar3,2501,9505,200
Kaju Katli9,0004,50013,500
Rasmalai1,4002,8004,200
Grand Total13,6509,25022,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 branchBranch को 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।

Frequently Asked Questions

Why does my Pivot Table show Count instead of Sum?

The column contains blanks or text (for example “1,200 Rs”). Clean the column so it has only numbers, then Value Field Settings → Sum.

Why do new rows not appear in my pivot?

Click Refresh. If they still do not appear, the pivot’s source range does not include them – convert the data to a Table with Ctrl + T and change the data source to the table.

Can a Pivot Table change my original data?

No. It only reads the data and builds a separate summary, so it is safe to experiment.

How was this lesson?

Your feedback helps us make the content better.

Write a review or suggestion (optional)

After approval, your name and city may appear publicly with your review. Please do not write your email or phone number.

▶ CodingEasily on YouTube

Learn with video lessons in easy Hindi

Featured video: RDBMS Part 3 – Class XI Commerce IT

▶ Subscribe – it’s free