Excel 2007数据透视表中的多个相同级别列标题 [英] Multiple same level column header in Excel 2007 Pivot Table

查看:701
本文介绍了Excel 2007数据透视表中的多个相同级别列标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有一个学生数据,如下面的"图片1"所示。


这名学生数据表显示学生的姓名,以及学生在私人教练机构中开设的课程(主题)。


英语栏目中"E"的值意味着学生正在学习英语课程和
数学专栏中"M"的值意味着学生正在修读数学课程。


我正在尝试使用Excel 2007 Pivot表来了解如何许多学生正在学习英语和数学课程。


我创建了一个带有行/列设置的数据透视表,如图2所示,我可以得到一个数据透视表,显示有多少学生正在学习英语课程,按照"图3"中所示的等级排序。


然后我修改了数据透视表行/列设置,如图4中的"图片4"所示。为了获得一个数据透视表,显示有多少学生正在修读英语课程还显示了有多少学生参加了数学课程。


然而,数据透视表没有显示与英语专栏相同级别的数学专栏,而是将数学专栏列为英文专栏,我得到了一个令人困惑的数据透视表数据,如图片'图5'所示。它看起来像b $ b,就像数据透视表显示的数学课程学生一样,他们也在做英语课程。


所以我的问题是,我怎么能同时拥有英语和数学我的数据透视表同一级别的列?我想创建一个数据透视表,显示两个单独的数据 - 英语课程学生的数量和
相同年级/行的数学课程学生人数。



谢谢。

解决方案

您好ZKM128,


感谢您在MSDN论坛上发帖。


根据您的描述,我认为您的问题是Excel最终用户问题。我建议你在Excel Answers论坛上重新发布它。链接是:
http://answers.microsoft.com/en-us/office/ forum / excel


感谢您的理解。


致以诚挚的问候,

Quist


Hello,

I have a student data as shown in the 'Picture 1' below.

This student data table shows student's name, and Courses (Subject) undertaken by the student in a private coaching institution.

The value of 'E' under the English column means student is taking English course and
the value of 'M' under the Mathematics column means student is taking Math course.

I am trying to use Excel 2007 Pivot table to find out how many students are taking English and Math courses.

I have created a pivot table with Row/Column settings as shown in the picture 'Picture 2' and I could get a pivot table showing how many students are taking the English course, sorted by grade as shown in 'Picture 3'.

Then I have modified the pivot table Row/Column settings as shown in the picture 'Picture 4' in order to get a pivot table showing how many students are taking the English course and also showing how many students are taking the Mathematics course.

However the pivot table did not show the column Mathematics on the same level as the English column but put the Mathematics column as the child column of the English column and I got a confusing pivot table data as shown in the picture 'Picture 5'. It looks like the pivot table is showing the number of Mathematics course students who are ALSO doing English course.

So my question is, how can I have both English and Maths columns on the same level of my pivot table? I want to create a pivot table showing two separate data - the number of English course students and the number of Mathematics course students in the same Grade/row.

Thank you.

解决方案

Hi ZKM128,

Thank you for posting in the MSDN Forum.

According to your description, I think your issue is an Excel end user issue. I suggest you repost it on the Excel Answers Forum. The link is: http://answers.microsoft.com/en-us/office/forum/excel

Thank you for your understanding.

Best regards,
Quist


这篇关于Excel 2007数据透视表中的多个相同级别列标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