{"id":137662,"date":"2024-04-28T12:57:07","date_gmt":"2024-04-28T04:57:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/137662.html"},"modified":"2024-04-28T12:57:10","modified_gmt":"2024-04-28T04:57:10","slug":"excel%e8%a1%a8%e6%a0%bc%e5%a6%82%e4%bd%95%e7%9b%b8%e5%87%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/137662.html","title":{"rendered":"excel\u8868\u683c\u5982\u4f55\u76f8\u51cf"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24133744\/fcbebfae-9f8c-4377-bc6a-f82bb09d2ee9.webp\" alt=\"excel\u8868\u683c\u5982\u4f55\u76f8\u51cf\" \/><\/p>\n<p><p><strong>\u5728Excel\u8868\u683c\u4e2d\u8fdb\u884c\u76f8\u51cf\u64cd\u4f5c\u4e3b\u8981\u6d89\u53ca\u4f7f\u7528\u51cf\u53f7\uff08-\uff09\u5bf9\u5355\u5143\u683c\u4e4b\u95f4\u7684\u503c\u8fdb\u884c\u7b80\u5355\u7684\u7b97\u672f\u8fd0\u7b97\u3001\u5229\u7528SUM\u51fd\u6570\u8fdb\u884c\u7d2f\u51cf\u3001\u4ee5\u53ca\u4f7f\u7528\u5176\u4ed6\u9ad8\u7ea7\u529f\u80fd\u6765\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u636e\u76f8\u51cf\u9700\u6c42\u3002<\/strong> \u5177\u4f53\u65b9\u6cd5\u4e3b\u8981\u53d6\u51b3\u4e8e\u4f60\u5e0c\u671b\u76f8\u51cf\u7684\u6570\u636e\u7684\u7ed3\u6784\u548c\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u8981\u4e24\u4e2a\u5355\u5143\u683c\u4e2d\u7684\u6570\u503c\u76f8\u51cf\uff0c\u53ef\u4ee5\u5728\u4e00\u4e2a\u65b0\u7684\u5355\u5143\u683c\u4e2d\u8f93\u5165\u7b49\u53f7\uff08=\uff09\uff0c\u7136\u540e\u4f9d\u6b21\u70b9\u51fb\u6216\u8f93\u5165\u8981\u76f8\u51cf\u7684\u5355\u5143\u683c\u5f15\u7528\uff0c\u4f7f\u7528\u51cf\u53f7\u8fde\u63a5\u5b83\u4eec\u3002\u66f4\u590d\u6742\u7684\u76f8\u51cf\u64cd\u4f5c\u53ef\u80fd\u6d89\u53ca\u5230\u4f7f\u7528\u51fd\u6570\u3001\u6761\u4ef6\u76f8\u51cf\uff0c\u6216\u662f\u5904\u7406\u5305\u542b\u975e\u7eaf\u6570\u5b57\u6570\u636e\u7684\u5355\u5143\u683c\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e00\u3001\u57fa\u672c\u7684\u5355\u5143\u683c\u76f8\u51cf<\/strong><\/h3>\n<\/p>\n<p><p>\u5728Excel\u4e2d\u8fdb\u884c\u57fa\u7840\u7684\u76f8\u51cf\u975e\u5e38\u76f4\u63a5\u3002\u5982\u679c\u4f60\u6709\u4e24\u4e2a\u5355\u5143\u683cA1\u548cB1\uff0c\u5176\u4e2d\u5206\u522b\u5305\u542b\u6570\u5b5710\u548c5\uff0c\u4f60\u53ef\u4ee5\u5728C1\u5355\u5143\u683c\u4e2d\u8f93\u5165\u201c=A1-B1\u201d\u3002\u5f53\u4f60\u6309\u4e0b\u56de\u8f66\u952e\u65f6\uff0cC1\u5355\u5143\u683c\u5c06\u4f1a\u663e\u793a\u7ed3\u679c5\u3002\u8fd9\u662f\u6700\u7b80\u5355\u7684\u5355\u5143\u683c\u76f8\u51cf\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>Excel\u652f\u6301\u5bf9\u591a\u4e2a\u5355\u5143\u683c\u8fdb\u884c\u8fde\u7eed\u7684\u76f8\u51cf<\/strong>\u3002\u5047\u8bbe\u6709\u4e00\u8fde\u4e32\u7684\u6570\u5b57\u4f4d\u4e8eA1\u5230A4\u5355\u5143\u683c\uff0c\u4f60\u53ef\u4ee5\u5728A5\u5355\u5143\u683c\u4e2d\u8f93\u5165\u201c=A1-A2-A3-A4\u201d\u6765\u628a\u5b83\u4eec\u4f9d\u6b21\u76f8\u51cf\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e8c\u3001\u4f7f\u7528SUM\u51fd\u6570\u8fdb\u884c\u7d2f\u51cf<\/strong><\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5bf9\u4e00\u4e2a\u8303\u56f4\u5185\u7684\u6570\u503c\u8fdb\u884c\u7d2f\u51cf\uff0c\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528SUM\u51fd\u6570\u6765\u7b80\u5316\u516c\u5f0f\u3002\u4f8b\u5982\uff0c\u5047\u8bbeA1\u5230A4\u542b\u6709\u6570\u5b57\uff0c\u4f60\u5e0c\u671b\u7528A5\u4e2d\u7684\u6570\u503c\u51cf\u53bbA1\u5230A4\u4e2d\u7684\u6240\u6709\u6570\u5b57\u4e4b\u548c\u3002\u5728B1\u5355\u5143\u683c\u4e2d\u8f93\u5165\u201c=A5-SUM(A1:A4)\u201d\uff0c\u5373\u53ef\u5f97\u5230\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><p><strong>SUM\u51fd\u6570\u53ef\u4ee5\u4f7f\u76f8\u51cf\u64cd\u4f5c\u66f4\u52a0\u76f4\u89c2<\/strong>\uff0c\u7279\u522b\u662f\u5f53\u4f60\u9700\u8981\u4ece\u4e00\u4e2a\u6570\u503c\u4e2d\u51cf\u53bb\u4e00\u7cfb\u5217\u6570\u503c\u7684\u603b\u5408\u65f6\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e09\u3001\u5904\u7406\u5e26\u6761\u4ef6\u7684\u76f8\u51cf<\/strong><\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u6839\u636e\u6761\u4ef6\u6765\u51b3\u5b9a\u54ea\u4e9b\u5355\u5143\u683c\u53c2\u4e0e\u76f8\u51cf\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7IF\u51fd\u6570\u6216\u8005SUMIF\u548cSUMIFS\u51fd\u6570\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u53ea\u5e0c\u671b\u51cf\u53bb\u7279\u5b9a\u6761\u4ef6\u4e0b\u7684\u5355\u5143\u683c\u4e4b\u548c\uff0c\u53ef\u4ee5\u4f7f\u7528\u201c=A1-SUMIF(B1:B4,&quot;&lt;10&quot;,A1:A4)\u201d\u8fd9\u6837\u7684\u516c\u5f0f\u3002\u8fd9\u4e2a\u516c\u5f0f\u7684\u4f5c\u7528\u662f\u4eceA1\u7684\u503c\u4e2d\u51cf\u53bbB1\u5230B4\u5f53\u4e2d\u5c0f\u4e8e10\u7684\u5bf9\u5e94A\u5217\u5355\u5143\u683c\u7684\u603b\u548c\u3002<\/p>\n<\/p>\n<p><p><strong>\u6761\u4ef6\u76f8\u51cf\u53ef\u4ee5\u4f18\u5316\u6570\u636e\u5904\u7406\u6d41\u7a0b<\/strong>\uff0c\u5b83\u5141\u8bb8\u4f60\u9488\u5bf9\u6570\u636e\u96c6\u4e2d\u6ee1\u8db3\u7279\u5b9a\u6761\u4ef6\u7684\u5143\u7d20\u8fdb\u884c\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><h3><strong>\u56db\u3001\u5229\u7528\u6570\u7ec4\u516c\u5f0f\u8fdb\u884c\u590d\u6742\u7684\u76f8\u51cf<\/strong><\/h3>\n<\/p>\n<p><p>\u5728\u4e00\u4e9b\u9ad8\u7ea7\u7684\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u66f4\u4e3a\u590d\u6742\u7684\u76f8\u51cf\u64cd\u4f5c\uff0c\u8fd9\u65f6\u53ef\u4ee5\u4f7f\u7528\u6570\u7ec4\u516c\u5f0f\u3002\u6570\u7ec4\u516c\u5f0f\u80fd\u8ba9\u4f60\u5728\u4e00\u4e2a\u5355\u72ec\u7684\u516c\u5f0f\u4e2d\u5b9e\u65bd\u591a\u9879\u8fd0\u7b97\uff0c\u5e76\u8fd4\u56de\u591a\u4e2a\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u4e2a\u7b80\u5355\u7684\u6570\u7ec4\u516c\u5f0f\u76f8\u51cf\u793a\u4f8b\u662f\u201c={A1:A4-B1:B4}\u201d\uff0c\u8fd9\u4e2a\u516c\u5f0f\u4f1a\u8fd4\u56de\u4e00\u4e2a\u6570\u7ec4\uff0c\u5176\u4e2d\u5305\u542b\u4e86A\u5217\u4e0eB\u5217\u76f8\u540c\u884c\u6570\u503c\u76f8\u51cf\u7684\u7ed3\u679c\u3002\u6ce8\u610f\uff0c\u8f93\u5165\u6570\u7ec4\u516c\u5f0f\u540e\uff0c\u4f60\u9700\u8981\u6309\u4e0bCtrl+Shift+Enter\u800c\u975e\u5355\u7eaf\u7684Enter\u952e\u3002<\/p>\n<\/p>\n<p><p><strong>\u8fd0\u7528\u6570\u7ec4\u516c\u5f0f\u53ef\u4ee5\u5904\u7406\u590d\u6742\u7684\u6570\u636e\u96c6<\/strong>\uff0c\u5b83\u4eec\u80fd\u591f\u5b9e\u73b0\u4e00\u6b65\u5230\u4f4d\u5730\u5bf9\u6570\u636e\u6267\u884c\u6279\u91cf\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e94\u3001\u76f8\u51cf\u65f6\u7684\u9519\u8bef\u68c0\u67e5\u548c\u95ee\u9898\u89e3\u51b3<\/strong><\/h3>\n<\/p>\n<p><p>\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u76f8\u51cf\u7684\u8fc7\u7a0b\u53ef\u80fd\u4f1a\u9047\u5230\u9519\u8bef\u6216\u95ee\u9898\uff0c\u6bd4\u5982#VALUE! \u9519\u8bef\u901a\u5e38\u662f\u56e0\u4e3a\u5355\u5143\u683c\u4e2d\u5305\u542b\u4e86\u975e\u6570\u5b57\u5185\u5bb9\u3002\u4f60\u9700\u8981\u786e\u4fdd\u53c2\u4e0e\u8fd0\u7b97\u7684\u5355\u5143\u683c\u7684\u6570\u636e\u7c7b\u578b\u517c\u5bb9\u3002<\/p>\n<\/p>\n<p><p>\u5982\u679c\u9519\u8bef\u6765\u81ea\u4e8e\u590d\u6742\u516c\u5f0f\u7684\u7f16\u5199\uff0c\u53ef\u4ee5\u4f7f\u7528Excel\u7684\u201c\u516c\u5f0f\u6c42\u503c\u201d\u529f\u80fd\u6765\u9010\u6b65\u68c0\u67e5\u516c\u5f0f\u7684\u8ba1\u7b97\u8fc7\u7a0b\uff0c\u5e76\u8bc6\u522b\u51fa\u95ee\u9898\u6240\u5728\u3002<\/p>\n<\/p>\n<p><p><strong>\u6ce8\u610f\u68c0\u67e5\u5355\u5143\u683c\u683c\u5f0f\u548c\u8fd0\u7b97\u903b\u8f91\uff0c\u6709\u52a9\u4e8e\u907f\u514d\u76f8\u51cf\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684\u9519\u8bef<\/strong>\u3002<\/p>\n<\/p>\n<p><p>Excel\u8868\u683c\u4e2d\u7684\u76f8\u51cf\u64cd\u4f5c\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u5355\u5143\u683c\u76f4\u63a5\u5f15\u7528\u76f8\u51cf\uff0c\u4ea6\u53ef\u4ee5\u501f\u52a9\u51fd\u6570\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u573a\u666f\u3002\u4e86\u89e3\u57fa\u7840\u7684\u76f8\u51cf\u65b9\u5f0f\u4e0e\u76f8\u5173\u7684\u9ad8\u7ea7\u529f\u80fd\uff0c\u5c06\u4f7f\u4f60\u80fd\u591f\u6709\u6548\u5730\u7ba1\u7406\u548c\u5206\u6790\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728Excel\u8868\u683c\u4e2d\u5b9e\u73b0\u4e24\u4e2a\u5355\u5143\u683c\u7684\u76f8\u51cf\u64cd\u4f5c\uff1f<\/strong><\/p>\n<p>\u8981\u5728Excel\u8868\u683c\u4e2d\u5b9e\u73b0\u4e24\u4e2a\u5355\u5143\u683c\u7684\u76f8\u51cf\u64cd\u4f5c\uff0c\u53ea\u9700\u5728\u76ee\u6807\u5355\u5143\u683c\u4e2d\u8f93\u5165\u4e00\u4e2a\u51cf\u53f7\uff08-\uff09\uff0c\u5e76\u5728\u51cf\u53f7\u524d\u540e\u5206\u522b\u5f15\u7528\u8981\u76f8\u51cf\u7684\u4e24\u4e2a\u5355\u5143\u683c\u3002\u4f8b\u5982\uff0c\u5982\u679c\u8981\u8ba1\u7b97A1\u5355\u5143\u683c\u548cB1\u5355\u5143\u683c\u7684\u5dee\uff0c\u53ea\u9700\u5728C1\u5355\u5143\u683c\u4e2d\u8f93\u5165\u201c=A1-B1\u201d\uff0c\u7136\u540e\u6309\u4e0b\u56de\u8f66\u952e\u5373\u53ef\u5f97\u51fa\u7ed3\u679c\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Excel\u8868\u683c\u4e2d\u6279\u91cf\u8ba1\u7b97\u591a\u4e2a\u5355\u5143\u683c\u7684\u5dee\u503c\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u8981\u5728Excel\u8868\u683c\u4e2d\u6279\u91cf\u8ba1\u7b97\u591a\u4e2a\u5355\u5143\u683c\u7684\u5dee\u503c\uff0c\u53ef\u4ee5\u4f7f\u7528\u586b\u5145\u64cd\u4f5c\u6765\u5feb\u901f\u5b9e\u73b0\u3002\u9996\u5148\uff0c\u5728\u76ee\u6807\u5355\u5143\u683c\u4e2d\u8f93\u5165\u7b2c\u4e00\u4e2a\u76f8\u51cf\u516c\u5f0f\uff0c\u7136\u540e\u9009\u4e2d\u8be5\u5355\u5143\u683c\uff0c\u9f20\u6807\u79fb\u52a8\u5230\u53f3\u4e0b\u89d2\u7684\u5c0f\u65b9\u5757\u4e0a\uff0c\u5149\u6807\u53d8\u4e3a\u9ed1\u5341\u5b57\u65f6\uff0c\u6309\u4f4f\u9f20\u6807\u5de6\u952e\u5411\u4e0b\u62d6\u52a8\u5373\u53ef\u81ea\u52a8\u586b\u5145\u4e0b\u65b9\u5355\u5143\u683c\u3002Excel\u4f1a\u6839\u636e\u6a21\u5f0f\u63a8\u65ad\u51fa\u586b\u5145\u533a\u57df\u7684\u89c4\u5f8b\u5e76\u81ea\u52a8\u8c03\u6574\u516c\u5f0f\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5728Excel\u8868\u683c\u4e2d\u5904\u7406\u5e26\u6709\u7a7a\u767d\u5355\u5143\u683c\u7684\u76f8\u51cf\u64cd\u4f5c\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u8981\u5728Excel\u8868\u683c\u4e2d\u8fdb\u884c\u76f8\u51cf\u64cd\u4f5c\u65f6\u5b58\u5728\u7a7a\u767d\u5355\u5143\u683c\uff0c\u53ef\u4ee5\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u51fd\u6570\u6765\u5904\u7406\u3002\u4f7f\u7528\u201cIF\u201d\u51fd\u6570\u53ef\u4ee5\u5224\u65ad\u67d0\u4e2a\u5355\u5143\u683c\u662f\u5426\u4e3a\u7a7a\uff0c\u7136\u540e\u6839\u636e\u5224\u65ad\u7ed3\u679c\u6765\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u201c=IF(ISBLANK(A1), 0, A1-B1)\u201d\u7684\u516c\u5f0f\u6765\u5224\u65adA1\u662f\u5426\u4e3a\u7a7a\uff0c\u5982\u679c\u4e3a\u7a7a\u5219\u8fd4\u56de0\uff0c\u5426\u5219\u6267\u884cA1\u4e0eB1\u7684\u76f8\u51cf\u64cd\u4f5c\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u5728\u8fdb\u884c\u76f8\u51cf\u64cd\u4f5c\u65f6\u4e0d\u53d7\u7a7a\u767d\u5355\u5143\u683c\u7684\u5f71\u54cd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Excel\u8868\u683c\u4e2d\u8fdb\u884c\u76f8\u51cf\u64cd\u4f5c\u4e3b\u8981\u6d89\u53ca\u4f7f\u7528\u51cf\u53f7\uff08-\uff09\u5bf9\u5355\u5143\u683c\u4e4b\u95f4\u7684\u503c\u8fdb\u884c\u7b80\u5355\u7684\u7b97\u672f\u8fd0\u7b97\u3001\u5229\u7528SUM\u51fd\u6570\u8fdb\u884c\u7d2f\u51cf [&hellip;]","protected":false},"author":3,"featured_media":137667,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/137662"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=137662"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/137662\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/137667"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=137662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=137662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=137662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}