How to Delete a Pivot Table in Excel? Last Updated : 15 May, 2021 Comments Improve Suggest changes Like Article Like Report A pivot table is a tool in Excel that allows you to quickly summarize data in the spreadsheet. When it comes to deleting a Pivot Table, there are a few different ways you can do this. The method you choose will depend on how you want to delete the Pivot Table. 1.Delete the Pivot Table and the Resulting Data. Steps to delete the Pivot table and the Resulting Data- Select any cell in the Pivot TableSelect the ‘Analyze’ tab. Click on the ‘Select’ option in the Actions group.Choose Entire Pivot tableHit the Delete key.2.Delete the Pivot Table but Keep the Resulting Data. If we want to delete the entire pivot table but retain the resulting data, the procedure is more or less the same Steps to delete the Pivot table but Keep the Resulting Data: Select any cell in the Pivot TableChoose the ‘Analyze’ tab in the ribbon. In the Actions group, choose the ‘Select’ option. Select the Entire Pivot table. Right-click on any cell of the selected Pivot Table.Click on Copy. This will copy the data of the entire Pivot Table. Click the Home tab. Click on the Paste option. In the Paste Values section, click on the first icon. The above steps would delete the Pivot Table but still keep the resulting data. 3.Delete the Resulting Data but Keep the Pivot Table. Below are the steps to keep the Pivot table and remove the resulting data only: Select any cell in the Pivot TableChoose the ‘Analyze’ tab in the ribbon. Select the ‘Clear’ option in the actions group. Choose the ‘Clear All’ option.4.Delete All Pivot Tables in One Go. We have learned the easy way of removing or deleting the pivot table in Excel. But deleting many pivot tables in a workbook is not that easy. So we need VBA code to delete pivot tables in one go Below is VBA code: Sub DeleteAllPivotTables() Dim Ws As Worksheet, Pt As PivotTable On Error Resume Next For Each Ws In ActiveWorkbook.Worksheets For Each Pt In Ws.PivotTables Ws.Range(Pt.TableRange2.Address).Delete Shift:=xlUp Next Pt Next Ws End Sub This code needs to be placed in the regular module in the VB Editor Below are the steps to put this code in the module: Open an Excel sheet.Use the shortcut ALT + F11(it will open the VBA Editor window).In this VBA Editor window, on the left, there is a project explorer. Right-click on any object in the sheet where you want this code to work. Hover the cursor on Insert. Click on Module. This will insert a new module for the current worksheet. In the module window, write VBA code, as the code will run it will remove all pivot tables. Things to Remember We can remove the Excel pivot table and pivot worksheet as well.Once the Excel pivot table is removed by using VBA code we cannot undo the action, so it is safe to have a backup copy.Once the Excel pivot table is removed any changes in the database will not reflect on the removed field. Comment More infoAdvertise with us R rutujadhore60 Follow Improve Article Tags : Excel ExcelGuide Explore MS Excel Tutorial - Learn Excel Online Free 11 min read Excel FundamentalIntroduction to MS Excel 5 min read Download and Install MS Excel 2024/365 Edition 4 min read Excel Spreadsheet 4 min read Workbooks in Microsoft Excel 4 min read Worksheets in Excel 4 min read Workbooks in Microsoft Excel 4 min read Delete All Rows Below Certain Row or Active Cell in Excel 5 min read Remove Hyperlinks in Excel 6 min read How to Use Fractions in Excel 6 min read Excel FormattingData Formatting in Excel 5 min read Expand Cells to Fit the Text Automatically in Excel 3 min read Excel Date and Time Formats 3 min read Insert a Picture in a Cell in MS Excel 3 min read How to Unhide and Show Hidden Columns in Excel: Step by Step Guide 9 min read Conditional Formatting in Excel 8 min read Apply Conditional Formatting Based On VLookup in Excel 3 min read How to Compare Two Columns and Delete Duplicates in Excel 3 min read How to Find Duplicate Values in Excel Using VLOOKUP 3 min read Excel Formula & FunctionBasic Excel Formulas 3 min read Use of Concatenate in Excel 5 min read Percentage in Excel 8 min read Excel LEFT, RIGHT, MID, LEN, and FIND Functions 5 min read Excel IF Function 10 min read Excel VLOOKUP Function 12 min read Dynamic Array Formulas in Excel 2 min read COUNTIF Function in Excel - Step by Step Tutorial 7 min read How To Use MATCH Function in Excel (With Examples) 6 min read Excel Data Analysis & VisualizationHow to Sort by the Last Name in Excel? 5 min read How to Sort Data by Color in Excel? 3 min read How to Swap Columns in Excel: 3 Methods Explained 8 min read Sparklines in Excel 8 min read Pivot Tables in Excel 3 min read How to Sort a Pivot Table in Excel : A Complete Guide 7 min read Pivot Table Slicers in Excel 5 min read Data Visualizations in Power View 3 min read Chart Visualizations in Excel Power View 8 min read Table Visualization in Excel Power View 5 min read Multiple Visualizations in Excel Power View 4 min read Dynamic Excel Dashboards Using Picklists 3 min read Advanced ExcelHow to Use Solver in Excel 3 min read Power Query â Source Reference as File Path in Cell 2 min read How to Create Relational Tables in Excel? 4 min read How to Import, Edit, Load and Consolidate Data in Excel Power Query? 7 min read Connecting Excel to SQLite 4 min read Handling Integers in Advanced Excel 2 min read Power Pivot for Excel 10 min read Excel Power Pivot - Managing Data Model 6 min read Table and Chart Combinations in Excel Power Pivot 3 min read Excel Data VisualizationAdvanced Excel - Chart Design 4 min read How to Create a Graph in Excel: A Step-by-Step Guide for Beginners 8 min read Formatting Charts in Excel 3 min read Create a Waterfall Chart in Excel 5 min read Scatter and Bubble Chart Visualization in Excel 5 min read Create a Pie Chart in Excel 5 min read How To Create A Pictograph In Excel? 3 min read How to make a 3 Axis Graph using Excel? 7 min read How To Create a Tornado Chart In Excel? 2 min read How to Create Flowchart in Excel: Step-by-Step Guide 6 min read Excel VBA & MacrosHow to Insert and Run VBA Code in Excel? 2 min read Variables and Data Types in VBA Excel 9 min read How to Use the VBA Editor in Excel: Quick Guide 2024 7 min read VBA Strings in Excel 8 min read VBA Find Function in Excel 5 min read ActiveX Control in Excel VBA 3 min read Multidimensional Arrays in Excel VBA 2 min read VBA Error Handling 10 min read How to Remove Duplicates From Array Using VBA in Excel? 2 min read Macros In Excel With Examples 10 min read Assigning Excel Macro to Objects 3 min read How to Enable Macros in Excel (2025): Step-by-Step Guide 9 min read Power BI & Advance Features in ExcelPower BI - Tools and Functionalities 5 min read Power BI - Data Sources and its type 4 min read Power BI - Data Sources and its type 4 min read Power BI - How to Create a Report using Excel Data in Workspace 4 min read Data Analysis Expressions (DAX) 7 min read Power BI - How to upload Excel Files to Dashboard? 3 min read Like