Excel数据透视表快速汇总了数量和金额,我想求均价
<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></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9icAc2QPahlzshZw5Ar1bwbQWTWicsY6AibTEC7kFTibicV8A5StiaaQ26yXw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">咱们</span>在<span style="color: black;">插进</span>选项卡下,<span style="color: black;">选取</span>了一个数据透视表,将商品放在行标签,放数量和金额放入值,得到的<span style="color: black;">各样</span>商品对应的数量和金额,如下所示:</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9FAhx0cC3ialYqGibXWLnN1YkUbjtRJryONNMWElFVOK9bHPBD05aFibQQ/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><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></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">小伙伴一的操作</span></h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">有的小伙伴可能是这么操作的,在数据表的右边输入“=”号,<span style="color: black;">而后</span>点选金额/数量,操作动图如下:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_gif/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9w5udtiaEkmhx3IoWoGQg8lxhvdNWVvdQP6LSOjbibKTnKRngxkZP2Znw/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用这种<span style="color: black;">办法</span>得到了<span style="color: black;">第1</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 style="color: black;">亦</span>是很<span style="color: black;">繁杂</span>的:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9libTowQYHPicJYTsBXLaSLht2GYpz5lGc0yfUjTHAUtDY0Z7lFCC5UicQ/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第1个小<span style="color: black;">伙伴</span>算均价失败了。。。</span></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">小伙伴二的操作</span></h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">小伙伴二<span style="color: black;">首要</span><span style="color: black;">无</span>急着进行直接输入公式,而是先在菜单栏里面,找到Excel选项,<span style="color: black;">而后</span>将<span style="color: black;">运用</span>getpivotdata函数<span style="color: black;">这儿</span>进行了取消勾选</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9Uzlj4thPoseGEoXSFCWUQX7j56ib3uGVTDE3kAxxXSOdO8lyfsy2x5w/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>和小伙伴一进行了<span style="color: black;">一样</span>的点选操作,这个时候,结果就正常了,如下所示:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_gif/NldKzJicrVe7pERQicH4dSeq14sDfkpwm94rPxM97BOjX8oMWIMPbEynpyNqGELzUlfib5SJMwwOlQp3yswic0GxzA/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这个时候,公式里面<span style="color: black;">无</span><span style="color: black;">那样</span>一堆长串的了,直接得到了结果。</span></p>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">小伙伴三的操作</span></h1>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">小伙伴三<span style="color: black;">无</span>去Excel选项里面进行设置,而是点击数据透视表,<span style="color: black;">而后</span>在分析里面,<span style="color: black;">选取</span>了字段、项目和集,<span style="color: black;">选取</span>计算字段</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9aKsmTpF757thNyxnDlvfB0bkNEHqkr5kLxuRc9douJRhmBibQETTgyA/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>在计算字段里面输入了一个均价,<span style="color: black;">而后</span>借助下面的字段里面进行<span style="color: black;">插进</span>,=金额/数量</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9jC61anNKUOlsic2tChpViazjSuhkXdiaOtAGTjpQrXtQHvVOXug9ptBTg/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">最后</span>得到了最后的结果:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/NldKzJicrVe7pERQicH4dSeq14sDfkpwm9nDQgVgdUqyLUKMT9pDAQQsq51JFru3EfvmKZsc58ePbaUEG3AuCAMg/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">针对</span>小伙三的操作,均价<span style="color: black;">已然</span><span style="color: black;">作为</span>了数据透视表的一部分,是一家人了</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">针对</span>小伙二的操作,均价还只是数据透视表的<span style="color: black;">伴侣</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">当数据透视表需要添加一个新字段的时候,你是哪种小伙呢?</span></p>
哈哈、笑死我了、太搞笑了吧等。 外链发布社区 http://www.fok120.com/
页:
[1]