Learn how to Create a Pivot Desk in Excel: A Step-by-Step Tutorial

400
SHARES
2.4k
VIEWS


The pivot desk is certainly one of Microsoft Excel’s strongest — and intimidating — features. Pivot tables can assist you summarize and make sense of huge knowledge units. Nevertheless, in addition they have a status for being sophisticated.

Computer with pivot table examples over an orange background with a green arch.

The excellent news is that studying how one can create a pivot desk in Excel is far simpler than it’s possible you’ll imagine.

We’re going to stroll you thru the method of making a pivot desk and present you simply how easy it’s. First, although, let’s take a step again and be sure to perceive precisely what a pivot desk is and why you would possibly want to make use of one.

Desk of Contents

Download 10 Excel Templates for Marketers [Free Kit]

In different phrases, pivot tables extract which means from that seemingly limitless jumble of numbers in your display. Extra particularly, it permits you to group your knowledge in several methods so you may draw useful conclusions extra simply.

The “pivot” a part of a pivot desk stems from the truth that you may rotate (or pivot) the info within the desk to view it from a special perspective.

To be clear, you’re not including to, subtracting from, or in any other case altering your knowledge once you make a pivot. As an alternative, you’re merely reorganizing the info so you may reveal helpful info.

Video Tutorial: Learn how to Create Pivot Tables in Excel

We all know pivot tables might be complicated and daunting, particularly if it’s your first time creating one. On this video tutorial, you’ll learn to create a pivot desk in six steps and acquire confidence in your skill to make use of this highly effective Excel function.

By immersing your self, you may grow to be proficient in creating pivot tables in Excel very quickly. Pair it with the under equipment of Excel templates to get began on the suitable foot.

What are pivot tables used for?

If you happen to’re nonetheless feeling a bit confused about what pivot tables really do, don’t fear. That is a type of applied sciences which can be a lot simpler to grasp when you’ve seen it in motion.

The aim of pivot tables is to supply user-friendly methods to rapidly summarize massive quantities of knowledge. They can be utilized to higher perceive, show, and analyze numerical knowledge intimately.

With this info, you may assist determine and reply unanticipated questions surrounding the info.

Listed below are 5 hypothetical eventualities the place a pivot desk may very well be useful.

1. Evaluating Gross sales Totals of Totally different Merchandise

Let’s say you may have a worksheet that incorporates month-to-month gross sales knowledge for 3 completely different merchandise — product 1, product 2, and product 3. You need to determine which of the three has been producing probably the most income.

A method can be to look by means of the worksheet and manually add the corresponding gross sales determine to a working whole each time product 1 seems.

The identical course of can then be carried out for product 2 and product 3 till you may have totals for all of them. Piece of cake, proper?

Think about, now, that your month-to-month gross sales worksheet has 1000’s upon 1000’s of rows. Manually sorting by means of every crucial piece of knowledge may actually take a lifetime.

With pivot tables, you may robotically mixture all the gross sales figures for product 1, product 2, and product 3 — and calculate their respective sums — in lower than a minute.

Picture Supply

2. Displaying Product Gross sales as Percentages of Complete Gross sales

Pivot tables inherently present the totals of every row or column when created. That’s not the one determine you may robotically produce, nevertheless.

Let’s say you entered quarterly gross sales numbers for 3 separate merchandise into an Excel sheet and turned this knowledge right into a pivot desk. The pivot desk robotically offers you three totals on the backside of every column — having added up every product’s quarterly gross sales.

However what when you needed to search out the proportion these product gross sales contributed to all firm gross sales, somewhat than simply these merchandise’ gross sales totals?

With a pivot desk, as an alternative of simply the column whole, you may configure every column to provide the column’s proportion of all three column totals.

Let’s say three merchandise totaled $200,000 in gross sales, and the primary product made $45,000. You may edit a pivot desk to say this product contributed 22.5% of all firm gross sales.

To indicate product gross sales as percentages of whole gross sales in a pivot desk, merely right-click the cell carrying a gross sales whole and choose Present Values As > % of Grand Complete.

Picture Supply

3. Combining Duplicate Information

