|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
用SQL创建数据透视表也可
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [1$] union all
select 姓名,差旅费,业务招待费,办公费,0 as 培训费 from [2$] union all
select 姓名,差旅费,0 as 业务招待费,0 as 办公费,培训费 from [3$] union all
select 姓名,差旅费,0 as 业务招待费,0 as 办公费,0 as 培训费 from [4$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [5$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [6$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [7$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [8$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [9$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [10$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [11$] union all
select 姓名,差旅费,业务招待费,0 as 办公费,0 as 培训费 from [12$]
1-12月合并透视.rar
(7.27 KB, 下载次数: 52)
[ 本帖最后由 河坊古道 于 2011-3-10 16:46 编辑 ] |
|