{"id":4060,"date":"2025-09-15T11:27:52","date_gmt":"2025-09-15T11:27:52","guid":{"rendered":"https:\/\/john.pentaidea.com\/?p=4060"},"modified":"2025-09-16T10:12:59","modified_gmt":"2025-09-16T10:12:59","slug":"excel-%e6%8a%80%e5%b7%a7%e6%95%b4%e7%90%86","status":"publish","type":"post","link":"https:\/\/john.pentaidea.com\/?p=4060","title":{"rendered":"Excel \u6280\u5de7\u6574\u7406"},"content":{"rendered":"<p><span style=\"font-size: 24px\"><span style=\"color:#929292\">Topic: <\/span><\/span><\/p>\n<p>Course: <\/p>\n<p>Date: <\/p>\n<p>Professor\/Speaker: <\/p>\n<table width=\"977px\" style=\"border-collapse:collapse;width:977px\">\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span style=\"font-size: 24px\"><span style=\"color:#929292\">Questions<\/span><\/span><\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span style=\"font-size: 24px\"><span style=\"color:#929292\">Notes<\/span><\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>VLOOKUP<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span>!!\u9650\u5236!!: \u8981\u627e\u7684\u503c, \u5fc5\u9808\u662f mapping \u8868\u6700\u5de6\u908a\u7684\u7b2c\u4e00\u500b\u6b04\u4f4d; \u4e0d\u662f\u653e\u5728\u7b2c\u4e00\u6b04\u6642\uff0c\u5efa\u8b70\u6539\u7528 INDEX + MATCH\u3002<\/span><\/div>\n<div><span><span style=\"--en-markholder:true\"><br \/><\/span><\/span><\/div>\n<div><span>ex. \u60f3\u7528 A \u503c -&gt; \u900f\u904e mapping\u8868 -&gt; \u627e\u5230\u540c\u5217\u7684 B \u503c<\/span><\/div>\n<div><span>VLOOKUP(A\u503c, mapping\u8868, B\u503c\u5728mapping\u8868\u7684\u6b04\u4f4d\u9806\u5e8f, \u5b8c\u5168\u543b\u5408)<\/span><\/div>\n<div><span>=VLOOKUP(A2,CompanyInfo!A:I,2,FALSE)<\/span><\/div>\n<div><span><span style=\"--en-markholder:true\"><br \/><\/span><\/span><\/div>\n<div><span><span style=\"--en-markholder:true\"><br \/><\/span><\/span><\/div>\n<div><span><span style=\"--en-markholder:true\"><br \/><\/span><\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>INDEX + MATCH<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span>INDEX(mapping\u8868, MATCH(A\u503c,mapping\u8868\u7684A\u503c\u55ae\u6b04,\u5b8c\u5168\u543b\u5408),\u00a0 mapping\u8868\u7684B\u503c\u9806\u5e8f)<\/span><\/div>\n<div><span>=INDEX(&#8216;mapping&#8217;!E:F, MATCH(A1,&#8217;mapping&#8217;!F:F,0), 1)\u00a0 \u00a0\u00a0 -&gt; \u5728mapping E:F \u4e2d map A=F \u5f8c\u56de\u50b3 E<\/span><\/div>\n<div><span><span style=\"--en-markholder:true\"><br \/><\/span><\/span><\/div>\n<div><span>\/\/ multiple column matching<\/span><\/div>\n<div>=INDEX(\u88682!C:C, MATCH(1, (\u88682!A:A=A2)*(\u88682!B:B=B2), 0))<\/div>\n<div><span>\u516c\u5f0f\u89e3\u91cb\uff1a<\/span><\/div>\n<ul>\n<li>\n<div><code>\u88682!A:A=A2<\/code> \u6703\u751f\u6210\u4e00\u500b\u5e03\u723e\u9663\u5217\uff0c\u8868\u793a\u88682\u7684A\u5217\u4e2d\u54ea\u4e9b\u503c\u7b49\u65bc\u88681\u7684A2\u3002<\/div>\n<\/li>\n<li>\n<div><code>\u88682!B:B=B2<\/code> \u6703\u751f\u6210\u53e6\u4e00\u500b\u5e03\u723e\u9663\u5217\uff0c\u8868\u793a\u88682\u7684B\u5217\u4e2d\u54ea\u4e9b\u503c\u7b49\u65bc\u88681\u7684B2\u3002<\/div>\n<\/li>\n<li>\n<div><code>(\u88682!A:A=A2)*(\u88682!B:B=B2)<\/code> \u6703\u5c07\u5169\u500b\u5e03\u723e\u9663\u5217\u76f8\u4e58\uff0c\u7d50\u679c\u662f\u4e00\u500b\u65b0\u7684\u5e03\u723e\u9663\u5217\uff0c\u53ea\u6709\u7576\u5169\u500b\u689d\u4ef6\u90fd\u6eff\u8db3\u6642\uff0c\u5c0d\u61c9\u4f4d\u7f6e\u7684\u503c\u624d\u662f1\uff0c\u5426\u5247\u70ba0\u3002<\/div>\n<\/li>\n<li>\n<div><code>MATCH(1, (\u88682!A:A=A2)*(\u88682!B:B=B2), 0)<\/code> \u6703\u5728\u9019\u500b\u5e03\u723e\u9663\u5217\u4e2d\u627e\u5230\u503c\u70ba1\u7684\u4f4d\u7f6e\uff0c\u9019\u5c31\u662f\u88682\u4e2d\u7b26\u5408\u5169\u500b\u689d\u4ef6\u7684\u884c\u865f\u3002<\/div>\n<\/li>\n<li>\n<div><code>INDEX(\u88682!C:C, MATCH(1, (\u88682!A:A=A2)*(\u88682!B:B=B2), 0))<\/code> \u6703\u5728\u88682\u7684C\u5217\u4e2d\uff0c\u6839\u64da\u627e\u5230\u7684\u884c\u865f\u8fd4\u56de\u5c0d\u61c9\u7684\u503c\u3002<\/div>\n<\/li>\n<\/ul>\n<div><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>GROUP BY <\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>\/\/ 2 columns<\/div>\n<div>=SUMIFS(Sheet1!C:C, Sheet1!A:A, Sheet2!A1, Sheet1!B:B, Sheet2!B1)<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>HLOOKUP<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>\u6c34\u5e73\u67e5\u627e<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>=COUNTIF(A:A,&#8221;&lt;&gt;&#8221;)<\/div>\n<div>=COUNTIF(A:A,&#8221;*&#8221; &amp; F12 &amp; &#8220;*&#8221;)<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>\u6709\u5b57\u7684<\/div>\n<div>\u627e\u67d0\u55ae\u5b57<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>Extend Formula multiple lines<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>1. Ctrl + Shift + (Up \/ Down),\u00a0 to select all cells<\/div>\n<div>2. Ctrl + d,\u00a0 apply(extend formula)<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"vertical-align:top;border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span>=IF(A2=15, &#8220;OK&#8221;, &#8220;Not OK&#8221;)<\/span><\/div>\n<\/td>\n<td style=\"vertical-align:top;border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><span>If the value in cell A2 equals 15, return &#8220;OK.&#8221; Otherwise, return &#8220;Not OK.&#8221; (OK)<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>Unix(ms) to datetime<\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div>=(((A1\/1000)\/60)\/60)\/24)+DATE(1970,1,1)<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><\/div>\n<\/td>\n<td style=\"border-color:#ccc;border-width:1px;border-style:solid;padding:10px\">\n<div><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<p><span style=\"font-size: 24px\"><span style=\"color:#929292\">Summary<\/span><\/span><\/p>\n<ul>\n<li><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Topic:<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-4060","post","type-post","status-publish","format-standard","hentry","category-posts"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/john.pentaidea.com\/?p=4060\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Topic:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/john.pentaidea.com\/?p=4060\" \/>\n<meta property=\"og:site_name\" content=\"John&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-15T11:27:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-16T10:12:59+00:00\" \/>\n<meta name=\"author\" content=\"jj\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"jj\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/john.pentaidea.com\/?p=4060\",\"url\":\"https:\/\/john.pentaidea.com\/?p=4060\",\"name\":\"Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/john.pentaidea.com\/#website\"},\"datePublished\":\"2025-09-15T11:27:52+00:00\",\"dateModified\":\"2025-09-16T10:12:59+00:00\",\"author\":{\"@id\":\"https:\/\/john.pentaidea.com\/#\/schema\/person\/3d2e5980a7d3023e93b91d668d2a4a4f\"},\"breadcrumb\":{\"@id\":\"https:\/\/john.pentaidea.com\/?p=4060#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/john.pentaidea.com\/?p=4060\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/john.pentaidea.com\/?p=4060#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/john.pentaidea.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel \u6280\u5de7\u6574\u7406\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/john.pentaidea.com\/#website\",\"url\":\"https:\/\/john.pentaidea.com\/\",\"name\":\"John's Blog\",\"description\":\"\u4e16\u754c\u56e0\u601d\u7dd2\u800c\u8907\u96dc, \u4eba\u56e0\u5922\u60f3\u800c\u5049\u5927\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/john.pentaidea.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/john.pentaidea.com\/#\/schema\/person\/3d2e5980a7d3023e93b91d668d2a4a4f\",\"name\":\"jj\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/john.pentaidea.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a685414cd92056415bc823b5cfbbf95a44a98df88d8c040b18613724c1c0724b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a685414cd92056415bc823b5cfbbf95a44a98df88d8c040b18613724c1c0724b?s=96&d=mm&r=g\",\"caption\":\"jj\"},\"sameAs\":[\"https:\/\/john.pentaidea.com\"],\"url\":\"https:\/\/john.pentaidea.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/john.pentaidea.com\/?p=4060","og_locale":"en_US","og_type":"article","og_title":"Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog","og_description":"Topic:","og_url":"https:\/\/john.pentaidea.com\/?p=4060","og_site_name":"John&#039;s Blog","article_published_time":"2025-09-15T11:27:52+00:00","article_modified_time":"2025-09-16T10:12:59+00:00","author":"jj","twitter_card":"summary_large_image","twitter_misc":{"Written by":"jj","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/john.pentaidea.com\/?p=4060","url":"https:\/\/john.pentaidea.com\/?p=4060","name":"Excel \u6280\u5de7\u6574\u7406 - John&#039;s Blog","isPartOf":{"@id":"https:\/\/john.pentaidea.com\/#website"},"datePublished":"2025-09-15T11:27:52+00:00","dateModified":"2025-09-16T10:12:59+00:00","author":{"@id":"https:\/\/john.pentaidea.com\/#\/schema\/person\/3d2e5980a7d3023e93b91d668d2a4a4f"},"breadcrumb":{"@id":"https:\/\/john.pentaidea.com\/?p=4060#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/john.pentaidea.com\/?p=4060"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/john.pentaidea.com\/?p=4060#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/john.pentaidea.com\/"},{"@type":"ListItem","position":2,"name":"Excel \u6280\u5de7\u6574\u7406"}]},{"@type":"WebSite","@id":"https:\/\/john.pentaidea.com\/#website","url":"https:\/\/john.pentaidea.com\/","name":"John's Blog","description":"\u4e16\u754c\u56e0\u601d\u7dd2\u800c\u8907\u96dc, \u4eba\u56e0\u5922\u60f3\u800c\u5049\u5927","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/john.pentaidea.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/john.pentaidea.com\/#\/schema\/person\/3d2e5980a7d3023e93b91d668d2a4a4f","name":"jj","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/john.pentaidea.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a685414cd92056415bc823b5cfbbf95a44a98df88d8c040b18613724c1c0724b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a685414cd92056415bc823b5cfbbf95a44a98df88d8c040b18613724c1c0724b?s=96&d=mm&r=g","caption":"jj"},"sameAs":["https:\/\/john.pentaidea.com"],"url":"https:\/\/john.pentaidea.com\/?author=1"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/posts\/4060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4060"}],"version-history":[{"count":1,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/posts\/4060\/revisions"}],"predecessor-version":[{"id":4061,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=\/wp\/v2\/posts\/4060\/revisions\/4061"}],"wp:attachment":[{"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/john.pentaidea.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}