[英]Transfer Excel Pivot table to Access
I am currently working with a large set of data in excel, a pivot table of 35X42380. 我目前正在使用Excel(35X42380的数据透视表)中的大量数据进行处理。 We needed to transfer this data into an access database, but doing this with a line by line macro was a nightmare, after 40 minutes of hanging I gave up.
我们需要将这些数据传输到一个访问数据库中,但是通过逐行宏执行此操作是一场噩梦,在我放弃40分钟后,我放弃了。
I was wondering if there is a fast way to unpivot this table to transfer to Access. 我想知道是否有一种快速的方法来取消将此表转移到Access。
the data resembles: 数据类似于:
Zip | 80 | 81 | 82 |
00501 | 1.0040 | 0.8963 | 0.7707 |
00544 | 1.0040 | 0.8963 | 0.7707 |
01001 | 0.6721 | 0.6614 | 0.6342 |
01002 | 0.6721 | 0.6614 | 0.6342 |
the big issue i'm having is that the zip column is A3:42380, the 35 ids are AM2:BU2, and the pivot table is AM3:BU42380 我遇到的最大问题是zip列是A3:42380,35个ID是AM2:BU2,数据透视表是AM3:BU42380
What I would like is: 我想要的是:
Product | 产品展示 Zip |
邮编 Factor
因子
80 | 80 | 00501 |
00501 | 1.0040
1.0040
Forgive me in advance for my terrible formatting. 请原谅我糟糕的格式。
Also, I cannot easily change the format of the table, so avoiding that would be a plus. 另外,我不能轻易更改表的格式,因此避免这样做是有好处的。
Thanks, 谢谢,
Jay 松鸦
Pivot table is just grouped information that feeds from other data set. 数据透视表只是从其他数据集提供的分组信息。 To find data set: Click on pivot table You will see pivot table tools in the ribbon Click on Analyze and Change Data source.
要查找数据集:单击数据透视表。您将在功能区中看到数据透视表工具。单击分析和更改数据源。 In Data source you will find location of table or range: This is your un-pivoted table
在“数据源”中,您将找到表或范围的位置:这是未透视的表
To export excel sheet in Access: Click on external data then select excel. 要在Access中导出excel工作表,请执行以下操作:单击外部数据,然后选择excel。 Select import the data into new table.
选择将数据导入新表。 Select your workbook to import.
选择要导入的工作簿。
您也可以双击枢纽分析表中的总计取消枢纽,但如果它不是枢纽分析表,则无法取消枢纽。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.