Blog  ›  Data Analytics Course in Hyderabad

Excel tutorial · Data Analytics Course in Hyderabad · Updated November 2026

Pivot Table in Excel Step by Step: A Beginner’s Guide

Learn how to create a pivot table in Excel step by step: prepare your data, insert the PivotTable, drop fields into the four areas and summarize thousands of rows in seconds, with no formulas needed.

✍️ Data Analytics Masters trainers

⏱ 8 min read

📅 Updated 7 November 2026

⚡ Short answer

Click any cell in your data, go to Insert → PivotTable, choose New Worksheet and click OK. Then drag a text field such as Region into Rows and a number field such as Sales into Values. Excel totals the numbers for every region instantly. Add a second field to Columns or Filters to break the summary down further.

Pivot Table in Excel Step by Step

The basics

What is a pivot table in Excel?

A pivot table is a summary tool. It takes a long list of rows, such as orders, invoices or attendance records, and groups it into a compact table of totals, counts or averages. You choose what to group by and Excel does the arithmetic. It is also one of the first Excel skills in our guide on how to become a data analyst in Hyderabad.

Summarize

Totals by any column

Sales per region, hours per employee, marks per subject: each is one drag away.

Compare

Side-by-side breakdowns

Put regions down the side and months across the top to spot gaps at a glance.

Explore

Rearrange without rewriting

Swap fields to answer a new question in seconds instead of rebuilding formulas.

Trust

Your source data stays safe

A pivot table reads your data and never edits it, so you can experiment freely. Use a pivot table when the question starts with “how much per…” or “how many by…” and the data runs past a screen or two. For one single total, a plain SUM formula is enough. Pivot tables sit in the Excel stage of the data analyst roadmap.

Before you start Prepare your data so the pivot table works first time 

Most pivot table problems begin in the source data, not in Excel’s settings. Check these five rules before you insert anything.

Rule

Why it matters

Quick fix

One header row

 

Each column needs a unique name to become a field

Delete any title rows above the headers

No blank rows or columns

 

Excel stops reading the range at a gap

Delete the blanks, then re-select the data

No merged cells

 

Merged headers confuse the field names

Unmerge and fill every cell

One data type per column

 

Numbers stored as text get counted, not summed

Convert text to numbers with Data → Text to Columns → Finish

Format as a Table

 

The pivot picks up new rows more easily

Click inside the data and press Ctrl+T. Microsoft explains how in its official guide to Excel tables

The examples below use a retail sales sheet with six columns: Order Date, Region, Category, Product, Units and Sales (₹). Any dataset with a similar shape will work.

🧭 Not sure where to start? A trainer can map your background to a realistic plan in one free session.

Book a free demo
The four areas of the PivotTable Fields pane

After you insert a pivot table, a Fields pane appears on the right. Every column of your data is listed at the top, and the four boxes underneath decide how the summary is built.

Area

What goes here

Example from the sales sheet

Rows

Categories listed down the left side

Region

Columns

Categories listed across the top

Category

Values

The numbers Excel calculates

Sales, as a sum

Filters

A field that filters the whole report

Order Date (year)

Rule of thumb: text fields usually go to Rows, Columns or Filters, and number fields go to Values.

Hands-on

Pivot table in Excel step by step

Follow these seven steps with the sample sales sheet. Menu names are for Excel 2019, 2021 and Microsoft 365 on Windows; older versions are very similar. Microsoft’s official PivotTable guide is a handy companion.

Your job-search checklist

Click any cell inside your data
Do not select the whole sheet. One cell inside the table is enough, because Excel detects the range on its own.

Open Insert → PivotTable
Choose From Table/Range, check that the range shown is correct and select New Worksheet. Click OK. On Windows, the keyboard route is Alt, N, V.

Drag Region into Rows
Tick Region in the Fields pane or drag it into the Rows box. The list of regions appears on the left with no numbers yet.

Drag Sales into Values
Excel adds the total of Sales against each region, plus a Grand Total row. This is your first complete pivot table.

Drag Category into Columns
The summary becomes a grid: regions down the side, categories across the top and a total in every cell.

Change how the numbers are calculated
Right-click any number, choose Summarize Values By and pick Sum, Count, Average, Max or Min. Use Count to see how many orders there were and Average for a typical order value.

Format and sort the result

Format and sort the result Right-click a number and choose Number Format to add currency or thousand separators. Right-click again and choose Sort → Largest to Smallest to rank the regions. Coming from a commerce, BBA or arts background? You can learn all seven steps in one sitting, and our guide on moving from non-IT to data analyst shows where to go next.

