转置具有连续多个关联值的关键字段的数据

Transposing Data with Key Field Having Multiple Associated Values In a Row

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

谢谢,

林赛

应用解决方案 here,然后删除 'Value' 的空白行和 'Column' 的 "Unrelated Column" 行并删除 'Column'.