Pivot Tables in Excel: Step-by-Step Guide (2026)
📞 +91 8075 400 500 · learn@cokonet.com Contact us
● Excel tutorial

Pivot tables in Excel: a step-by-step guide with real office examples.

Pivot tables in Excel turn thousands of rows into a clean summary in under a minute. Accounts teams use them for vendor ageing and GST rate-wise sales, sales teams for region and product totals, HR for headcount by department. It is also the single Excel skill most often tested in job interviews in Kochi and Trivandrum. This step-by-step guide takes you from raw data to a pivot table, then through grouping, calculated fields, slicers and PivotCharts, with examples you can rebuild on your own laptop.

Cokonet Academy 12 November 202610 min read
Pivot tables in Excel banner with an analyst building a spreadsheet summary on a laptop in a Kerala office

How do you create a pivot table in Excel?

Click any cell in a clean table, go to Insert > PivotTable, choose New Worksheet and click OK. Then drag a field to Rows (for example Region), a numeric field to Values (for example Amount), and optionally a field to Columns or Filters. Excel sums the values for each row and column automatically.

Prepare your data before you build a pivot table

Want to master pivot tables, Power Query and dashboards in weeks? The Advanced Excel course at Cokonet Academy teaches them on real business files.

Quick answer: Pivot tables need a tidy table: one header row, one record per row, no blank rows or columns, no merged cells and consistent data types in each column. Convert the range to an Excel Table with Ctrl + T so new rows are picked up automatically.

Typical source data is a sales register with columns for Date, Invoice No, Customer, Region, Product, Quantity, Amount and GST Rate. Dates must be real dates, not text, or grouping by month will fail. Numbers stored as text are the most common reason a pivot shows Count instead of Sum.

Spend five minutes on a quick check before every pivot: sort each column to spot blanks and odd values, use Find to catch stray spaces, and confirm the totals of the raw data with a simple SUM. That habit saves you from presenting a wrong summary to your manager. If the same file arrives every month, clean it once in Power Query and refresh, rather than fixing it by hand each time.

Pivot tables in Excel step by step

Quick answer: Insert the pivot, place fields in the four areas (Filters, Columns, Rows, Values), set the summary type and format the numbers. The whole build takes about a minute once your data is clean.

  1. Select any cell in the table.
  2. Go to Insert > PivotTable. Excel selects the table range.
  3. Choose New Worksheet and click OK.
  4. In the PivotTable Fields pane, drag Region to Rows.
  5. Drag Amount to Values. Excel shows Sum of Amount.
  6. Drag Product to Columns to see a region by product grid.
  7. Drag Customer to Filters to view one customer at a time.
  8. Right-click a value, choose Number Format and apply Indian comma style.

Newer Excel versions also offer Recommended PivotTables, a quick way to see suggested layouts.

Summarise values: sum, count, average and percentage

Quick answer: Right-click any value and use Summarize Values By for Sum, Count, Average, Max or Min, or Show Values As for % of Grand Total, % of Column, Running Total and Difference From.

To compare regions, use % of Grand Total. To track monthly growth, put months in Rows and use Difference From the previous month. To count invoices instead of adding amounts, drag Invoice No to Values and choose Count. These options answer most management questions without a single formula.

Group dates and numbers in a pivot table

Quick answer: Put a date field in Rows, right-click a date and choose Group, then select Months, Quarters and Years. For numbers such as invoice values, group into ranges like 0 to 10,000, 10,000 to 50,000 and so on.

Indian businesses often need financial-year views from April to March. One simple way is to add a helper column in the source with a formula that returns the financial year, then use it in Rows. Grouping fails if any cell in the date column is text or blank, so check the source first.

Calculated fields, slicers and PivotCharts

Quick answer: Calculated fields add formulas inside the pivot, slicers add clickable filters, and PivotCharts turn the summary into a chart that updates with it. Together they make a simple dashboard.

  • Calculated field: PivotTable Analyze > Fields, Items and Sets > Calculated Field. Example: GST Amount = Amount * GST Rate.
  • Slicer: PivotTable Analyze > Insert Slicer, choose Region or Month. Connect one slicer to several pivots through Report Connections.
  • Timeline: a slicer for dates that filters by month, quarter or year.
  • PivotChart: PivotTable Analyze > PivotChart. Choose a clustered column or line chart.