On this situation, you’ve simply accomplished a weblog redesign and needed to replace many URLs. Sadly, your weblog reporting software program didn’t deal with the change properly and cut up the “view” metrics for single posts between two completely different URLs.

In your spreadsheet, you now have two separate situations of every particular person weblog publish. To get correct knowledge, that you must mix the view totals for every of those duplicates.

Picture Supply

As an alternative of getting to manually seek for and mix all of the metrics from the duplicates, you may summarize your knowledge (through pivot desk) by weblog publish title.

Voilà, the view metrics from these duplicate posts will probably be aggregated robotically.

Picture Supply

4. Getting an Worker Headcount for Separate Departments

Pivot tables are useful for robotically calculating issues you can’t simply discover in a fundamental Excel desk. A kind of issues is counting rows that every one have one thing in widespread.

For example, let’s say you may have an inventory of workers in an Excel sheet. Subsequent to the staff’ names are the respective departments they belong to.

You may create a pivot desk from this knowledge that reveals you every division’s title and the variety of workers that belong to these departments.

The pivot desk’s automated features successfully get rid of your job of sorting the Excel sheet by division title and counting every row manually.

5. Including Default Values to Empty Cells

Not each dataset you enter into Excel will populate each cell. If you happen to’re ready for brand spanking new knowledge to return in, you might need a lot of empty cells that look complicated or want additional rationalization.

That’s the place pivot tables are available in.

Picture Supply

You may simply customise a pivot desk to fill empty cells with a default worth, similar to $0 or TBD (for “to be decided”). For big knowledge tables, with the ability to tag these cells rapidly is a worthwhile function when many individuals are reviewing the identical sheet.

To robotically format the empty cells of your pivot desk, right-click your desk and click on PivotTable Choices.

Within the window that seems, verify the field labeled “For Empty Cells Present” and enter what you’d like displayed when a cell has no different worth.

Picture Supply

Learn how to Create a Pivot Desk

Now that you’ve got a greater sense of pivot tables, let’s get into the nitty-gritty of how one can really create one.

On making a pivot desk, Toyin Odobo, a Information Analyst, mentioned:

“Curiously, MS Excel additionally gives customers with a ‘Really useful Pivot Desk Operate.’ After analyzing your knowledge, Excel will advocate a number of pivot desk layouts that might be useful to your evaluation, which you’ll choose from and make different modifications if crucial.

“Nevertheless, this has its limitations in that it might not at all times advocate the most effective association to your knowledge!

“As an information skilled, my recommendation is that you simply hold this in thoughts and discover the choice of studying how one can create a pivot desk by yourself from scratch.”

With this nice recommendation in thoughts, listed here are the steps you should utilize to create your very personal pivot desk.

Step 1. Enter your knowledge into a variety of rows and columns.

Each pivot desk in Excel begins with a fundamental Excel desk, the place all of your knowledge is housed. To create this desk, merely enter your values right into a set of rows and columns, like the instance under.

how to create a pivot table in excel: starting data

Right here, I’ve an inventory of individuals, their schooling stage, and their marital standing. With a pivot desk, I may discover out a number of items of knowledge. I may learn the way many individuals with grasp’s levels are married, as an illustration.

At this level, you’ll need to have a purpose to your pivot desk. What sort of info are you attempting to glean by manipulating this knowledge? What would you wish to be taught? It will provide help to design your pivot desk within the subsequent few steps.

Step 2. Insert your pivot desk.

Inserting your pivot desk is definitely the simplest half. You’ll need to:

  • Spotlight your knowledge.
  • Go to Insert within the high menu.
  • Click on Pivot desk.

how to create a pivot table in excel: insert pivot table button

Word: If you happen to’re utilizing an earlier model of Excel, “PivotTables” could also be below Tables or Information alongside the highest navigation, somewhat than “Insert.”

A dialog field will come up, confirming the chosen knowledge set and providing you with the choice to import knowledge from an exterior supply (ignore this for now). It should additionally ask you the place you need to place your pivot desk. I like to recommend utilizing a brand new worksheet.

how to create a pivot table in excel: creation dialog

You sometimes received’t need to edit the choices until you need to change your chosen desk and alter the placement of your pivot desk.

