Excel多行到多列转换



我有一个电子表格,其中超过6500行显示了以下格式的化学物质及其关系列表:

Chemical | 1,1,2-Trichloro-1,2,2-trifluoroethane :- {FREON TC} | FREON TC  
Chemical | 1,1,2-Trichloro-1,2,2-trifluoroethane :- {FREON TC} | ug/l    
Chemical | 1,1,2-Trichloro-1,2,2-trifluoroethane :- {FREON TC} | mg/l

我想将所有这些转换为一行,例如

Chemical | 1,1,2-Trichloro-1,2,2-trifluoroethane :- {FREON TC} | FREON TC | ug/l | mg/l 

这只是该电子表格的摘录,并且有许多化学物质。任何建议都非常感谢。这是来自访问数据库的导出电子表格,因此,如果有访问查询可以帮助我所有的耳朵。

使用excel中的电源查询找到了答案,只需要一些较小的更改(分界符字符),但效果很好:

https://www.mrexcel.com/forum/power-bi/1063813-convert-2nd-column-values-rows-rows-when-column-1-same-name.html

最新更新