For bigger datasets or several related tables, Power Pivot and the Data Model let you build relationships, the same idea used in Power BI. You can see where that leads on our Data Analytics course page.

Pivot table examples for jobs in Kerala

Quick answer: Interviewers ask for region-wise sales, top customers, vendor ageing, GST rate-wise sales and monthly expense summaries. Practise these five and you will handle most Excel tests.

TaskRowsColumnsValues
Region-wise salesRegionMonthSum of Amount
Top 10 customersCustomer (Top 10 filter)NoneSum of Amount
Vendor ageingVendorAge bucketSum of Outstanding
GST rate-wise salesGST RateMonthTaxable value and GST
Expense summaryExpense HeadQuarterSum of Amount

Our guide to the Excel test for job interviews in Kerala lists the other skills employers check. Browse every programme we run on the all courses page.

Common pivot table problems and fixes

Quick answer: If new data is missing, refresh (Alt + F5) or use a Table as the source. If values show Count, fix numbers stored as text. If grouping fails, clean blank or text dates.

  • Blank row labels: fill empty cells in the source.
  • Duplicate items: trim spaces with TRIM or Power Query.
  • Wrong totals: check for subtotal rows copied into the source data.
  • Layout keeps changing: untick Autofit column widths in PivotTable Options.

Want hands-on practice with a trainer checking your files? Book a free consultation or call +91 8075 400 500.

Why Cokonet Academy for Excel and analytics training

Cokonet Academy is an NSDC partner training institute with campuses in Trivandrum and Kochi. Find us on Google: Cokonet Academy, Trivandrum and Cokonet Academy, Kochi.

  • NSDC partner training institute with campuses in Trivandrum and Kochi, plus a Bengaluru centre and online-live batches
  • 11,200+ successful placements and 50+ corporate hiring partners
  • Expert trainers in SAP (FICO, MM, ABAP), AWS, Python with AI, Data Analytics and Power BI
  • Placement support until you are hired, with mock interviews and resume reviews

Advanced Excel at Cokonet is taught on real business files: sales registers, ledgers and HR sheets, so PivotTables, Power Query and dashboards are practised on the kind of data your first employer will hand you.

Course details

  • Course: Advanced Excel, Cokonet Academy
  • Duration: 6 to 8 weeks, weekday and weekend live batches
  • Mode: classroom in Trivandrum and Kochi, or online-live; English with Malayalam support
  • Covers: XLOOKUP and dynamic arrays, PivotTables and Power Pivot, Power Query, interactive dashboards, forecasting and VBA macros
  • Next step: the natural first step into the Data Analytics course (SQL, Power BI, Python)
  • Placement: support until you are hired

Modules and batch dates: Advanced Excel course in Kerala.

Visit our training centres

Book a free consultation and sit in on a live session before you decide. We are open Monday to Saturday, 9:30am to 10:00pm.

Enrol now

Build pivot tables, Power Query models and dashboards on real business data. See the course and next batch, visit Cokonet Academy, or call and WhatsApp +91 8075 400 500.

Talk to a Cokonet counsellor - free, honest, and if we're not the fit, we'll say so.

Frequently asked questions

How do I create a pivot table in Excel?

Select a cell in your data, go to Insert > PivotTable, choose New Worksheet, then drag fields to Rows and Values.

Why is my pivot table showing count instead of sum?

The value column contains text or blanks. Convert the numbers to real numbers and refresh.

How do I refresh a pivot table?

Right-click the pivot and choose Refresh, or press Alt + F5. Use Refresh All for every pivot in the file.

How do I group dates by month in a pivot table?

Right-click a date in the Rows area, choose Group, and select Months and Years.

What is a calculated field in a pivot table?

A formula inside the pivot that uses other fields, for example GST Amount = Amount * GST Rate.

What is a slicer in Excel?

A clickable filter button for pivot tables and charts; one slicer can control several pivots.

Can pivot tables use data from multiple sheets?

Yes, through the Data Model and Power Pivot, which link tables with relationships.

Are pivot tables asked in job interviews?

Yes. Accounts, MIS and analyst interviews in Kerala often include a pivot table task.

What is the difference between a pivot table and a PivotChart?

A pivot table summarises data in a grid; a PivotChart is a chart linked to that pivot that updates with it.

Where can I learn advanced Excel in Kerala?

Cokonet Academy runs Advanced Excel in Trivandrum, Kochi and online-live, covering pivot tables, Power Query, dashboards and VBA.

Keep reading