Excel 将数据与一行中具有多个关联值的关键字字段进行转置
我有一个带有ID号的键列,对于行中的每个ID号,在不同的数据列中可能有多达5个值,因此看起来如下所示:Excel 将数据与一行中具有多个关联值的关键字字段进行转置,excel,excel-formula,excel-2013,Excel,Excel Formula,Excel 2013,我有一个带有ID号的键列,对于行中的每个ID号,在不同的数据列中可能有多达5个值,因此看起来如下所示: ID Unrelated Column Unrelated Column Data1 Data2 Data3 Data4 Data5 001 Ignore this data Ignore this Data red blue 002 Ignore this Data Ignore this Data
ID Unrelated Column Unrelated Column Data1 Data2 Data3 Data4 Data5
001 Ignore this data Ignore this Data red blue
002 Ignore this Data Ignore this Data yellow green orange red
003 Ignore this Data Ignore this Data
004 Ignore this Data Ignore this Data purple blue black
ID Data
001 red
001 blue
002 yellow
002 green
002 orange
002 red
004 purple
004 blue
004 black
我想做的是在另一个工作表中使用公式,以不同的方式呈现数据,如下所示:
ID Unrelated Column Unrelated Column Data1 Data2 Data3 Data4 Data5
001 Ignore this data Ignore this Data red blue
002 Ignore this Data Ignore this Data yellow green orange red
003 Ignore this Data Ignore this Data
004 Ignore this Data Ignore this Data purple blue black
ID Data
001 red
001 blue
002 yellow
002 green
002 orange
002 red
004 purple
004 blue
004 black
谢谢,
< P>琳赛< /P> < p>应用解决方案,然后删除“值”空白和“列”和“列”的“无关列”。“你”是否被Excel卡住了,或者你会考虑移动到谷歌表上吗?我现在被Excel卡住了,但是谢谢。