{"id":61319,"date":"2024-10-13T10:13:13","date_gmt":"2024-10-13T02:13:13","guid":{"rendered":"https:\/\/server.hk\/cnblog\/61319\/"},"modified":"2024-10-13T10:13:14","modified_gmt":"2024-10-13T02:13:14","slug":"excel%e8%a1%a8%e6%a0%bc%e5%a6%82%e4%bd%95%e5%bc%95%e7%94%a8%e5%8f%a6%e4%b8%80%e5%80%8b%e8%a1%a8%e6%a0%bc%e7%9a%84%e6%95%b8%e6%93%9a%e5%ba%ab-excel%e8%a1%a8%e5%bc%95%e7%94%a8%e5%8f%a6%e4%b8%80","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/61319\/","title":{"rendered":"Excel\u8868\u683c\u5982\u4f55\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab (excel\u8868\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab)"},"content":{"rendered":"<h1 id=\"excel%e8%a1%a8%e6%a0%bc%e5%a6%82%e4%bd%95%e5%bc%95%e7%94%a8%e5%8f%a6%e4%b8%80%e5%80%8b%e8%a1%a8%e6%a0%bc%e7%9a%84%e6%95%b8%e6%93%9a%e5%ba%ab-CCSHiWnhCq\">Excel\u8868\u683c\u5982\u4f55\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab<\/h1>\n<p>\u5728\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0cExcel\u4f5c\u70ba\u4e00\u500b\u5f37\u5927\u7684\u6578\u64da\u8655\u7406\u5de5\u5177\uff0c\u7d93\u5e38\u88ab\u7528\u4f86\u7ba1\u7406\u548c\u5206\u6790\u6578\u64da\u3002\u7576\u9700\u8981\u5f9e\u4e00\u500b\u8868\u683c\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u6642\uff0c\u638c\u63e1\u6b63\u78ba\u7684\u65b9\u6cd5\u5c07\u5927\u5927\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u5728Excel\u4e2d\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab\uff0c\u4e26\u63d0\u4f9b\u4e00\u4e9b\u5be6\u7528\u7684\u793a\u4f8b\u548c\u6280\u5de7\u3002<\/p>\n<h2 id=\"%e5%9f%ba%e6%9c%ac%e6%a6%82%e5%bf%b5-CCSHiWnhCq\">\u57fa\u672c\u6982\u5ff5<\/h2>\n<p>\u5728Excel\u4e2d\uff0c\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u901a\u5e38\u6d89\u53ca\u5230\u4f7f\u7528\u516c\u5f0f\u548c\u51fd\u6578\u3002\u9019\u4e9b\u516c\u5f0f\u53ef\u4ee5\u5e6b\u52a9\u7528\u6236\u5f9e\u4e0d\u540c\u7684\u5de5\u4f5c\u8868\u6216\u5de5\u4f5c\u7c3f\u4e2d\u63d0\u53d6\u6240\u9700\u7684\u6578\u64da\u3002\u5f15\u7528\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\u5169\u7a2e\uff1a\u76f4\u63a5\u5f15\u7528\u548c\u4f7f\u7528\u51fd\u6578\u3002<\/p>\n<h2 id=\"%e7%9b%b4%e6%8e%a5%e5%bc%95%e7%94%a8-CCSHiWnhCq\">\u76f4\u63a5\u5f15\u7528<\/h2>\n<p>\u76f4\u63a5\u5f15\u7528\u662f\u6700\u7c21\u55ae\u7684\u65b9\u5f0f\uff0c\u9069\u7528\u65bc\u540c\u4e00\u5de5\u4f5c\u7c3f\u4e2d\u7684\u4e0d\u540c\u5de5\u4f5c\u8868\u3002\u5047\u8a2d\u6211\u5011\u6709\u5169\u500b\u5de5\u4f5c\u8868\uff0c\u5206\u5225\u540d\u70ba\u201c\u6578\u64da\u8868\u201d\u548c\u201c\u5831\u544a\u201d\u3002\u5982\u679c\u6211\u5011\u60f3\u5728\u201c\u5831\u544a\u201d\u5de5\u4f5c\u8868\u4e2d\u5f15\u7528\u201c\u6578\u64da\u8868\u201d\u4e2d\u7684\u67d0\u500b\u55ae\u5143\u683c\uff08\u4f8b\u5982A1\uff09\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\uff1a<\/p>\n<pre><code>=\u6578\u64da\u8868!A1<\/code><\/pre>\n<p>\u9019\u6a23\uff0c\u7576\u201c\u6578\u64da\u8868\u201d\u4e2d\u7684A1\u55ae\u5143\u683c\u6578\u64da\u8b8a\u66f4\u6642\uff0c\u201c\u5831\u544a\u201d\u5de5\u4f5c\u8868\u4e2d\u7684\u5f15\u7528\u4e5f\u6703\u81ea\u52d5\u66f4\u65b0\u3002<\/p>\n<h2 id=\"%e4%bd%bf%e7%94%a8%e5%87%bd%e6%95%b8%e5%bc%95%e7%94%a8-CCSHiWnhCq\">\u4f7f\u7528\u51fd\u6578\u5f15\u7528<\/h2>\n<p>\u9664\u4e86\u76f4\u63a5\u5f15\u7528\uff0cExcel\u9084\u63d0\u4f9b\u4e86\u591a\u7a2e\u51fd\u6578\u4f86\u5f15\u7528\u6578\u64da\u3002\u6700\u5e38\u7528\u7684\u51fd\u6578\u5305\u62ecVLOOKUP\u3001HLOOKUP\u548cINDEX\/MATCH\u7b49\u3002<\/p>\n<h3 id=\"vlookup%e5%87%bd%e6%95%b8-CCSHiWnhCq\">VLOOKUP\u51fd\u6578<\/h3>\n<p>VLOOKUP\u51fd\u6578\u7528\u65bc\u5728\u4e00\u500b\u8868\u683c\u4e2d\u67e5\u627e\u67d0\u500b\u503c\uff0c\u4e26\u8fd4\u56de\u8a72\u503c\u6240\u5728\u884c\u7684\u5176\u4ed6\u5217\u7684\u6578\u64da\u3002\u5176\u8a9e\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>=VLOOKUP(\u67e5\u627e\u503c, \u8868\u683c\u7bc4\u570d, \u5217\u865f, [\u7bc4\u570d\u67e5\u627e])<\/code><\/pre>\n<p>\u4f8b\u5982\uff0c\u5047\u8a2d\u5728\u201c\u6578\u64da\u8868\u201d\u4e2d\u6709\u4e00\u500b\u7522\u54c1\u5217\u8868\uff0c\u7b2c\u4e00\u5217\u662f\u7522\u54c1ID\uff0c\u7b2c\u4e8c\u5217\u662f\u7522\u54c1\u540d\u7a31\u3002\u5982\u679c\u6211\u5011\u60f3\u5728\u201c\u5831\u544a\u201d\u5de5\u4f5c\u8868\u4e2d\u6839\u64da\u7522\u54c1ID\u67e5\u627e\u7522\u54c1\u540d\u7a31\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u516c\u5f0f\uff1a<\/p>\n<pre><code>=VLOOKUP(A1, \u6578\u64da\u8868!A:B, 2, FALSE)<\/code><\/pre>\n<p>\u9019\u88e1\uff0cA1\u662f\u6211\u5011\u8981\u67e5\u627e\u7684\u7522\u54c1ID\uff0c\u6578\u64da\u8868!A:B\u662f\u67e5\u627e\u7bc4\u570d\uff0c2\u8868\u793a\u8fd4\u56de\u7b2c\u4e8c\u5217\u7684\u6578\u64da\uff0cFALSE\u8868\u793a\u7cbe\u78ba\u5339\u914d\u3002<\/p>\n<h3 id=\"index%e5%92%8cmatch%e5%87%bd%e6%95%b8-CCSHiWnhCq\">INDEX\u548cMATCH\u51fd\u6578<\/h3>\n<p>INDEX\u548cMATCH\u51fd\u6578\u7684\u7d44\u5408\u63d0\u4f9b\u4e86\u66f4\u9748\u6d3b\u7684\u67e5\u627e\u65b9\u5f0f\u3002INDEX\u51fd\u6578\u7528\u65bc\u8fd4\u56de\u6307\u5b9a\u884c\u548c\u5217\u4ea4\u53c9\u8655\u7684\u503c\uff0c\u800cMATCH\u51fd\u6578\u5247\u7528\u65bc\u67e5\u627e\u67d0\u500b\u503c\u7684\u4f4d\u7f6e\u3002\u5176\u8a9e\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre><code>=INDEX(\u7bc4\u570d, MATCH(\u67e5\u627e\u503c, \u67e5\u627e\u7bc4\u570d, 0))<\/code><\/pre>\n<p>\u4f8b\u5982\uff0c\u4f7f\u7528INDEX\u548cMATCH\u4f86\u67e5\u627e\u7522\u54c1\u540d\u7a31\u7684\u516c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<pre><code>=INDEX(\u6578\u64da\u8868!B:B, MATCH(A1, \u6578\u64da\u8868!A:A, 0))<\/code><\/pre>\n<p>\u9019\u6a23\u7684\u7d44\u5408\u53ef\u4ee5\u5728\u67e5\u627e\u6642\u63d0\u4f9b\u66f4\u5927\u7684\u9748\u6d3b\u6027\uff0c\u7279\u5225\u662f\u5728\u9700\u8981\u67e5\u627e\u7684\u5217\u4e0d\u5728\u67e5\u627e\u7bc4\u570d\u7684\u6700\u5de6\u5074\u6642\u3002<\/p>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-CCSHiWnhCq\">\u6ce8\u610f\u4e8b\u9805<\/h2>\n<ul>\n<li>\u78ba\u4fdd\u5f15\u7528\u7684\u5de5\u4f5c\u8868\u540d\u7a31\u6b63\u78ba\uff0c\u7279\u5225\u662f\u7576\u5de5\u4f5c\u8868\u540d\u7a31\u4e2d\u5305\u542b\u7a7a\u683c\u6216\u7279\u6b8a\u5b57\u7b26\u6642\uff0c\u9700\u7528\u55ae\u5f15\u865f\u62ec\u8d77\u4f86\uff0c\u4f8b\u5982\uff1a&#8217;<code>\u6578\u64da\u8868<\/code>&#8216;!<\/li>\n<li>\u5728\u5f15\u7528\u5916\u90e8\u5de5\u4f5c\u7c3f\u7684\u6578\u64da\u6642\uff0c\u9700\u78ba\u4fdd\u8a72\u5de5\u4f5c\u7c3f\u5df2\u6253\u958b\uff0c\u5426\u5247\u5f15\u7528\u5c07\u7121\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002<\/li>\n<li>\u4f7f\u7528\u51fd\u6578\u6642\uff0c\u6ce8\u610f\u7bc4\u570d\u7684\u9078\u64c7\uff0c\u907f\u514d\u9078\u64c7\u904e\u5927\u7684\u7bc4\u570d\uff0c\u9019\u6a23\u6703\u5f71\u97ff\u8a08\u7b97\u901f\u5ea6\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-CCSHiWnhCq\">\u7e3d\u7d50<\/h2>\n<p>\u5728Excel\u4e2d\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab\u662f\u4e00\u9805\u975e\u5e38\u5be6\u7528\u7684\u6280\u80fd\uff0c\u80fd\u5920\u5e6b\u52a9\u7528\u6236\u66f4\u9ad8\u6548\u5730\u7ba1\u7406\u548c\u5206\u6790\u6578\u64da\u3002\u7121\u8ad6\u662f\u4f7f\u7528\u76f4\u63a5\u5f15\u7528\u9084\u662f\u51fd\u6578\uff0c\u638c\u63e1\u9019\u4e9b\u6280\u5de7\u90fd\u80fd\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u3002\u5c0d\u65bc\u9700\u8981\u8655\u7406\u5927\u91cf\u6578\u64da\u7684\u7528\u6236\u4f86\u8aaa\uff0c\u9019\u4e9b\u65b9\u6cd5\u5c24\u70ba\u91cd\u8981\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5728\u5c0b\u627e\u9ad8\u6548\u7684\u6578\u64da\u8655\u7406\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u4f86\u652f\u6301\u60a8\u7684\u696d\u52d9\u9700\u6c42\uff0c\u7121\u8ad6\u662f\u6578\u64da\u5b58\u5132\u9084\u662f\u61c9\u7528\u7a0b\u5e8f\u904b\u884c\uff0c\u5747\u80fd\u63d0\u4f9b\u7a69\u5b9a\u7684\u6027\u80fd\u548c\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b78\u7fd2\u5982\u4f55\u5728Excel\u4e2d\u5f15\u7528\u53e6\u4e00\u500b\u8868\u683c\u7684\u6578\u64da\u5eab\uff0c\u8f15\u9b06\u6574\u5408\u548c\u7ba1\u7406\u6578\u64da\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-61319","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/61319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=61319"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/61319\/revisions"}],"predecessor-version":[{"id":61320,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/61319\/revisions\/61320"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=61319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=61319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=61319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}