---
title: เทคนิคการลบข้อมูลเก่าที่ค้างอยู่ใน Pivot Table
url: https://www.thepexcel.com/clear-old-items-pivot/
type: post
date: 2014-01-14
updated: 2020-04-01
author: Sira Ekabut
categories: [Pivot Table]
tags: [pivot, clear]
---

# เทคนิคการลบข้อมูลเก่าที่ค้างอยู่ใน Pivot Table

เวลาที่เราทำ Pivot Table เสร็จแล้วมีการเปลี่ยนแปลงข้อมูลใน Source Data อาจทำให้มีเหตุการณ์ที่มี **Item ที่เคยอยู่ใน Source Data เก่าตกค้างใน Drop Down List** ใน Row Label, Column Label, หรือ Filter ได้

 

[![pivot-old-item](https://www.thepexcel.com/wp-content/uploads/2014/01/pivot-old-item.gif)](https://www.thepexcel.com/wp-content/uploads/2014/01/pivot-old-item.gif)

 

**หากเพื่อนๆใช้ Excel ตั้งแต่ Version 2007 ขึ้นไป** สามารถแก้ไขเหตุการณ์ดังกล่าวได้ง่ายมากๆ โดย

 
1. คลิ๊กขวาที่ตาราง Pivot
2. เลือก PivotTable options
3. เลือก Data tab
4. ในหมวด Retain Items **เลือก None**
5. OK แล้วกด Refresh ตาราง Pivot อีกครั้ง

 

[![pivot-old-item2](https://www.thepexcel.com/wp-content/uploads/2014/01/pivot-old-item2.gif)](https://www.thepexcel.com/wp-content/uploads/2014/01/pivot-old-item2.gif)

 

สำหรับ Excel Version เก่า สามารถไปโหลด Script VBA เพื่อแก้ไขได้ที่ [http://www.contextures.com/xlPivot04.html](http://www.contextures.com/xlPivot04.html)

---

_Source: [https://www.thepexcel.com/clear-old-items-pivot/](https://www.thepexcel.com/clear-old-items-pivot/)_
