将行中具有多个关联值的关键字段转换为数据

我有一个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 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 

谢谢,

林赛

在这里应用解决scheme,然后删除“值”为空的行和“列”的“不相关列”,删除“列”。