基本上我很想使用数据透视表,但它不能正确显示。
说我有
+---------+---+-----+
| A | B | C |
+-+---------+---+-----+
|1| Date |Qty|Title|
+-+---------+---+-----+
|2|4/01/2013|10 |Foo |
+-+---------+---+-----+
|3|4/01/2013|20 |Foo |
+-+---------+---+-----+
|4|4/01/2013|5 |Bar |
+-+---------+---+-----+
|5|4/01/2013|5 |Test1|
+-+---------+---+-----+
|6|4/01/2013|15 |Test2|
+-+---------+---+-----+
我需要实现:
+---------+---+-----+
| A | B | C |
+-+---------+---+-----+
|1| Date |Qty|Title|
+-+---------+---+-----+
|2|4/01/2013|30 |Foo |
+-+---------+---+-----+
|3|4/01/2013|5 |Bar |
+-+---------+---+-----+
|4|4/01/2013|5 |Test1|
+-+---------+---+-----+
|5|4/01/2013|15 |Test2|
+-+---------+---+-----+
数据透视表的问题是我似乎无法解决它想要看起来像这样的事实:
+---------+---+-----+
| A | B | C |
+-+---------+---+-----+
|1| Date |Qty|Title|
+-+---------+---+-----+
|2|4/01/2013|30 |Foo |
+-+---------+---+-----+
|3| |5 |Bar |
+-+---------+---+-----+
|4| | |Test1|
+-+---------+---+-----+
|5| |15 |Test2|
+-+---------+---+-----+
而且因为这是被导入到脚本中,我无法控制,由于各种原因使用每一行,我需要所有行都包含所有信息。