Excel数据透视表怎么样计算新字段?
<img src="https://mmbiz.qpic.cn/mmbiz_gif/QXd8ibABxiacyxuHeXGbnUaG1ExusWEdAeLfNLYAKIicibQC2L5WLr3kVXVqMAxyJex2FKQXXAnuCGChJGXMDSjEaQ/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"><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>流水数据。</span><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;"><span style="color: black;"><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>得到<span style="color: black;">各样</span>商品的数量和金额,如下:</p>
</span><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;"><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><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;"><span style="color: black;"><span style="color: black;">第1</span>个结果没问题,但向下填充时,却<span style="color: black;">发掘</span>所有结果<span style="color: black;">同样</span>,且此公式很<span style="color: black;">繁杂</span>:</span><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;"><span style="color: black;">有<span style="color: black;">伴侣</span>看到后,说那种操作有问题,应该<span style="color: black;">这般</span>操作:</span><span style="color: black;">他<span style="color: black;">无</span>着急输入公式,是先在菜单栏中,找到Excel选项,再将<span style="color: black;">运用</span>getpivotdata函数处,取消勾选。</span><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;"><span style="color: black;">之后<span style="color: black;">办法</span>不变,结果就正常了,如下:</span><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;"><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><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;"><span style="color: black;">之后在计算字段中,输入一个均价,=金额/数量</span><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;"><span style="color: black;"><span style="color: black;">最后</span>结果如下:</span><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 style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">·END·</strong></span></p><span style="color: black;"><span style="color: black;">倘若</span>你是<span style="color: black;"><strong style="color: blue;">新</strong></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;">Excel</span>了。</span><span style="color: black;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/QXd8ibABxiacx62qAWqia6yQzRCwTosN1OhVibspZ6nuzoNXseYSRcyd1wxSl0HKt50NKAnDgOuAlCNWt1qicwOEnjw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></span>
页:
[1]