219mze 发表于 2024-10-2 13:44:34

Excel的数据透视表六种排序办法


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">&nbsp;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;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">1、</span>常规排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">2、</span>组内排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">3、</span>多关键字排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">4、</span>手动拖动排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">5、</span>手动输入排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">6、</span>设置透视表默认排序</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">1、</span>常规排序</span></strong></span></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>排序,降序,如图2。</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficF3P1EShnzQM79RCvyibPKwrM5589bF2qWdMHZ79fDOibLW7TP8Tic22ew/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">1</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficjFvw2w8fQBxOLatPD5GR2jWztpIvYxBIzXNverGpWCZCLobuHj7Kng/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">2</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">2、</span>组内排序</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如图3,先按片区总收入由大到小排序,再按省份由大到小排序。</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4fic3IjqXSI0xgaBa3qlmEeubG5Cr31YKJ5hnsTicaFl5S8J5Wv4accdo9g/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p><span style="color: black;">图3</span>
    <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;">再选中表格所有数据,<span style="color: black;">插进</span>→数据透视表,先把“片区”拉到行标签,再把“省份”拉到行标签,“收入”拉到数值,如图4:</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficsLn2q3QdsbtJqoI2rZ21AoHkIVVJmX6TT5sHibJ0UF2NuuWcyPfaCeA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">图4</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">结果截图如图5:</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficSXpVOGEiadiaibpaKp1w1ITjCfjGM0ibcA1FufrvRZfiaicYNAvxyWAI1nPA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">图5</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>片区的总收入排序了,如图6:</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficL26ibzgkCUP7LAZWqFJFNSp8IJM64I3YqN6HicBUpH67KPKXDs1QVnJg/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">图6</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 style="color: black;">根据</span>省份收入数据排序了,如图7:</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficDfVjcztzWb9NcThsibSdMdygMQLCw6VO2JuhQuTEf93mIPWCraKAiaJA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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>7</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">3、</span>多关键字排序</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如图8,要先对收入<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>实现,如图9,<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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficvVapicbOEor9p63hKWhMibPsILcaB0KSIqumzfgJbp0S3HRnTMTDdoag/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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>8</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficwV0Ubwm3uJXX1JqfFic7EX7HRPQOMyO1ltMLJOlqrZuPzdHibEW2Abkw/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">9</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 style="color: black;">→</span>其他排序选项<span style="color: black;">,</span>去掉“每次更新报表时自动排序”前面的勾,如图10-12。</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4fica1SZB3tx6FDBTHhOkpLHW1xBOBn28k9owG8skwibImHtEKXWVItviaCQ/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">图10</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4fic5eiaFVNPvu9FeIkQRqTKqI0j0YafjgMD3r4lglDjELcqZSUkhWfrYGA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficCaJcyz3icWlhvpXXiawJcuyMJ5b5YBasuWlLs4mdXHfPlh7K3DfQljicg/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">12</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></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;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">4、</span>手动拖动排序</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如图13,周数不是<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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficaOXwDeE5AbCo4XSl3ox1CadWBHDFIDicerFbCGZibiaxGV1ar76uyRxKQ/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">13</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/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficUbxJyjQXnyhp19TG7DAb0uf7j8piaGnNOFiceJScN5JLic2EibIIIPee6g/640?wx_fmt=gif&amp;tp=webp&amp;wxfrom=5&amp;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;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">5、</span>手动输入排序</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如图14,<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 style="color: black;">1星期</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficpKYLJX0YDSOyLazosZEd58V6zozthNYN4C7pFn8v4mt96ic7RLHd0qA/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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;">14</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/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficQtnS5zusVgrTHoX0kvv2EHzzET9C12URibxJSDOQEEMMqLiaVyZcIXDw/640?wx_fmt=gif&amp;tp=webp&amp;wxfrom=5&amp;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;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">6、</span>设置透视表默认排序</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">图13的透视表每次新做透视表都要重新对周数进行排序,<span style="color: black;">怎么样</span><span style="color: black;">才可</span>让今后的透视表<span style="color: black;">根据</span>需要的序列排序呢?点击文件→选项→高级→编辑自定义列表,提示:将右边的滚动条拖到最下边<span style="color: black;">能够</span>看到编辑自定义列表,用鼠标选中需要导入的序列,点击“添加”,再点击“确认”,如图16。</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficKBKOrANroNGYtaemkib2Mv8oRHRfxicfLDwbEKhbp1EoicIemIiac1FJ6A/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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>15</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_png/bEKakaMmIblvPQUJiaicPah7ty1Hntv4ficPND7JQsF3hMlBBplrlnmibvrSDia5qjSqwq0efHiccexiamHS62s6uPia3g/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;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>16</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;">1星期</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></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><span style="color: black;">EXCEL原来如此简单</span></p><a style="color: black;"><img src="https://mmbiz.qpic.cn/mmbiz_png/BAbVqibwwtmzn8ibyII6lmGOyj86IqD2MjaxbAOahN7fU9QnTlTfUczWXAKWzK38Lc3tuia4h6ibCnoqyxvquaCT0A/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></a><strong style="color: blue;"><span style="color: black;">专业的职场技能充电站</span></strong>




m5k1umn 发表于 2024-10-9 02:36:49

外贸论坛是我们的,责任是我们的,荣誉是我们的,成就是我们的,辉煌是我们的。

b1gc8v 发表于 2024-11-8 10:37:58

我们有着相似的经历,你的感受我深有体会。

b1gc8v 发表于 2024-11-15 22:36:14

你的见解真是独到,让我受益匪浅。
页: [1]
查看完整版本: Excel的数据透视表六种排序办法