{"id":657,"date":"2025-05-26T00:49:11","date_gmt":"2025-05-25T15:49:11","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/05\/excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e5%a4%a7%e8%a6%8f%e6%a8%a1%e3%83%87%e3%83%bc%e3%82%bf%e5%87%a6%e7%90%86%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%8a%b9%e7%8e%87\/"},"modified":"2025-05-26T00:49:11","modified_gmt":"2025-05-25T15:49:11","slug":"excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e5%a4%a7%e8%a6%8f%e6%a8%a1%e3%83%87%e3%83%bc%e3%82%bf%e5%87%a6%e7%90%86%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%8a%b9%e7%8e%87","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/05\/excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e5%a4%a7%e8%a6%8f%e6%a8%a1%e3%83%87%e3%83%bc%e3%82%bf%e5%87%a6%e7%90%86%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%8a%b9%e7%8e%87\/","title":{"rendered":"Excel\u30de\u30b9\u30bf\u30fc\u3078\u306e\u9053: \u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u3092\u5287\u7684\u306b\u52b9\u7387\u5316\u3059\u308b\u4e0a\u7d1a\u30c6\u30af\u30cb\u30c3\u30af\u96c6"},"content":{"rendered":"<h2>\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u6975\u610f\uff01\u4e0a\u7d1a\u8005\u306e\u305f\u3081\u306e\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406<\/h2>\n<h3>Excel\u30de\u30af\u30ed\u3067\u696d\u52d9\u52b9\u7387\u5316\uff01\u3059\u3050\u306b\u8a66\u305b\u308b\u30b3\u30fc\u30c9<\/h3>\n<p>&#8220;`vba<br \/>\nSub \u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406()<br \/>\n    Application.ScreenUpdating = False<br \/>\n    Application.Calculation = xlCalculationManual<\/p>\n<p>    &#8216;\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u3053\u3053\u306b\u8a18\u8ff0<\/p>\n<p>    Application.Calculation = xlCalculationAutomatic<br \/>\n    Application.ScreenUpdating = True<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u30de\u30af\u30ed\u306f\u3001\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u57fa\u672c\u3068\u306a\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002\u753b\u9762\u66f4\u65b0\u3068\u81ea\u52d5\u8a08\u7b97\u3092\u4e00\u6642\u7684\u306b\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u51e6\u7406\u901f\u5ea6\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/p>\n<h3>1. \u30d0\u30c3\u30c1\u51e6\u7406\u306e\u57fa\u672c\u3068\u91cd\u8981\u6027<\/h3>\n<p>\u30d0\u30c3\u30c1\u51e6\u7406\u3068\u306f\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u3067\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002Excel\u3067\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u3092\u6271\u3046\u4e0a\u7d1a\u8005\u306b\u3068\u3063\u3066\u3001\u30d0\u30c3\u30c1\u51e6\u7406\u306f\u6b20\u304b\u305b\u306a\u3044\u30b9\u30ad\u30eb\u3067\u3059\u3002<\/p>\n<p>Excel\u30de\u30af\u30ed\u3092\u4f7f\u7528\u3057\u305f\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u5229\u70b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<br \/>\n&#8211; \u6642\u9593\u306e\u7bc0\u7d04\uff1a\u624b\u52d5\u3067\u884c\u3046\u4f5c\u696d\u3092\u81ea\u52d5\u5316<br \/>\n&#8211; \u30a8\u30e9\u30fc\u306e\u524a\u6e1b\uff1a\u4eba\u70ba\u7684\u30df\u30b9\u3092\u9632\u6b62<br \/>\n&#8211; \u4e00\u8cab\u6027\u306e\u78ba\u4fdd\uff1a\u540c\u3058\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u9069\u7528<\/p>\n<p>\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u5b9f\u88c5\u3059\u308b\u969b\u306f\u3001\u30c7\u30fc\u30bf\u306e\u69cb\u9020\u3092\u5341\u5206\u306b\u7406\u89e3\u3057\u3001\u52b9\u7387\u7684\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u8a2d\u8a08\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3>2. \u9ad8\u5ea6\u306aExcel\u95a2\u6570\u306e\u6d3b\u7528<\/h3>\n<p>\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u3067\u306f\u3001\u9ad8\u5ea6\u306aExcel\u95a2\u6570\u306e\u6d3b\u7528\u304c\u9375\u3068\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u4e0a\u7d1a\u8005\u304c\u983b\u7e41\u306b\u4f7f\u7528\u3059\u308b\u95a2\u6570\u306e\u4f8b\u3067\u3059\uff1a<\/p>\n<p>&#8211; VLOOKUP\u95a2\u6570\uff1a\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u304b\u3089\u7279\u5b9a\u306e\u5024\u3092\u691c\u7d22<br \/>\n&#8211; INDEX-MATCH\u95a2\u6570\uff1aVLOOKUP\u3088\u308a\u3082\u67d4\u8edf\u306a\u691c\u7d22\u304c\u53ef\u80fd<br \/>\n&#8211; SUMIFS\u95a2\u6570\uff1a\u8907\u6570\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u5408\u8a08\u3092\u8a08\u7b97<\/p>\n<p>\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u30de\u30af\u30ed\u5185\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3055\u3089\u306b\u5f37\u529b\u306a\u51e6\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/p>\n<p>&#8220;`vba<br \/>\nDim result As Variant<br \/>\nresult = Application.WorksheetFunction.VLookup(searchValue, searchRange, columnIndex, False)<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u30de\u30af\u30ed\u5185\u3067Excel\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u51e6\u7406\u3082\u52b9\u7387\u7684\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n<p>\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u3067\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316\u304c\u6975\u3081\u3066\u91cd\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306f\u3001Excel\u30de\u30af\u30ed\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\uff1a<\/p>\n<p>1. \u914d\u5217\u306e\u6d3b\u7528\uff1a<br \/>\n   \u30bb\u30eb\u306e\u500b\u5225\u30a2\u30af\u30bb\u30b9\u3092\u907f\u3051\u3001\u914d\u5217\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u3067\u51e6\u7406\u3057\u307e\u3059\u3002<\/p>\n<p>&#8220;`vba<br \/>\nDim dataArray As Variant<br \/>\ndataArray = Range(&#8220;A1:Z1000&#8221;).Value<br \/>\n&#8216;\u914d\u5217\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u3092\u51e6\u7406<br \/>\nRange(&#8220;A1:Z1000&#8221;).Value = dataArray<br \/>\n&#8220;`<\/p>\n<p>2. With\u6587\u306e\u4f7f\u7528\uff1a<br \/>\n   \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u53c2\u7167\u3092\u7c21\u7565\u5316\u3057\u3001\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>&#8220;`vba<br \/>\nWith Worksheets(&#8220;Sheet1&#8221;)<br \/>\n    .Cells(1, 1).Value = &#8220;\u30c7\u30fc\u30bf&#8221;<br \/>\n    .Cells(1, 2).Value = &#8220;\u51e6\u7406&#8221;<br \/>\nEnd With<br \/>\n&#8220;`<\/p>\n<p>3. \u4e0d\u8981\u306a\u518d\u8a08\u7b97\u306e\u56de\u907f\uff1a<br \/>\n   \u8a08\u7b97\u91cf\u306e\u591a\u3044\u95a2\u6570\u3084\u6570\u5f0f\u304c\u3042\u308b\u5834\u5408\u3001\u5fc5\u8981\u306a\u6642\u306e\u307f\u518d\u8a08\u7b97\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>&#8220;`vba<br \/>\nApplication.Calculation = xlCalculationManual<br \/>\n&#8216;\u30c7\u30fc\u30bf\u51e6\u7406<br \/>\nApplication.Calculate<br \/>\nApplication.Calculation = xlCalculationAutomatic<br \/>\n&#8220;`<\/p>\n<p>\u3053\u308c\u3089\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u52b9\u7387\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Excel\u30de\u30af\u30ed\u3092\u6d3b\u7528\u3057\u305f\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406\u306f\u3001\u30d3\u30b8\u30cd\u30b9\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308a\u307e\u3059\u3002\u57fa\u672c\u7684\u306a\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u7406\u89e3\u304b\u3089\u59cb\u307e\u308a\u3001\u9ad8\u5ea6\u306a\u95a2\u6570\u306e\u6d3b\u7528\u3001\u305d\u3057\u3066\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u307e\u3067\u3001\u6bb5\u968e\u7684\u306b\u30b9\u30ad\u30eb\u3092\u78e8\u3044\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u30bf\u30b9\u30af\u3082\u52b9\u7387\u7684\u306b\u9042\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u7d1a\u8005\u5411\u3051\u306e\u3053\u308c\u3089\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7fd2\u5f97\u3057\u3001\u5b9f\u8df5\u3059\u308b\u3053\u3068\u3067\u3001Excel\u3092\u771f\u306b\u4f7f\u3044\u3053\u306a\u3057\u3001\u696d\u52d9\u52b9\u7387\u3092\u98db\u8e8d\u7684\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d0\u30c3\u30c1\u51e6\u7406\u306e\u6975\u610f\uff01\u4e0a\u7d1a\u8005\u306e\u305f\u3081\u306e\u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406 Excel\u30de\u30af\u30ed\u3067\u696d\u52d9\u52b9\u7387\u5316\uff01\u3059\u3050\u306b\u8a66\u305b\u308b\u30b3\u30fc\u30c9 #8220;`vba Sub \u5927\u898f\u6a21\u30c7\u30fc\u30bf\u51e6\u7406() Application.ScreenUpdating = Fals<\/p>\n","protected":false},"author":2,"featured_media":656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced"],"_links":{"self":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/656"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}