Six pivot table features worth learning next

Once the basic table works, these features turn it into a proper reporting tool.

Dates

Group dates by month or quarter

Right-click a date in the pivot, choose Group and select Months, Quarters or Years. Recent Excel versions often group dates automatically. Official guide: Group or ungroup data in a PivotTable.

Filters

Add a slicer

Select the pivot, open the PivotTable Analyze tab and click Insert Slicer. Clickable buttons then filter the table. Official guide: Use slicers to filter data.

Percentages

Show values as % of total

Right-click a number, choose Show Values As and then % of Grand Total to see each region’s share.

Charts

Create a PivotChart

With a cell in the pivot selected, go to PivotTable Analyze and click PivotChart. It updates whenever the pivot changes. Official guide: Create a PivotChart.

Custom math

Add a calculated field

Under PivotTable Analyze → Fields, Items & Sets, create a field such as Sales ÷ Units to get the average selling price.

Many tables

Use the Data Model

Tick “Add this data to the Data Model” when inserting the pivot, then define relationships between tables. Official guide: PivotTable with the Data Model for multiple tables.

Relationships between tables are the same idea you will meet again in Power BI, which is where many analysts go once Excel feels comfortable. Not sure which BI tool to pick? Read our Power BI vs Tableau comparison.

Troubleshooting

Pivot table not working? Common errors and fixes

 

These six problems cover most beginner questions.

Problem

Likely cause

Fix

New rows are missing

A pivot table does not update by itself

Right-click → Refresh, or press Alt+F5

Values show Count instead of Sum

The column contains text or blanks

Clean the column, then switch to Sum in Value Field Settings

A “(blank)” row appears

Empty cells in the source field

Fill the blanks, or untick (blank) in the row filter

Dates will not group

Some dates are stored as text

Convert them to real dates, then right-click → Group

“Field name is not valid”

One of the header cells is empty

Give every column a header and insert the pivot again

Grand Total looks too big

Total or subtotal rows are inside the source data

Remove those rows from the source and refresh

Why it matters

Pivot tables in data analyst work

Pivot tables come up constantly in analyst, MIS and reporting roles, and in Excel interview rounds, and our data analyst salary guide shows what those roles pay in Hyderabad. Here is how to turn the skill into something an employer can see.

✓ Build a small project around a real dataset; our beginner data analytics projects guide has ideas worth turning into portfolio pieces

✓ Be ready to explain Rows, Columns and Values out loud; practice with our data analyst interview questions

✓ Learn the SQL twin: a pivot table is GROUP BY in disguise. Our SQL course in Hyderabad teaches it properly, and our SQL interview questions guide tests it

✓ Save a screenshot of each pivot with a one-line insight, such as which region drives the most revenue

Frequently asked questions

Which Excel versions have pivot tables?

Every desktop version in common use, including Excel 2016, 2019, 2021 and Microsoft 365. Google Sheets has pivot tables too, under Insert → Pivot table, though the menus differ.

Should I use SUMIFS or a pivot table?

Use SUMIFS when one specific total must sit in a fixed cell inside a finished report. Use a pivot table when you want to explore many breakdowns quickly.

What is the shortcut to insert a pivot table?

On Windows, select a cell in your data and press Alt, then N, then V. The Create PivotTable box opens. On a Mac, use the ribbon: Insert → PivotTable.

Can one pivot table use more than one table?

Yes. Tick “Add this data to the Data Model” when you create it, then define relationships between the tables. For bigger models, most analysts move to Power BI or to the pandas library in Python; see our Python training in Hyderabad.

How long does it take to learn pivot tables?

The basics in this guide take under an hour. Real comfort comes from using them on three or four different datasets, so practice on files from your own field.

Should I learn pivot tables or Power BI first?

Pivot tables first. They teach you to group and summarize data, and Power BI and Tableau build directly on those ideas.

✍️

Written by the Data Analytics Masters training team

Trainers with 9+ years of industry experience in Excel, SQL and business intelligence. Menu names follow Excel for Windows (Microsoft 365). Meet the team on our About page.

Start your journey

Become a job-ready data analyst in 3 months

Live classes near JNTU Metro or online, real business datasets, five portfolio projects and interview preparation — everything in this guide, taught by trainers who have done the job.

Keep reading

🎓 Free demo class

Book Your Free Demo

Share your details and our team will call you to schedule a free data analytics demo class.

✅ Thank you! Our team will contact you shortly.

🔒 Your details are safe with us. No spam.