banner



Which Is An Effective Way To Change A Sum Of Price Field In The Values Area To An Average Function?

Contextures

Create a Pivot Table in Excel

Follow these easy steps to create an Excel pivot table, so you can quickly summarize Excel data. Watch the short video to see the steps, or follow the written steps. Get the free workbook, to follow along. There's also an interactive pivot table below, that you can try, before you build your own!

NOTE: This tutorial gives you a quick overview of creating a pivot table. For detailed tutorial, go to the How to Plan and Set Up a Pivot Table page.

Create a Pivot Table

Watch this video, to see the steps for creating a pivot table in Excel 2013 and later. There are written instructions below the video, and the full Video Transcript is at the end of the page.

Preparing Your Pivot Table Data

Before you create a pivot table, organize your data into rows and columns, and create an Excel Table. There are instructions here.

In this example the source data contains information about food sales, in two regions -- East and West.

pivot table data

Creating a Pivot Table

After your source data is prepared, you can create a pivot table. First, see which pivot table layouts are suggested by Excel.

  1. Select any cell in the source data table.
  2. On the Ribbon, click the Insert tab.
  3. In the Tables group, click Recommended PivotTables.

    recommended pivot tables

  4. In the Recommended PivotTables window, scroll down the list, to see the suggested layouts. Click on a layout, to see a larger view.

    recommended pivot tables

  5. Click on the layout that you want to use, then click OK.

Modifying the Pivot Table

A pivot table is created in your workbook, on a new sheet, in the layout that you selected. When you select a cell within the pivot table, a PivotTable Field List appears, at the right of the worksheet.

pivot table and field list

You can change the layout of the pivot table, after it's been created. We'll add the TotalPrice field to the pivot table.

  1. In the PivotTable Field List, add a check mark to the TotalPrice field. The TotalPrice field is automatically added to the pivot table, in the Values area, as Sum of TotalPrice.

add fields from field list

Try This Pivot Table

Before you build your own pivot table, you can see how a pivot table works, by trying the interactive example shown below. Here are a few things you can try:

  • In cell B1, click the drop down arrow, and select one or more states
  • In cell B2, click the drop down arrow, and select one or more business types
  • In cell B3, click the drop down arrow, and select Y (yes) or N (no), to see insurance policies with or without flood insurance

You can download a copy of the file, to test the pivot table features on your own computer.

Get the Sample File

Click here to download the zipped sample file with the Region Sales data. The zipped file is in xlsx format, and does not contain macros.

Video Transcript: Create a Pivot Table

Here is the full transcript for the Create a Pivot Table video.

A pivot table is a great way to summarize data in Excel. Here we have a table with sales records.

We can see where things were sold, what we sold, and how much and how much money we got on each sale. We can scroll down and see row after row of data.

Now I could create formulas to summarize things, but with a pivot table it will just be a few clicks to get totals. In Excel 2013 it's easier than ever to create a pivot table because there's a new tool to help you with some suggested arrangements for your data.

  • I'm going to click any cell in this table.
  • On the Insert tab, at the left, there's a Tables group and here's the new tool, which is Recommended Pivot Tables. I'll click that.

It opens up a new window, and based on the data that I've got here, it's suggesting some layouts

  • So the first one is showing the cities and then taking the total price and giving me the total sales in each city. That might be useful if I'm interested in where things are selling.
  • If we want to know what's selling, here's a layout that has the different product categories and then for each region how much we sold.
  • Below that, we can see those product categories again, and just the total price, instead of broken out by region.

You can scroll down, there are lots more options. If I go down further, we're looking at the product categories and then the product names below that. This time it's the quantity, rather than the price.

  • I'll select that one. I'll click OK, and it puts a new sheet in the workbook.

Here's the layout that I selected. Now it's got the quantity. I'm also going to add the total price. Over here, I can see all the fields from that data sheet.

  • I'll click on total price. That puts another column here where the values are.

This one went in as Sum of Total Price. This one is Count of Quantity. If I go back and look at my data, I can see that going down the quantity column, there's one item here that's text rather than a number.

So Excel sees this not as a number column, but as either text or mixed numbers and text. So it defaults to Count. But we can change that.

  • I'll just right click on one of those numbers, Summarize Values By, and instead of Count, I'll click on Sum.

So now we can see the total quantity and the total price for each product category and product.

It's a quick way to get started. You can change the layout after you've selected one of the sample layouts, but you're up and running very quickly.

More Tutorials

FAQs - Pivot Tables

How to Plan and Set Up a Pivot Table

Pivot Table Introduction

Which Is An Effective Way To Change A Sum Of Price Field In The Values Area To An Average Function?

Source: https://www.contextures.com/createpivottable.html

Posted by: hayescamagirse.blogspot.com

0 Response to "Which Is An Effective Way To Change A Sum Of Price Field In The Values Area To An Average Function?"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel