{"id":29654,"date":"2017-08-15T13:42:46","date_gmt":"2017-08-15T04:42:46","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=29654"},"modified":"2024-05-06T11:44:28","modified_gmt":"2024-05-06T02:44:28","slug":"%e3%80%90vba%e5%85%a5%e9%96%80%e3%80%91vlookup%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%81%a8%e5%ae%9f%e8%a1%8c%e6%99%82%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e5%af%be%e5%87%a6%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/29654","title":{"rendered":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01"},"content":{"rendered":"<p>Excel\u306e\u8868\u3067\u30b3\u30fc\u30c9\u3084\u533a\u5206\u306e\u6a2a\u306b\u5bfe\u5fdc\u3059\u308b\u540d\u79f0\u3092\u51fa\u3059\u3068\u304d\u306a\u3069\u3001VLOOKUP\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u306f<div class=\"box_voice\">\u300cVLOOKUP\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u304c\u3044\u307e\u3044\u3061\u308f\u304b\u3089\u306a\u3044\u2026\u300d<\/div>\u306a\u3093\u3066\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u305d\u3053\u3067\u3001\u672c\u8a18\u4e8b\u3067\u306f\u3001<br \/>\n<div class=\"box01\"><\/p>\n<li><b>VLOOKUP\u95a2\u6570\u3068\u306f\u4f55\u304b<\/b><\/li>\n<li><b>VBA\u3067VLOOKUP\u95a2\u6570\u3092\u4f7f\u3046\u65b9\u6cd5<\/b><\/li>\n<\/div>\n<p>\u3068\u3044\u3063\u305f\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<br \/>\n<div class=\"box01\"><\/p>\n<li>\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u51e6\u6cd5<\/li>\n<li>\u5225\u30b7\u30fc\u30c8\u3001\u5225\u30d6\u30c3\u30af\u3092\u53c2\u7167\u3059\u308b\u65b9\u6cd5<\/li>\n<li>\u53c2\u7167\u7bc4\u56f2\u3092\u914d\u5217\u3067\u7f6e\u304d\u63db\u3048\u308b<\/li>\n<li>VLookup\u306e\u9ad8\u901f\u5316<\/li>\n<\/div>\n<p>\u3068\u3044\u3046\u5fdc\u7528\u7684\u306a\u5185\u5bb9\u307e\u3067\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<\/p>\n<p>VBA\u306eVLOOKUP\u95a2\u6570\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>\u672c\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u3048\u308b\u9803\u306b\u306f\u3001\u8868\u306b\u304a\u3044\u3066VLOOKUP\u95a2\u6570\u3092\u4f7f\u3048\u308b\u3060\u3051\u3067\u306a\u304f\u3001<b>VBA\u304b\u3089\u3082\u81ea\u5728\u306b\u4f7f\u3048\u308b<\/b>\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3088\uff01<\/p>\n<h2>VLOOKUP\u95a2\u6570\u3068\u306f<\/h2>\n<p>\u6700\u521d\u306b\u3001\u305d\u3082\u305d\u3082VLOOKUP\u95a2\u6570\u3068\u306f\u4f55\u306a\u306e\u304b\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u5192\u982d\u3067\u89e6\u308c\u305f\u3068\u304a\u308a\u3001<b>\u30b3\u30fc\u30c9\u3084\u533a\u5206\u304b\u3089\u5bfe\u5fdc\u3059\u308b\u5024\u3092\u53d6\u5f97<\/b>\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u4f1d\u7968\u3092\u4f8b\u306b\u3068\u308b\u3068\u3001\u5546\u54c1\u30b3\u30fc\u30c9\u304b\u3089\u5546\u54c1\u540d\u3084\u5358\u4fa1\u3092\u53d6\u5f97\u3059\u308b\u3068\u8003\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u5177\u4f53\u4f8b\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u5546\u54c1\u30b3\u30fc\u30c9\u3068\u6570\u91cf\u306e\u307f\u624b\u5165\u529b\u3067\u3001\u5546\u54c1\u540d\u3068\u5358\u4fa1\u306fVLOOKUP\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002\u91d1\u984d\u306f\u5358\u4fa1\u3068\u6570\u91cf\u306e\u639b\u3051\u7b97\u3001\u5408\u8a08\u306fSUM\u95a2\u6570\u3092\u4f7f\u3063\u3066\u81ea\u52d5\u3067\u8a08\u7b97\u7d50\u679c\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29655\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u4f1d\u7968.jpg\" alt=\"Excel_VBA_VLOOKUP_\u4f1d\u7968\" width=\"731\" height=\"311\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u4f1d\u7968.jpg 731w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u4f1d\u7968-150x64.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u4f1d\u7968-300x128.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u4f1d\u7968-640x272.jpg 640w\" sizes=\"(max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>[\u66f8\u5f0f]<\/p>\n<pre class=\"lang:vb decode:true \">=VLOOKUP(\u691c\u7d22\u5024, \u7bc4\u56f2, \u5217\u756a\u53f7, \u691c\u7d22\u65b9\u6cd5\u306e\u6307\u5b9a)<\/pre>\n<p><b>\u691c\u7d22\u5024\u306f\u691c\u7d22\u3057\u305f\u3044\u5024\u3001\u7bc4\u56f2\u306f\u5bfe\u5fdc\u3059\u308b\u540d\u79f0\u304c\u3042\u308b\u7bc4\u56f2\u3001\u5217\u756a\u53f7\u306f\u4f55\u5217\u76ee\u306b\u6b32\u3057\u3044\u5024\u304c\u3042\u308b\u304b\u306e\u6307\u5b9a<\/b>\u3067\u3059\u3002<\/p>\n<p>\u691c\u7d22\u65b9\u6cd5\u306f\u5b8c\u5168\u4e00\u81f4\u304b\u3042\u3044\u307e\u3044\u691c\u7d22\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001\u901a\u5e38\u306f\u5b8c\u5168\u4e00\u81f4\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001FALSE\u3092\u6307\u5b9a\u3059\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>[\u4f7f\u7528\u4f8b]<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29656\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VLOOKUP\u89e3\u8aac.jpg\" alt=\"Excel_VBA_VLOOKUP_VLOOKUP\u89e3\u8aac\" width=\"797\" height=\"431\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VLOOKUP\u89e3\u8aac.jpg 797w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VLOOKUP\u89e3\u8aac-150x81.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VLOOKUP\u89e3\u8aac-300x162.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VLOOKUP\u89e3\u8aac-640x346.jpg 640w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/p>\n<p>\u5546\u54c1\u540d\u306e\u53d6\u5f97\u3092\u6587\u7ae0\u3067\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"box01\">\n<li><b>B3\u30bb\u30eb\u306e\u5546\u54c1\u30b3\u30fc\u30c9\u306b\u5bfe\u5fdc\u3059\u308b\u5546\u54c1\u540d\u3092\u3001C3\u30bb\u30eb\u306b\u8868\u793a\u3059\u308b\u3002<\/b><\/li>\n<li><b>\u5546\u54c1\u540d\u306f\u7bc4\u56f2H3\u30bb\u30eb\u304b\u3089J8\u30bb\u30eb\u307e\u3067\u306b\u3042\u308b\u3002<\/b><\/li>\n<li><b>\u7bc4\u56f2\u306e\u4e2d\u3067\u5546\u54c1\u540d\u306f\u7bc4\u56f2\u306e2\u5217\u76ee\u306b\u3042\u308b\u3002<\/b><\/li>\n<li><b>\u3042\u3044\u307e\u3044\u691c\u7d22\u306f\u3057\u306a\u3044\u306e\u3067FALSE\u3002<\/b><\/li>\n<\/div>\n<p>\u7d50\u679c\u3001\u56f3\u306e\u30aa\u30ec\u30f3\u30b8\u8272\u306e\u67a0\u306b\u3042\u308b\u5f0f\u304c\u3067\u304d\u307e\u3059\u3002\u3068\u306a\u308a\u306eD3\u30bb\u30eb\u306b\u5358\u4fa1\u3082\u53d6\u5f97\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30aa\u30ec\u30f3\u30b8\u8272\u3068\u9752\u8272\u306e\u67a0\u5185\u306e\u5f0f\u3092\u6bd4\u8f03\u3059\u308b\u3068\u3001\u52d5\u4f5c\u30a4\u30e1\u30fc\u30b8\u304c\u660e\u78ba\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u308c\u304c\u3001Excel\u306e\u8868\u306b\u304a\u3051\u308bVLOOKUP\u95a2\u6570\u3067\u3059\u3002<\/p>\n<h2>VBA\u3067VLookup\u3092\u4f7f\u3046\u65b9\u6cd5<\/h2>\n<p>ExcelVBA\u306b\u304a\u3044\u3066\u3001<b>\u30b3\u30fc\u30c9\u3084\u533a\u5206\u304b\u3089\u5024\u3092\u53d6\u5f97<\/b>\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>[\u66f8\u5f0f]<\/p>\n<pre class=\"lang:vb decode:true \">WorksheetFunction.VLookup(\u691c\u7d22\u5024, \u7bc4\u56f2, \u5217\u756a\u53f7, \u691c\u7d22\u65b9\u6cd5\u306e\u6307\u5b9a)<\/pre>\n<p>\u6b21\u306e\u4f8b\u3067\u306f\u3001B3\u30bb\u30eb\u306b\u5165\u529b\u3057\u305f\u5546\u54c1\u30b3\u30fc\u30c9\u306b\u5bfe\u5fdc\u3059\u308b\u5546\u54c1\u540d\u3092\u3001\u8868\u304b\u3089\u53d6\u5f97\u3057\u3066C3\u30bb\u30eb\u306b\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>[\u4f7f\u7528\u4f8b]<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample1()\r\n\r\n  Range(\"C3\") = WorksheetFunction.VLookup(Range(\"B3\"), Range(\"E3:G8\"), 2, False)\r\n\r\nEnd Sub<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29657\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VBA\u3066\u3099VLOOKUP.jpg\" alt=\"Excel_VBA_VLOOKUP_VBA\u3066\u3099VLOOKUP\" width=\"547\" height=\"235\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VBA\u3066\u3099VLOOKUP.jpg 547w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VBA\u3066\u3099VLOOKUP-150x64.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/VBA\u3066\u3099VLOOKUP-300x129.jpg 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/p>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u30ad\u30fc\u3068\u306a\u308b\u5024\u304b\u3089\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u5024\u3092\u53d6\u308a\u51fa\u3059\u3001\u3068\u3044\u3063\u305f\u95a2\u4fc2\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u7684\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<h2>\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u51e6\u6cd5<\/h2>\n<p>VBA\u3067VLOOKUP\u95a2\u6570\u3092\u4f7f\u3063\u305f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3059\u308b\u306e\u306f\u3001\u4eca\u307e\u3067\u89e3\u8aac\u3057\u3066\u304d\u305f\u3053\u3068\u3067\u5341\u5206\u53ef\u80fd\u3067\u3059\u3002\u5b9f\u306f\u3001\u305d\u308c\u3088\u308a\u3082<b>\u30a8\u30e9\u30fc\u3068\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306e\u307b\u3046\u304c\u96e3\u3057\u3044<\/b>\u306e\u3067\u3059\u3002<\/p>\n<p>\u300cWorksheetFunction \u30af\u30e9\u30b9\u306e VLookup \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002\u300d\u3053\u306e\u30a8\u30e9\u30fc\u306f\u7279\u306b\u3088\u304f\u8d77\u3053\u308a\u307e\u3059\u3002<\/p>\n<p>\u3088\u304f\u3042\u308b\u7406\u7531\u3092\u9806\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h3>\u53c2\u7167\u3068\u578b\u304c\u7570\u306a\u308b\u5834\u5408<\/h3>\n<p>\u691c\u7d22\u3057\u305f\u3044\u5024\u306e\u3042\u308b\u30bb\u30eb\u3068\u3001\u7bc4\u56f2\u3067\u6307\u5b9a\u3059\u308b\u30bb\u30eb\u306e\u578b\u304c\u7570\u306a\u308b\u3068\u304d\u306b\u8d77\u3053\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001B3\u30bb\u30eb\u3092\u6587\u5b57\u5217\u306b\u3057\u3066\u578b\u3092\u5408\u308f\u305b\u308b\u3068\u30a8\u30e9\u30fc\u306f\u89e3\u6d88\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29658\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef1.jpg\" alt=\"Excel_VBA_VLOOKUP_\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef1\" width=\"545\" height=\"255\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef1.jpg 545w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef1-150x70.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef1-300x140.jpg 300w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><\/p>\n<h3>\u53c2\u7167\u7bc4\u56f2\u306b\u5024\u304c\u5b58\u5728\u3057\u306a\u3044<\/h3>\n<p>\u691c\u7d22\u7bc4\u56f2\u306b\u5024\u304c\u5b58\u5728\u3057\u306a\u3044\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29659\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef2.jpg\" alt=\"Excel_VBA_VLOOKUP_\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef2\" width=\"547\" height=\"256\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef2.jpg 547w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef2-150x70.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef2-300x140.jpg 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/p>\n<p>VBA\u306e\u4e00\u822c\u7684\u306a\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u5b9f\u884c\u6642\u30a8\u30e9\u30fc1004\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u3001C3\u30bb\u30eb\u306b\u300c\u5024\u53d6\u5f97\u4e0d\u53ef\uff01\u300d\u3068\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample2()\r\n\r\nOn Error GoTo err:\r\n\r\n    Range(\"C3\") = WorksheetFunction.VLookup(Range(\"B3\"), Range(\"E3:G8\"), 2, False)\r\n\r\n    Exit Sub\r\n\r\nerr:\r\n\r\n    If err.Number = 1004 Then\r\n        Range(\"C3\") = \"\u5024\u53d6\u5f97\u4e0d\u53ef\uff01\"\r\n    End If\r\n\r\nEnd Sub<\/pre>\n<p>\u6700\u521d\u306e\u65b9\u306b\u3042\u308b\u300cOn Error Goto err:\u300d\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3089\u4e0b\u306e\u65b9\u306e<b>\u300cerr:\u300d\u3068\u3044\u3046\u30e9\u30d9\u30eb\u307e\u3067\u30b8\u30e3\u30f3\u30d7\u305b\u3088<\/b>\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u30a8\u30e9\u30fc\u306f1004\u4ee5\u5916\u306b\u3082\u3042\u308a\u3048\u308b\u306e\u3067\u30011004\u306e\u5834\u5408\u306e\u307f\u300c\u5024\u53d6\u5f97\u4e0d\u53ef\uff01\u300d\u3068\u8fd4\u3059\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u306e\u304c\u300cerr:\u300d\u306e\u5f8c\u306eIf\u6587\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u6642\u30a8\u30e9\u30fc1004\u3060\u3051\u3067\u3082\u300c\u7bc4\u56f2\u306b\u5024\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u4ee5\u5916\u306b\u3082\u3055\u307e\u3056\u307e\u306a\u539f\u56e0\u304c\u3042\u308b\u306e\u3067\u3001\u3042\u3048\u3066\u30b6\u30c3\u30af\u30ea\u3068\u300c\u5024\u53d6\u5f97\u4e0d\u53ef\uff01\u300d\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>VBA\u304b\u3089\u30bb\u30eb\u306b\u8a18\u8ff0\u3057\u3066\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample3()\r\n\r\n    Range(\"C3\") = WorksheetFunction.VLookup(Range(\"B3\"), Range(\"E3:G8\"), 4, False)\r\n\r\nEnd Sub<\/pre>\n<p>1004\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002(\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u3001\u5b9f\u884c\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002)<\/p>\n<p>\u691c\u8a3c\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u30b3\u30fc\u30c9\u4e2d\u306eVLOOKUP\u95a2\u6570\u306e\u90e8\u5206\u3092\u3001\u30bb\u30eb\u306b\u5f0f\u3067\u8a18\u8ff0\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-29660\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef3.jpg\" alt=\"Excel_VBA_VLOOKUP_\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef3\" width=\"557\" height=\"310\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef3.jpg 557w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef3-150x83.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u30d5\u309a\u30ed\u30cf\u309a\u30c6\u30a3\u53d6\u5f97\u4e0d\u53ef3-300x167.jpg 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/p>\n<p>\u5546\u54c1\u540d\u306f\u300c#REF!\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u304a\u308a\u3001\u5024\u304c\u53d6\u5f97\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u308c\u306fVLOOKUP\u95a2\u6570\u306e\u7b2c3\u5f15\u6570\u3067\u3042\u308b\u5217\u756a\u53f7\u304c4\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n<p><b>\u7bc4\u56f2\u306fE3\u30bb\u30eb\u304b\u3089G8\u30bb\u30eb\u307e\u30673\u5217\u3057\u304b\u306a\u3044\u306e\u306b\u30014\u5217\u76ee\u3092\u6307\u5b9a<\/b>\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u5546\u54c1\u540d\u304c\u307b\u3057\u3044\u306e\u3067\u3001\u5217\u756a\u53f7\u30922\u3068\u4fee\u6b63\u3059\u308c\u3070\u554f\u984c\u306f\u89e3\u6d88\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u60f3\u5b9a\u3059\u308b\u6700\u7d42\u5f62\u3067\u5b9f\u969b\u306b\u5f0f\u3068\u3057\u3066\u8a18\u8ff0\u3057\u3066\u307f\u308b\u3001\u3053\u308c\u306f\u3068\u3066\u3082\u5f79\u306b\u7acb\u3064\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5\u3067\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5\u3092\u3082\u3046\u4e00\u6b69\u3055\u3089\u306b\u9032\u3081\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u306f\u3001Excel\u30b7\u30fc\u30c8\u306e\u30bb\u30eb\u306bVLOOKUP\u95a2\u6570\u3092\u76f4\u63a5\u5165\u529b\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u30bb\u30eb\u306b\u5165\u529b\u305b\u305a\u306bVBA\u304b\u3089VLOOKUP\u95a2\u6570\u3092\u30bb\u30eb\u306b\u5165\u529b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306fRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eFormula\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.Formula = \u201c=\u6570\u5f0f\u201d<\/pre>\n<p>\u3053\u308c\u3067\u6307\u5b9a\u3057\u305fRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306bVBA\u304b\u3089\u95a2\u6570\u5f0f\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample4()\r\n    Range(\"C3\").Formula = \"=VLOOKUP(B3, E3:G8, 4, False)\"\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-42949\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup01.jpg\" alt=\"VLookup01\" width=\"546\" height=\"304\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup01.jpg 546w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup01-150x84.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup01-300x167.jpg 300w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/p>\n<p>\u3053\u308c\u3067Excel\u30b7\u30fc\u30c8\u3068VBA\u306e\u958b\u767a\u74b0\u5883(VBE)\u3092\u884c\u3063\u305f\u308a\u6765\u305f\u308a\u305b\u305a\u306b\u3001VBA\u306e\u958b\u767a\u74b0\u5883\u3060\u3051\u3067<b>\u30c7\u30d0\u30c3\u30b0\u3092\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/b>\u3067\u3059\u3002<\/p>\n<p>\u305c\u3072\u899a\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Formula\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066VBA\u304b\u3089\u30bb\u30eb\u306b\u76f4\u63a5\u95a2\u6570\u3092\u5165\u529b\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/38274\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/vba_method-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010VBA\u5165\u9580\u3011\u95a2\u6570\u306e\u4f7f\u3044\u65b9(VBA\u95a2\u6570\u4e00\u89a7\u3001\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u306e\u5165\u529b)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u5225\u30b7\u30fc\u30c8\u3001\u5225\u30d6\u30c3\u30af\u3092\u53c2\u7167\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306f\u540c\u3058\u30b7\u30fc\u30c8\u5185\u306e\u53c2\u7167\u7bc4\u56f2\u3092\u691c\u7d22\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u53c2\u7167\u7bc4\u56f2\u304c\u5927\u304d\u304f\u306a\u3063\u305f\u308a\u3001\u52dd\u624b\u306b\u5909\u66f4\u3055\u308c\u305f\u304f\u306a\u3044\u5834\u5408\u306a\u3069\u306f\u691c\u7d22\u7d50\u679c\u3068<b>\u53c2\u7167\u7bc4\u56f2\u3092\u5225\u30b7\u30fc\u30c8\u3084\u5225\u30d6\u30c3\u30af\u306b\u5206\u3051\u308b<\/b>\u5834\u5408\u3082\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u5834\u5408\u306f\u3001\u53c2\u7167\u7bc4\u56f2\u306e\u6307\u5b9a\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Workbooks(\"\u30d6\u30c3\u30af\u540d.xlsx\").Worksheets(\u201c\u30b7\u30fc\u30c8\u540d\u201d).Range((\u53c2\u7167\u7bc4\u56f2)<\/pre>\n<p>\u53c2\u7167\u5148\u304c\u540c\u3058\u30d6\u30c3\u30af\u5185\u306e\u5834\u5408\u306fWorkbooks(&#8220;\u30d6\u30c3\u30af\u540d.xlsx&#8221;).\u306f\u7701\u7565\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u53c2\u7167\u5148\u306e\u30d6\u30c3\u30af\u304c\u958b\u3044\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample5()\r\n    With Worksheets(\"\u5165\u529b\")\r\n        .Range(\"C3\") = WorksheetFunction.VLookup(.Range(\"B3\"), Worksheets(\"\u30c7\u30fc\u30bf\").Range(\"A3:C8\"), 2, False)\r\n    End With\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-42948\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup02.jpg\" alt=\"VLookup02\" width=\"613\" height=\"330\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup02.jpg 613w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup02-150x81.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup02-300x162.jpg 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<h2>\u53c2\u7167\u7bc4\u56f2\u3092\u914d\u5217\u3067\u7f6e\u304d\u63db\u3048\u308b<\/h2>\n<p>\u3053\u308c\u307e\u3067\u306f\u53c2\u7167\u7bc4\u56f2\u304cExcel\u30b7\u30fc\u30c8\u4e0a\u306e\u3042\u308b\u30bb\u30eb\u7bc4\u56f2\u3067\u3057\u305f\u3002VBA\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001Excel\u30b7\u30fc\u30c8\u4e0a\u306e\u30bb\u30eb\u7bc4\u56f2\u3067\u306f\u306a\u304f\u3001<b>\u914d\u5217\u3092\u53c2\u7167\u7bc4\u56f2\u306b\u6307\u5b9a<\/b>\u3057\u305f\u3044\u5834\u5408\u3082\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u691c\u7d22\u3059\u308b\u53c2\u7167\u7bc4\u56f2\u3092\u914d\u5217\u306b\u3057\u305f\u5834\u5408\u306b\u3064\u3044\u3066\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample6()\r\n    Dim arr() As Variant\r\n    arr = Range(\"E3:G8\")\r\n    \r\n    '\u53c2\u7167\u7bc4\u56f2\u3092\u914d\u5217\u306b\u5909\u66f4\r\n    Range(\"C3\") = WorksheetFunction.VLookup(Range(\"B3\"), arr, 2, False)\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-42947\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup03.jpg\" alt=\"VLookup03\" width=\"543\" height=\"251\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup03.jpg 543w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup03-150x69.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup03-300x139.jpg 300w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/p>\n<p>\u307e\u305a\u3001\u914d\u5217arr\u306b\u30bb\u30eb\u7bc4\u56f2&#8221;E3:G8&#8243;\u306e\u5024\u3092\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002VLookup\u95a2\u6570\u306e\u53c2\u7167\u7bc4\u56f2\u306b\u914d\u5217arr\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u914d\u5217\u3068\u30bb\u30eb\u7bc4\u56f2\u306e\u5024\u3092\u5171\u6709\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/38356\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/vba_arr-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010VBA\u5165\u9580\u3011\u914d\u5217\u7dcf\u307e\u3068\u3081(\u521d\u671f\u5316\u3001\u30eb\u30fc\u30d7\u64cd\u4f5c\u3001\u30b3\u30d4\u30fc\u3001\u7d50\u5408\u3001\u6bd4\u8f03)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670829\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>VLookup\u306e\u9ad8\u901f\u5316<\/h2>\n<p>\u3053\u308c\u307e\u3067\u306f\u3001\u6bd4\u8f03\u7684\u5c0f\u3055\u3044\u30c7\u30fc\u30bf\u3092VLookup\u3067\u53c2\u7167\u3057\u3066\u691c\u7d22\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u4f8b\u3048\u30701\u4e07\u4ef6\u308410\u4e07\u4ef6\u3092\u8d85\u3048\u308b\u5927\u304d\u306a\u30c7\u30fc\u30bf\u304b\u3089\u691c\u7d22\u3092\u6570\u5343\u56de\u7e70\u308a\u8fd4\u3057\u305f\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u3093\u306a\u5834\u5408\u306f<b>VLookup\u95a2\u6570\u306e\u51e6\u7406\u901f\u5ea6\u3082\u8003\u616e<\/b>\u3057\u306a\u3051\u308c\u3070\u3001\u6642\u9593\u304c\u304b\u304b\u308a\u3059\u304e\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6642\u9593\u304c\u304b\u304b\u308a\u3059\u304e\u3066\u3057\u307e\u3048\u3070\u3001\u4ee3\u308f\u308a\u306e\u624b\u6bb5\u3082\u8003\u3048\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Excel\u3067\u306fVLOOKUP\u95a2\u6570\u306e\u4ee3\u308f\u308a\u306b\u3001INDEX\u95a2\u6570\u3068MATCH\u95a2\u6570\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u308f\u3046\u3053\u3068\u3082\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>INDEX\u95a2\u6570\u306f<\/p>\n<pre class=\"lang:vb decode:true \">=INDEX(\u7bc4\u56f2,\u7e26\u4f4d\u7f6e)<\/pre>\n<p>&#8220;\u7e26\u4f4d\u7f6e&#8221;\u306b&#8221;\u7bc4\u56f2&#8221;\u5185\u306e\u4f4d\u7f6e\u3092\u6570\u5024\u3067\u5165\u529b\u3059\u308b\u3068\u305d\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u914d\u5217\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u6307\u5b9a\u3057\u305f\u3089\u3001\u8981\u7d20\u306e\u5024\u304c\u8fd4\u3063\u3066\u304f\u308b\u306e\u3068\u4f7f\u3044\u65b9\u304c\u4f3c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>MATCH\u95a2\u6570\u306f<\/p>\n<pre class=\"lang:vb decode:true \">=MATCH(\u691c\u7d22\u5024,\u7bc4\u56f2,\u4e00\u81f4\u304b\u8fd1\u4f3c\u5024\u304b)<\/pre>\n<p>\u201d\u691c\u7d22\u5024\u201d\u306b\u5024\u3092\u5165\u529b\u3059\u308b\u3068\u201d\u7bc4\u56f2\u201d\u306e\u4e2d\u306e\u4f4d\u7f6e\u3092\u6570\u5024\u3067\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>MATCH\u95a2\u6570\u3067\u691c\u7d22\u5024\u306e\u4f4d\u7f6e\u3092\u51fa\u529b\u3057\u3066\u3001\u305d\u306e\u4f4d\u7f6e\u3092\u4f7f\u3063\u3066\u3042\u308b\u7bc4\u56f2\u5185\u306e\u5024\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u3067VLOOKUP\u95a2\u6570\u3068\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample7()\r\n    Range(\"C3\").Formula = \"=INDEX(F3:F8, MATCH(B3, E3:E8))\"\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-42946\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup04.jpg\" alt=\"VLookup04\" width=\"540\" height=\"304\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup04.jpg 540w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup04-150x84.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup04-300x169.jpg 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/p>\n<p>\u307e\u305f\u3001VBA\u3067\u306f\u691c\u7d22\u306b\u306fFind\u30e1\u30bd\u30c3\u30c9\u3092\u3088\u304f\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u3067\u51e6\u7406\u901f\u5ea6\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4f7f\u3046\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306eVBA\u3092\u4f7f\u3063\u3066\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Sub vlookup_sample9()\r\n    Const num = 10000\r\n    \r\n    Dim i As Long\r\n    For i = 1 To num\r\n        Range(\"B\" &amp; i + 2) = \"C\" &amp; Format(CStr(Round(num * Rnd) + 1), \"00000\")\r\n        Range(\"E\" &amp; i + 2) = \"C\" &amp; Format(CStr(i), \"00000\")\r\n        Range(\"F\" &amp; i + 2) = \"\u5546\u54c1\" &amp; Format(CStr(i), \"00000\")\r\n    Next i\r\nEnd Sub<\/pre>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-42945\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup06.jpg\" alt=\"VLookup06\" width=\"536\" height=\"250\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup06.jpg 536w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup06-150x70.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup06-300x140.jpg 300w\" sizes=\"(max-width: 536px) 100vw, 536px\" \/><\/p>\n<p>1\u4e07\u500b\u306e\u30c7\u30fc\u30bf\u30ea\u30b9\u30c8\u304b\u3089\u5546\u54c1\u540d\u3092\u62bd\u51fa\u3059\u308b\u4f5c\u696d\u30921\u4e07\u56de\u7e70\u308a\u8fd4\u3059\u6642\u9593\u3067\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:vb decode:true \">Declare Function GetTickCount Lib \"KERNEL32.DLL\" () As Long\r\n\r\nSub vlookup_sample8()\r\n    Const num = 10000\r\n    \r\n    Dim newTimer As Long\r\n    Dim t1 As Long, t2 As Long, t3 As Long\r\n    \r\n    'VLookup\u95a2\u6570\r\n    newTimer = GetTickCount '\u8a08\u6e2c\u958b\u59cb\r\n    Dim i As Long\r\n    For i = 1 To num\r\n        Range(\"C\" &amp; i + 2) = WorksheetFunction.VLookup(Range(\"B\" &amp; i + 2), Range(\"E3:F\" &amp; num + 2), 2, False)\r\n    Next i\r\n    t1 = GetTickCount - newTimer '\u51e6\u7406\u6642\u9593\u7b97\u51fa\r\n    \r\n    'Index\u95a2\u6570 &amp; Match\u95a2\u6570\r\n    newTimer = GetTickCount '\u8a08\u6e2c\u958b\u59cb\r\n    For i = 1 To num\r\n        Range(\"C\" &amp; i + 2) = WorksheetFunction.Index(Range(\"F3:F\" &amp; num + 2), _\r\n                                WorksheetFunction.Match(Range(\"B\" &amp; i + 2), Range(\"E3:E\" &amp; num + 2)))\r\n    Next i\r\n    t2 = GetTickCount - newTimer '\u51e6\u7406\u6642\u9593\u7b97\u51fa\r\n    \r\n    'Find\u30e1\u30bd\u30c3\u30c9\r\n    newTimer = GetTickCount '\u8a08\u6e2c\u958b\u59cb\r\n    Dim myObj As Range\r\n    For i = 1 To num\r\n        Set myObj = Range(\"E3:E\" &amp; num + 2).Find(Range(\"B\" &amp; i + 2))\r\n        Range(\"C\" &amp; i + 2) = Range(\"F\" &amp; myObj.Row)\r\n    Next i\r\n    t3 = GetTickCount - newTimer '\u51e6\u7406\u6642\u9593\u7b97\u51fa\r\n    \r\n    MsgBox \"VLookup\u95a2\u6570\uff1a \" &amp; t1 &amp; \"\u30df\u30ea\u79d2\" &amp; vbCrLf &amp; _\r\n            \"Index\u95a2\u6570 &amp; Match\u95a2\u6570\uff1a \" &amp; t2 &amp; \"\u30df\u30ea\u79d2\" &amp; vbCrLf &amp; _\r\n            \"Find\u30e1\u30bd\u30c3\u30c9\uff1a \" &amp; t3 &amp; \"\u30df\u30ea\u79d2\"\r\nEnd Sub<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<br \/>\n<img decoding=\"async\" class=\"alignnone size-large wp-image-42944\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup05-640x218.jpg\" alt=\"VLookup05\" width=\"640\" height=\"218\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup05-640x218.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup05-150x51.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup05-300x102.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/01\/VLookup05.jpg 726w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u5b9f\u884c\u7d50\u679c\u3067\u306f<br \/>\n<div class=\"box01\"><\/p>\n<li><b>VLookup\u95a2\u6570\u3067\u7d0412.5\u79d2<\/b><\/li>\n<li><b>Index\u95a2\u6570\u3068Match\u95a2\u6570\u3067\u7d042.7\u79d2<\/b><\/li>\n<li><b>Find\u30e1\u30bd\u30c3\u30c9\u3067\u7d0439.3\u79d2<\/b><\/li>\n<\/div>\n<p>\u3068\u3044\u3046\u7d50\u679c\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u7d50\u679c\u304b\u3089\u306f\u3001VLookup\u95a2\u6570\u3088\u308a\u3082\u4ee3\u308f\u308a\u306bIndex\u95a2\u6570\u3068Match\u95a2\u6570\u3092\u4f7f\u3063\u305f\u65b9\u304c\u51e6\u7406\u6642\u9593\u3092\u77ed\u7e2e\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6570\u5343\u3084\u6570\u4e07\u500b\u306e\u30c7\u30fc\u30bf\u30ea\u30b9\u30c8\u304b\u3089\u6570\u5343\u500b\u306e\u30c7\u30fc\u30bf\u3092\u691c\u7d22\u3057\u3066\u62bd\u51fa\u3059\u308b\u5834\u5408\u306f\u3001Index\u95a2\u6570\u3068Match\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u30aa\u30b9\u30b9\u30e1\u3057\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001Find\u30e1\u30bd\u30c3\u30c9\u306f\u51e6\u7406\u6642\u9593\u304c\u304b\u306a\u308a\u9045\u3044\u7d50\u679c\u3068\u306a\u308a\u307e\u3057\u305f\u3002Find\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/31055\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/find-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010VBA\u5165\u9580\u3011Find\u3001FindNext\u3067\u691c\u7d22(\u5b8c\u5168\u4e00\u81f4\u3001\u90e8\u5206\u4e00\u81f4\u3001\u8907\u6570\u4e00\u81f4)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001VLOOKUP\u95a2\u6570\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30bb\u30eb\u306b\u5f0f\u3067\u8a18\u8ff0\u3059\u308b\u3001VBA\u3067\u3082\u5b9f\u88c5\u3067\u304d\u308b\u3001\u3053\u306e\u4e21\u65b9\u3092\u30de\u30b9\u30bf\u30fc\u3059\u308b\u3068\u3044\u308d\u3093\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u3001\u9811\u5f35\u3063\u3066\u30de\u30b9\u30bf\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u306e\u8868\u3067\u30b3\u30fc\u30c9\u3084\u533a\u5206\u306e\u6a2a\u306b\u5bfe\u5fdc\u3059\u308b\u540d\u79f0\u3092\u51fa\u3059\u3068\u304d\u306a\u3069\u3001VLOOKUP\u95a2\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002 \u3057\u304b\u3057\u3001\u521d\u5fc3\u8005\u306b\u3068\u3063\u3066\u306f\u300cVLOOKUP\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u304c\u3044\u307e\u3044\u3061\u308f\u304b\u3089\u306a\u3044\u2026\u300d\u306a\u3093\u3066\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f \u305d\u3053\u3067\u3001\u672c\u8a18 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":75774,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2340],"tags":[591],"class_list":["post-29654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vba-study","tag-excel-vba"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/29654\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/29654\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-15T04:42:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:44:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01\",\"datePublished\":\"2017-08-15T04:42:46+00:00\",\"dateModified\":\"2024-05-06T02:44:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654\"},\"wordCount\":169,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"keywords\":[\"Excel VBA\"],\"articleSection\":[\"VBA\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654\",\"name\":\"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"datePublished\":\"2017-08-15T04:42:46+00:00\",\"dateModified\":\"2024-05-06T02:44:28+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/VBA1.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/29654#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","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:\/\/www.sejuku.net\/blog\/29654","og_locale":"ja_JP","og_type":"article","og_title":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/29654","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-08-15T04:42:46+00:00","article_modified_time":"2024-05-06T02:44:28+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/29654#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/29654"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01","datePublished":"2017-08-15T04:42:46+00:00","dateModified":"2024-05-06T02:44:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/29654"},"wordCount":169,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/29654#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","keywords":["Excel VBA"],"articleSection":["VBA\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/29654","url":"https:\/\/www.sejuku.net\/blog\/29654","name":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/29654#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/29654#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","datePublished":"2017-08-15T04:42:46+00:00","dateModified":"2024-05-06T02:44:28+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/29654#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/29654"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/29654#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/VBA1.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/29654#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u8131VBA\u521d\u5fc3\u8005\uff01VLOOKUP\u95a2\u6570\u306e\u57fa\u790e\u306e\u57fa\u790e\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/29654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=29654"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/29654\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/75774"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=29654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=29654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=29654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}