Thanks for the rep
You're absolutely right. As a result, it is necessary to clear the ground before you create your Pivot Table.
The examples below create two Pivot Tables. The first creates a PT from the source data, the second creates a second PT using the cache.
Both delete the existing PT before recreating it.
An alternative approach, I guess, if you are learning VBA, is to record a macro whilst you use an Advanced Filter to extract unique entries from column A and then add a formula AVERAGEIF. I'll leave that option with you
See the attached workbook.
Regards, TMS
Bookmarks