Cannot create a PivotCache out of the data error 1004. However if I copy and paste the data onto a new worksheet PivotCache works fine

sumant28

New Member
Joined
Apr 12, 2023
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
I was trying to fiddle with xl2bb but I don't know how illuminating it would be to post two exact pieces of data. The excel file is being downloaded from a server rather than being user created. I am following the video tutorial here:
and everything works fine with his example but I cannot create the cache out of the data that I need for analysis. At first I thought it had something to do with the size of the spreadsheet but if I trim the spreadsheet down to a few lines and a few columns the error persists. If I then copy and paste that small range of data to a new worksheet there are no problems. Most online solutions I see to problems involving error 1004 is to check for hidden columns or for empty column headers but I do not know if that applies here
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,215,267
Messages
6,123,964
Members
449,137
Latest member
yeti1016

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top