Excel数据透视表新技巧:妙用∑数值字段实现按行统计数据
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"> 文 前 推 荐 </p><span style="color: black;"><a style="color: black;">数据透视表的自动更新</a></span><span style="color: black;"><a style="color: black;">人力资源需要<span style="color: black;">把握</span>的6条数据透视表操作</a></span><span style="color: black;"><a style="color: black;">借用数据透视表批量新建工作表</a></span><span style="color: black;"><a style="color: black;">在行中按<span style="color: black;">要求</span>汇总多列数据</a></span><img src="https://mmbiz.qpic.cn/mmbiz_png/bAz5IvF9nicic4odDFUECRT00unQ79au9TT8EtpSiaYY8Q8xDicoxkLCHyf2mfrlWgmcxjNktAxhia207oic9hzsJplw/640?wx_fmt=png&wxfrom=5&wx_lazy=1&wx_co=1&tp=webp" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/LibHyzFUiaj5icqcX4QlHE66jjicPP9JvUgrzlmgPwDOwD6YPx0lat6IUicHAYGGffdVPxXuk2iaVa9kovj1Gmj0kV0w/640?wx_fmt=png&wxfrom=5&wx_lazy=1&wx_co=1&tp=webp" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">编按:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Excel数据透视表默认将数值类型放在列表头中进行统计,<span style="color: black;">怎样</span>将数值类型放在行中进行统计呢?这将用到一个透视表小技巧——把多个值字段自动生成的“∑数值”字段拖入行区域中。∑数值字段<span style="color: black;">包括</span>的数据项<span style="color: black;">便是</span>各个值字段<span style="color: black;">或</span>数值类型。</span></p><span style="color: black;">岁末年初总是少不了<span style="color: black;">各样</span>统计报表,<span style="color: black;">例如</span>小美<span style="color: black;">近期</span>就需要<span style="color: black;">按照</span><span style="color: black;">机构</span>的<span style="color: black;">需求</span>编制基金报表,但她遇到了问题。</span><span style="color: black;">原始数据:</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuKcb17tPwhkLSa1xdXI9Ncfp8ppczosyDgs9YFyfN2uPIeyvnUs5KwQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"><span style="color: black;">机构</span>报表样式:</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuMh57I7OZdLJFaxVlDibeIA16UUuG1CPP5N78iaEUbibyro1DwJ3aHo5JQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">小美用数据透视表,不管怎么拖动字段,只能得到一个近似的报表:</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuTVml6jic6xk0UpzdKKJJwoSPd8GpbGEbJ2S5a3pXo3v5Y9leHopCGvA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"><span style="color: black;">机构</span>报表形式,是把原始数据中的两个数值类型(字段)“合作<span style="color: black;">公司</span>”“自营网点”变<span style="color: black;">成为了</span>数据项进行统计。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuvTsvB7UIuYFreZiagTVCfDUzk5LWE7J4BtAEN3ic7L1biaDuGibA6kLQng/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">而小美做的常规透视表,将数值类型“合作<span style="color: black;">公司</span>”“自营网点”<span style="color: black;">做为</span>字段放在列中。</span><span style="color: black;"><span style="color: black;">怎样</span><span style="color: black;">才可</span>将数值类型(字段)当作行中“数据项”做出<span style="color: black;">机构</span>需要的报表呢?</span><span style="color: black;">很简单:生成一个含数值类型的字段,<span style="color: black;">而后</span>把这个字段拖入到行区域中<span style="color: black;">就可</span>!</span><strong style="color: blue;"><span style="color: black;">Step01 <span style="color: black;">插进</span>透视表</span></strong><span style="color: black;">选中A1:E15<span style="color: black;">插进</span>数据透视表,存放位置<span style="color: black;">选取</span>新工作表。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWutvyddzVwmkpfj2rQjPf3KIEdVOp0NEnfRbs9pzWCc9ELa8IAbl7V4A/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><strong style="color: blue;"><span style="color: black;">Step02 拖动字段</span></strong><span style="color: black;">在右侧的字段列表,将<span style="color: black;">机构</span>拖到列,日期拖到行,将“合作<span style="color: black;">公司</span>”和“自营网点”拖到值的区域。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuGn42ljGmfc1ypr0g6D3qd0YSzCUBhyxZkESKKs5qp5HRuZuBBAboUQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"><span style="color: black;">重视</span>,<span style="color: black;">倘若</span>值区域中有多个字段,则会自动生成一个叫“∑数值”的新字段。新字段<span style="color: black;">包括</span>的数据项<span style="color: black;">便是</span>值区域中的各字段。譬如当前生成的“∑数值”字段就<span style="color: black;">包括</span>“求和项:合作<span style="color: black;">公司</span>”和“求和项:自营网点”两个数据项。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuagmQqibK0BUsBYV8XJxb6zej30wgqFPj8ovjz1Xl45G2vpX6BTtMhwA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><strong style="color: blue;"><span style="color: black;">Step03 组合日期</span></strong><span style="color: black;">右击A列的任意一个日期单元格<span style="color: black;">选取</span>“组合”,勾选<span style="color: black;">初始</span>于和终止于,并<span style="color: black;">检测</span>日期数据<span style="color: black;">是不是</span>和原始数据一致,下方的“步长”<span style="color: black;">选取</span>“月”,点击确定完成月的组合。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWu04T6rtrcA8S1Oq4n4YB9sVVtW5S8vdvzIxdLGaxA2wKkkoT2icYJm2Q/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><strong style="color: blue;"><span style="color: black;">Step04 将新的“数值”字段拖入行区域</span></strong><span style="color: black;">将“列”下方自动生成的“∑数值”字段拖到“行”下方,<span style="color: black;">这般</span>就<span style="color: black;">能够</span>将“自营网点”和“合作<span style="color: black;">公司</span>”<span style="color: black;">做为</span>数据项<span style="color: black;">摆列</span>在行区域。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuV4ZXk2TQD5O3MCHgAuBUH6ay08ArzoCCHKltkYHg6CJ0zLmnsHSClw/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><strong style="color: blue;"><span style="color: black;">Step05 设置布局</span></strong><span style="color: black;">单击透视表,<span style="color: black;">选取</span>“设计 — 布局 — 报表布局 — 以表格形式<span style="color: black;">表示</span>”,结果如下。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWupv657ArfUZECcPj1nv2XpttT8q7XKFBT8PibhfZtMuWorPueupp9THA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">在透视表上右击<span style="color: black;">选取</span>“数据透视表选项”,勾选“合并且居中<span style="color: black;">摆列</span>带标签的单元格”,将月份数据设置为合并单元格的形式。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWukcGibBhicqJ9xV6icNOUcmuqloGDhicRd7eoqGZic8JvEO0WS4NWzn9ZF2A/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><strong style="color: blue;"><span style="color: black;">Step06 修改名<span style="color: black;">叫作</span></span></strong><span style="color: black;">用“<span style="color: black;">查询</span>和替换”修改字段名<span style="color: black;">叫作</span>。将“求和项:”替换为空格。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWu9piaFwTHZoAY7odPcpcHHBwBSWGTnVaFp2rsHIJKmPNjFGf7zam6y0Q/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">替换后:</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWubMUS4fUD7S4VOJ4U7iavFpl9icee9GRaKlBmEZWWrvozvduXibV8ET4sg/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">将“值”更改为“网点类型”,<span style="color: black;">这般</span>就完成报表的制作了。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWufoVxkz1fOX2blPkj76dx6QBZuyzNooJPtlBD6OXHicJuzOyRIibKRkCQ/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">最后还<span style="color: black;">能够</span><span style="color: black;">按照</span>自己需要,对报表的样式进行美化,设置合适的颜色和字体<span style="color: black;">就可</span>。</span><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMw8K2XibxHoQOl4LCRmqubWuHDesa5uvRogQibBq8oibYpVGgicHp7gjRvWhiabU5eyliazjvoYbNjkQaiaw/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">总结:</span><span style="color: black;">将多个值字段拖入值区域中会自动生成<span style="color: black;">包括</span>各值字段类型的“∑数值”字段。将“∑数值”字段拖入行区域中,<span style="color: black;">就可</span>按行统计各数值。</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">课件下载方式</p><span style="color: black;">扫码入群,下载本文教程配套的练习文件。</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/sz_mmbiz_png/k6kCsib3eJMyibQmiaaDrtUnY82jibb7PWHiakic36CyvOqVysJ9jicdkTZ6bSLGPpzYc9I5xQdaTk8KSavnYEbNVqzJA/640?wx_fmt=png&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p><img src="https://mmbiz.qpic.cn/mmbiz_png/fnGIZJCNaLLjSbe7mU2kuwhib59a8rRHWE8D8NzJiaVGS1JsrnBBQIpqibnVH3HbOqTr0vTTgr48Ndu4By534qwog/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">宠 粉 福 利</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"> 2元领取:全套Excel技巧视频+200套模板 </p><span style="color: black;"><img src="https://mmbiz.qpic.cn/mmbiz_gif/6aVaON9Kibf5ibKRPQgZ9XgbVNsIeQUnfKSiaErmr8dtdicicS3A8m6TiavR6ZB0Eah3pD0kjQg8ACyNb1x5ibdqRg2jA/640?wx_fmt=gif&wxfrom=5&wx_lazy=1&tp=webp" style="width: 50%; margin-bottom: 20px;"></span><span style="color: black;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">点"阅读原文",学习<span style="color: black;">更加多</span>的Excel视频教程</span></strong></span></span>
你的见解真是独到,让我受益良多。 回顾历史,我们感慨万千;放眼未来,我们信心百倍。
页:
[1]