|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
回复 23楼 whsfhwm 的帖子
如果一定要把第一列也算进去,很简单,在10楼的语句基础上稍加修改即可。
select "1" as 目,[1] as 值 from [源数据$a1:n34] union all
select "2",[2] from [源数据$a1:n34] union all
select "3",[3] from [源数据$a1:n34] union all
select "4",[4] from [源数据$a1:n34] union all
select "5",[5] from [源数据$a1:n34] union all
select "6",[6] from [源数据$a1:n34] union all
select "7",[7] from [源数据$a1:n34] union all
select "8",[8] from [源数据$a1:n34] union all
select "9",[9] from [源数据$a1:n34] union all
select "10",[10] from [源数据$a1:n34] union all
select "11",[11] from [源数据$a1:n34] union all
select "12",[12] from [源数据$a1:n34] union all
select "13",[13] from [源数据$a1:n34] union all
select "14",[14] from [源数据$a1:n34] |
|