When you’ve double-checked all the things, click on OK.

You’ll then get an empty end result like this:

how to create a pivot table in excel: blank starting point

That is the place it will get a little bit complicated, and the place I used to cease as a newbie as a result of I used to be so thrown off. We’ll be modifying the pivot desk fields subsequent so {that a} desk is rendered.

Step 3. Edit your pivot desk fields.

You now have the “skeleton” of your pivot desk, and it’s time to flesh it out. After you click on OK, you will note a pane so that you can edit your pivot desk fields.

how to create a pivot table in excel: pivot table fields

This generally is a bit complicated to take a look at if that is your first time.

On this pane, you may take any of your current desk fields (for my instance, it might be First Identify, Final Identify, Training, and Marital Standing), and switch them into certainly one of 4 fields:

Filter

This turns your chosen discipline right into a filter on the high, by which you’ll section knowledge. For example, under, I’ve chosen to filter my pivot desk by Training. It really works identical to a traditional filter or knowledge splicer.

how to create a pivot table in excel: filter

Column

This turns your chosen discipline into vertical columns in your pivot desk. For example, within the instance under, I’ve made the columns Marital Standing.

how to create a pivot table in excel: columns

Understand that the sector’s values themselves are became columns, and never the unique discipline title. Right here, the columns are “Married” and “Single.” Fairly nifty, proper?

Row

This turns your chosen discipline into horizontal rows in your pivot desk. For example, right here’s what it appears to be like like when the Training discipline is ready to be the rows.

how to create a pivot table in excel: rows

Worth

This turns your chosen discipline into the values that populate the desk, providing you with knowledge to summarize or analyze.

Values might be averaged, summed, counted, and extra. For example, within the under instance, the values are a rely of the sector First Identify, telling me which individuals throughout which academic ranges are both married or single.

how to create a pivot table in excel: resulting values

Step 4: Analyze your pivot desk.

After you have your pivot desk, it’s time to reply the query you posed for your self initially. What info had been you attempting to be taught by manipulating the info?

With the above instance, I needed to know the way many individuals are married or single throughout academic ranges.

I due to this fact made the columns Marital Standing, the rows Training, and the values First Identify (I additionally may’ve used Final Identify).

Values might be summed, averaged, or in any other case calculated in the event that they’re numbers, however the First Identify discipline is textual content. The desk robotically set it to Rely, which meant it counted the variety of first names matching every class. It resulted within the under desk:

how to create a pivot table in excel: resulting values

Right here, I’ve discovered that throughout doctoral, decrease secondary, grasp, major, and higher secondary academic ranges, these variety of persons are married or single:

  • Doctoral: 2 single
  • Decrease secondary: 1 married
  • Grasp: 2 married, 1 single
  • Major: 1 married
  • Higher secondary: 3 single

Now, let’s have a look at an instance of those identical rules, however for locating the common variety of impressions per weblog publish on the HubSpot weblog.

Step-by-Step Excel Pivot Desk

  1. Enter your knowledge into a variety of rows and columns.
  2. Type your knowledge by a selected attribute (if wanted).
  3. Spotlight your cells to create your pivot desk.
  4. Drag and drop a discipline into the “Row Labels” space.
  5. Drag and drop a discipline into the “Values” space.
  6. Advantageous-tune your calculations.

Step 1. I entered my knowledge into a variety of rows and columns.

I need to discover the common variety of impressions per HubSpot weblog publish. First, I entered my knowledge, which has a number of columns:

  • Prime Pages
  • Clicks
  • Impressions

The desk additionally consists of CTR and place, however I will not be together with that in my pivot desk fields.

Step 2. I sorted my knowledge by a selected attribute.

I need to kind my URLs by Clicks to make the data simpler to handle as soon as it turns into a pivot desk. This step is elective, however might be useful for big knowledge units.

To kind your knowledge, click on the Information tab within the high navigation bar and choose Type. Within the window that seems, you may kind your knowledge by any column you need and in any order.

For instance, to kind my Excel sheet by “Clicks,” I chosen this column title below Column after which chosen Largest to Smallest because the order.

