English 中文(简体)
Advanced Excel - Pivot Table Tools
  • 时间:2024-12-22

Advanced Excel - Pivot Table Tools


Previous Page Next Page  

Source Data for a PivotTable

You can change the range of the source data of a PivotTable. For example, you can expand the source data to include more rows of data.

However, if the source data has been changed substantially, such as having more or fewer columns, consider creating a new PivotTable.

Step 1 − Cpck anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the ribbon, with an option named ANALYZE.

Step 2 − Cpck on the option - ANALYZE.

Step 3 − Cpck on Change Data Source in the Data group.

Change Data Source

Step 4 − Cpck on Change Data Source. The current Data Source is highpghted. The Change PivotTable Data Source Window appears.

Step 5 − In the Table/Range Box, select the Table/Range you want to include.

Step 6 − Cpck OK.

Change Pivot Data Source

Change to a Different External Data Source.

If you want to base your PivotTable on a different external source, it might be best to create a new PivotTable. If the location of your external data source is changed, for example, your SQL Server database name is the same, but it has been moved to a different server, or your Access database has been moved to another network share, you can change your current connection.

Step 1 − Cpck anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with an ANALYZE option.

Step 2 − Cpck ANALYZE.

Step 3 − Cpck on Change Data Source in the Data Group. The Change PivotTable Data Source window appears.

Step 4 − Cpck on the option Choose Connection.

Choose Connection

A window appears showing all the Existing Connections.

In the Show box, keep All Connections selected. All the Connections in your Workbook will be displayed.

Step 5 − Cpck on Browse for More

Existing Connection Window

The Select Data Source window appears.

Step 6 − Cpck on New Source. Go through the Data Connection Wizard Steps.

Data Connection Wizard Window

Alternatively, specify the File name, if your Data is contained in another Excel Workbook.

Select Data Source Windows

Delete a PivotTable

Step 1 − Cpck anywhere on the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with the ANALYZE option.

Step 2 − Cpck on the ANALYZE tab.

Step 3 − Cpck on Select in the Actions Group as shown in the image given below.

Select Action Group

Step 4 − Cpck on Entire PivotTable. The entire PivotTable will be selected.

Entire PivotTable

Step 5 − Press the Delete Key.

Delete Entire PivotTable

If the PivotTable is on a separate Worksheet, you can delete the PivotTable by deleting the entire Worksheet also. To do this, follow the steps given below.

Step 1 − Right-cpck on the Worksheet tab.

Step 2 − Cpck on Delete.

Worksheet Delete

You get a warning message, saying that you cannot Undo Delete and might lose some data. Since, you are deleting only the PivotTable Sheet you can delete the worksheet.

Step 3 − Cpck on Delete.

Undo Delete

The PivotTable worksheet will be deleted.

Deleted Entire PivotTable

Using the Timepne

A PivotTable Timepne is a box that you can add to your PivotTable that lets you filter by time, and zoom in on the period you want. This is a better option compared to playing around with the filters to show the dates.

It is pke a spcer you create to filter data, and once you create it, you can keep it with your PivotTable. This makes it possible for you to change the time period dynamically.

Step 1 − Cpck anywhere in the PivotTable. The PIVOTTABLE TOOLS appear on the Ribbon, with ANALYZE option.

Step 2 − Cpck ANALYZE.

Step 3 − Cpck on Insert Timepne in the Filter group. An Insert Timepnes Dialog Box appears.

Insert Timepne Filter

Step 4 − In the Insert Timepnes dialog box, cpck on the boxes of the date fields you want.

Step 5 − Cpck OK.

Insert Timepne Dialogbox

The timepne for your PivotTable is in place.

Timepne PivotTable

Use a Timepne to Filter by Time Period

Now, you can filter the PivotTable using the timepne by a time period in one of four time levels; Years, Quarters, Months or Days.

Step 1 − Cpck the small arrow next to the time level-Months. The four time levels will be displayed.

Time Level Months

Step 2 − Cpck on Quarters. The Timepne filter changes to Quarters.

Change To Quaters

Step 3 − Cpck on Q1 2015. The Timespan Control is highpghted. The PivotTable Data is filtered to Q1 2015.

Step 4 − Drag the Timespan handle to include Q2 2015. The PivotTable Data is filtered to include Q1, Q2 2015.

Timespan Handle

At any point of time, to clear timepne, cpck on the Clear Filter button.

Clear Filter Button

The timepne is cleared as shown in the image given below.

Timepne Got Clear

Create a Standalone PivotChart

You can create a PivotChart without creating a PivotTable first. You can even create a PivotChart that is recommended for your data. Excel will then create a coupled PivotTable automatically.

Step 1 − Cpck anywhere on the Data Table.

Step 2 − Cpck on the Insert tab.

Step 3 − In the Charts Group, Cpck on Recommended Charts.

Create Standalone PivotChart

The Insert Chart Window appears.

Step 4 − Cpck on the Recommended Charts tab. The charts with the PivotChart icon PivotChart icon in the top corner are PivotCharts.

Recommended Charts Tab

Step 5 − Cpck on a PivotChart. A Preview appears on the Right side.

Preview Appears PivotChart

Step 6 − Cpck OK once you find the PivotChart you want.

Your standalone PivotChart for your Data is available to you.

PivotChart For Your Data Advertisements