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 R rutujadhore60 Follow 0 Improve R rutujadhore60 Follow 0 Improve Article Tags : Excel ExcelGuide Explore Excel FundamentalIntroduction to MS Excel5 min readDownload and Install MS Excel 2024/365 Edition4 min readExcel Spreadsheet4 min readWorkbooks in Microsoft Excel4 min readWorksheets in Excel4 min readDelete All Rows Below Certain Row or Active Cell in Excel5 min readRemove Hyperlinks in Excel6 min readHow to Use Fractions in Excel6 min readExcel FormattingData Formatting in Excel5 min readExpand Cells to Fit the Text Automatically in Excel3 min readExcel Date and Time Formats3 min readInsert a Picture in a Cell in MS Excel3 min readHow to Unhide and Show Hidden Columns in Excel: Step by Step Guide9 min readConditional Formatting in Excel8 min readApply Conditional Formatting Based On VLookup in Excel3 min readHow to Compare Two Columns and Delete Duplicates in Excel3 min readHow to Find Duplicate Values in Excel Using VLOOKUP3 min readExcel Formula & FunctionBasic Excel Formulas3 min readUse of Concatenate in Excel5 min readPercentage in Excel8 min readExcel LEFT, RIGHT, MID, LEN, and FIND Functions5 min readExcel IF Function10 min readExcel VLOOKUP Function12 min readDynamic Array Formulas in Excel2 min readCOUNTIF Function in Excel - Step by Step Tutorial7 min readHow To Use MATCH Function in Excel (With Examples)6 min readExcel Data Analysis & VisualizationHow to Sort by the Last Name in Excel?5 min readHow to Sort Data by Color in Excel?3 min readHow to Swap Columns in Excel: 3 Methods Explained8 min readSparklines in Excel8 min readPivot Tables in Excel3 min readHow to Sort a Pivot Table in Excel : A Complete Guide7 min readPivot Table Slicers in Excel5 min readData Visualizations in Power View3 min readChart Visualizations in Excel Power View8 min readTable Visualization in Excel Power View5 min readMultiple Visualizations in Excel Power View4 min readDynamic Excel Dashboards Using Picklists3 min readAdvanced ExcelHow to Use Solver in Excel3 min readPower Query â Source Reference as File Path in Cell2 min readHow to Create Relational Tables in Excel?4 min readHow to Import, Edit, Load and Consolidate Data in Excel Power Query?7 min readConnecting Excel to SQLite4 min readHandling Integers in Advanced Excel2 min readPower Pivot for Excel10 min readExcel Power Pivot - Managing Data Model6 min readTable and Chart Combinations in Excel Power Pivot3 min readExcel Data VisualizationAdvanced Excel - Chart Design4 min readHow to Create a Graph in Excel: A Step-by-Step Guide for Beginners8 min readFormatting Charts in Excel3 min readCreate a Waterfall Chart in Excel5 min readScatter and Bubble Chart Visualization in Excel5 min readCreate a Pie Chart in Excel5 min readHow To Create A Pictograph In Excel?3 min readHow to make a 3 Axis Graph using Excel?7 min readHow To Create a Tornado Chart In Excel?2 min readHow to Create Flowchart in Excel: Step-by-Step Guide6 min readExcel VBA & MacrosHow to Insert and Run VBA Code in Excel?2 min readVariables and Data Types in VBA Excel9 min readHow to Use the VBA Editor in Excel: Quick Guide 20247 min readVBA Strings in Excel8 min readVBA Find Function in Excel5 min readActiveX Control in Excel VBA3 min readMultidimensional Arrays in Excel VBA2 min readVBA Error Handling10 min readHow to Remove Duplicates From Array Using VBA in Excel?2 min readMacros In Excel With Examples10 min readAssigning Excel Macro to Objects3 min readHow to Enable Macros in Excel (2025): Step-by-Step Guide9 min readPower BI & Advance Features in ExcelPower BI - Tools and Functionalities5 min readPower BI - Data Sources and its type4 min readPower BI - How to Create a Report using Excel Data in Workspace4 min readData Analysis Expressions (DAX)7 min readPower BI - How to upload Excel Files to Dashboard?3 min read Like