Solved

Pivot Table name is not valid

Posted on 2011-09-26
8
430 Views
Last Modified: 2012-05-12
screencap
Hi,

I am getting the above error and I really don't understand what is the reason. I've done some research and it talks about my first row of source being empty! But my source is clean and no rows are empty!

Any help is much appreciated!
0
Comment
Question by:Shanan212
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 50
ID: 36690011
Hello,

Do you have valid names in all the column headings of the data source? Have you recently changed the headings?

Excel would not let you create a pivot table without valid column headings. I can re-create the issue if I delete a column heading and then refresh the pivot table.

Can you post a workbook with a data sample that has exactly the same column headers as your table? Replace confidential data with dummy data. A few rows of data will be sufficient.

cheers, teylyn
0
 
LVL 13

Author Comment

by:Shanan212
ID: 36694803
File attached!

The same error came up even when I recreated the pivot!
GL-Summary---Master-File---Copy.xls
0
 
LVL 50

Assisted Solution

by:Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 250 total points
ID: 36698469
Hello,

I can see the error when I try to refresh the existing pivot table.

But I can create a new pivot table from the source data just fine. It could be that the pivot cache has become corrupt.

Attached is the file with the re-created pivot table. Is that one working for you?

cheers, teylyn
GL-Summary---Master-File---Copy1.xls
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 13

Author Comment

by:Shanan212
ID: 36702527
It works that way. But when I try to refresh it via a macro, then it gives the msg

"The pivot table name is not valid"

Then right after that, when I try a manual refresh, it gives the same error as post 27340090

What could be the reason for this? All the macro was trying to do this is

    Worksheets("Pivotss").Activate
   ' For Each pt In ActiveSheet.PivotTables
   '     pt.RefreshTable
  '  Next pt
   ActiveSheet.PivotTables("PivotTable1").RefreshTable

Open in new window



The middle 3 lines are disabled

Any feedback is appreciated
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 36707813
The source for your pivot is columns F:L on the GL summary sheet, which is why you get the error (H:L are blank).
0
 
LVL 50
ID: 36708433
<head-desk>
0
 
LVL 13

Author Comment

by:Shanan212
ID: 36709530
Yup :)

I found this error as well but now it developed into some other problem. The reason source data is changing is because the source table is being deleted and re-created. Everytime it does that, the source changes!
0
 
LVL 13

Author Closing Comment

by:Shanan212
ID: 36709539
Thanks!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question