Step 3. I highlighted my cells to create a pivot desk.

Like within the earlier tutorial, spotlight your knowledge set, click on Insert alongside the highest navigation, and click on PivotTable.

Alternatively, you may spotlight your cells, choose Really useful PivotTables to the suitable of the PivotTable icon, and open a pivot desk with pre-set options for how one can arrange every row and column.

Step 4. I dragged and dropped a discipline into the “Rows” space.

Now, it is time to begin constructing my desk.

Rows decide what distinctive identifier the pivot desk will arrange your knowledge by.

Since I need to arrange a bunch of running a blog knowledge by URL, I dragged and dropped the “Prime pages” discipline into the “Rows” space.

Word: Your pivot desk might look completely different relying on which model of Excel you’re working with. Nevertheless, the final rules stay the identical.

Step 5. I dragged and dropped a discipline into the “Values” space.

Subsequent up, it is time to add in some values by dragging a discipline into the Values space.

Whereas my focus is on impressions, I nonetheless need to see clicks. I dragged it into the Values field, and left the calculation on Sum.

Then, I dragged Impressions into the values field, however I did not need to summarize by Sum. As an alternative, I needed to see the Common.

I clicked the small i subsequent to Impressions, chosen “Common” below Summarize by, then clicked OK.

When you’ve made your choice, your pivot desk will probably be up to date accordingly.

Step 6. I fine-tuned my calculations.

The sum of a specific worth will probably be calculated by default, however you may simply change this to one thing like common, most, or minimal, relying on what you need to calculate.

I did not have to fine-tune my calculations additional, however you at all times can. On a Mac, click on the i subsequent to the worth and select your calculation.

If you happen to’re utilizing a PC, you’ll have to click on on the small upside-down triangle subsequent to your worth and choose Worth Discipline Settings to entry the menu.

If you’ve categorized your knowledge to your liking, save your work, and remember to investigate the outcomes.

Pivot Desk Examples

From managing cash to holding tabs in your advertising and marketing efforts, pivot tables can assist you retain monitor of necessary knowledge. The chances are limitless!

See three pivot desk examples under to maintain you impressed.

1. Making a PTO Abstract and Tracker

Picture Supply

If you happen to’re in HR, working a enterprise, or main a small staff, managing workers’ holidays is important. This pivot permits you to seamlessly monitor this knowledge.

All that you must do is import your workers’ identification knowledge together with the next knowledge:

  • Sick time.
  • Hours of PTO.
  • Firm holidays.
  • Additional time hours.
  • Worker’s common variety of hours.

From there, you may kind your pivot desk by any of those classes.

2. Constructing a Finances

Picture Supply

Whether or not you’re working a undertaking or simply managing your personal cash, pivot tables are a wonderful software for monitoring spend.

The only funds simply requires the next classes:

  • Date of transaction.
  • Withdrawal/bills.
  • Deposit/earnings.
  • Description.
  • Any overarching classes (like paid advertisements or contractor charges).

With this info, you may see your largest bills and brainstorm methods to save lots of.

3. Monitoring Your Marketing campaign Efficiency

Picture Supply

Pivot tables can assist your staff assess the efficiency of your advertising and marketing campaigns.

On this instance, marketing campaign efficiency is cut up by area. You may simply see which nation had the very best conversions throughout completely different campaigns.

This can assist you determine ways that carry out properly in every area and the place ads should be modified.

Pivot Desk Should-Is aware of

There are some duties which can be unavoidable within the creation and utilization of pivot tables. To help you with these duties, we’ve offered step-by-step directions on how one can carry them out.

Learn how to Create a Pivot Desk With A number of Columns

Now you can create a pivot desk, how about we attempt to create one with a number of columns? Simply comply with these steps:

    • Choose your knowledge vary. Choose the info you need to embody in your pivot desk, together with column headers.
  • Insert a pivot desk. Go to the Insert tab within the Excel ribbon and click on on the “PivotTable” button.
  • Select your knowledge vary. Within the “Create PivotTable” dialog field, be sure that the right vary is robotically chosen, and select the place you need to place the pivot desk (e.g., a brand new worksheet or an current worksheet).
  • Designate a numbe