劍客不語 发表于 2021-10-8 17:29:00

excel怎么将横向表格转为竖向

如下图想要实现图片效果怎么做

静可安好 发表于 2021-10-19 22:58:06

group_concat(colData,'</td><td>')

一声清啸水云闲 发表于 2021-11-18 21:04:50

e8=INDEX($B:$B,SMALL(IF($A$2:$A$51=$D8,ROW($2:$51),999),COLUMN(A1)))&""
数组--右拉--下拉

其雍 发表于 2021-12-15 14:44:04

抖音视频地址

不破不立 发表于 2021-12-28 11:09:19

????????????

邱伟 发表于 2022-1-2 16:35:06

附件供参考

崔诚玄 发表于 2022-1-13 10:08:50

d8=INDEX($A$1:$A$51,SMALL(IF(MATCH(A$2:A$51,A$2:A$51,)=ROW($2:$51)-1,ROW($3:$51)),ROW(A2)))&""三键,下拉。
e8=IFERROR(INDEX($B$3:$B$51,SMALL(IF(($A$3:$A$51)=$D8,ROW(A$3:A$51)-2,""),COLUMN(A1)),1),"")三键,右拉,下拉。

优雅的世界 发表于 2022-1-16 04:33:36

请问:你是怎样做到的?
原来是这样:let
源 = Excel.CurrentWorkbook(){},
更改的类型 = Table.TransformColumnTypes(源,{{"品项", type text}, {"项目名称", type text}}),
分组的行 = Table.Group(更改的类型, {"品项"}, {{"列1", each Text.Combine([项目名称],"、"), type nullable text}}),
按分隔符拆分列 = Table.SplitColumn(分组的行, "列1", Splitter.SplitTextByDelimiter("、", QuoteStyle.Csv), {"列1.1", "列1.2", "列1.3", "列1.4", "列1.5", "列1.6", "列1.7", "列1.8", "列1.9", "列1.10", "列1.11", "列1.12", "列1.13"}),
更改的类型1 = Table.TransformColumnTypes(按分隔符拆分列,{{"列1.1", type text}, {"列1.2", type text}, {"列1.3", type text}, {"列1.4", type text}, {"列1.5", type text}, {"列1.6", type text}, {"列1.7", type text}, {"列1.8", type text}, {"列1.9", type text}, {"列1.10", type text}, {"列1.11", type text}, {"列1.12", type text}, {"列1.13", type text}}),
替换的值 = Table.ReplaceValue(更改的类型1,null,"",Replacer.ReplaceValue,{"列1.1", "列1.2", "列1.3", "列1.4", "列1.5", "列1.6", "列1.7", "列1.8", "列1.9", "列1.10", "列1.11", "列1.12", "列1.13"})
in
替换的值
页: [1]
查看完整版本: excel怎么将横向表格转为竖向