{"id":1632,"date":"2020-02-23T23:54:29","date_gmt":"2020-02-23T14:54:29","guid":{"rendered":"https:\/\/euc-access-excel-db.com\/tips\/?p=1632"},"modified":"2020-03-01T19:41:02","modified_gmt":"2020-03-01T10:41:02","slug":"vlookup01","status":"publish","type":"post","link":"https:\/\/euc-access-excel-db.com\/tips\/ct09_biz-pctec\/vlookup01","title":{"rendered":"Excel\u306e\u300cVLOOKUP\u95a2\u6570\u300d\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>Excel\u306e\u300cVLOOKUP\u95a2\u6570\u300d\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<span style=\"color: #ff0000;\">\u203b\u307e\u3060\u66f8\u304d\u304b\u3051\u3067\u3059\u3002\u3059\u307f\u307e\u305b\u3093\u3002<\/span><br \/>\n<span style=\"color: #ff0000;\">\u203b\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u307f\u307e\u305b\u3093\u3002<\/span><br \/>\n<span style=\"color: #ff0000;\">\u203b\u30e1\u30e2\u66f8\u304d\u306a\u306e\u3067\u3001\u81ea\u5206\u3067\u3082\u610f\u5473\u4e0d\u660e\u306a\u7b87\u6240\u3082\u591a\u3044\u3067\u3059\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002<\/span><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n<p>\u2605 \u89e3\u8aac\u30b5\u30a4\u30c8<\/p>\n<p><a href=\"https:\/\/dekiru.net\/article\/15221\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/dekiru.net\/article\/15221\/<\/a><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2605 VLOOKUP\u95a2\u6570\u304c\u300cSQL\u300d\u3084\u300c\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\u306a\u3069\u300d\u3088\u308a\u3082\u4fbf\u5229\u306a\u5834\u9762<\/p>\n<p>VLOOKUP\u95a2\u6570\u306f\u3001\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u9762\u3067\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>(01)\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u306e\u306a\u304b\u3067\u3001\u4ed6\u306e\u8868\u304b\u3089\u300c\u5024\u306e\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u304c\u3057\u305f\u3044\u5834\u5408<br \/>\n(02)\u5217\u5358\u4f4d\u3067\u306f\u306a\u304f\u30011\u30bb\u30eb\u5358\u4f4d\u3067\u7d30\u304b\u304f\u3001\u300c\u5024\u306e\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u304c\u3057\u305f\u3044\u5834\u5408<br \/>\n(03)\u5217\u5358\u4f4d\u30fb\u30ea\u30b9\u30c8\u8868\u306a\u3069\u306e\u306a\u304b\u3067\u3042\u3063\u3066\u3082\u3001\u898f\u6a21\u306e\u5c0f\u3055\u3044\u8868\u3067\u306e\u3001\u300c\u5024\u306e\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u304c\u3057\u305f\u3044\u5834\u5408<br \/>\n(04)\u8907\u6570\u306e\u8907\u96d1\u306a\u6761\u4ef6\u304c\u540c\u6642\u306b\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u3002<br \/>\n(05)\u300c\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u3057\u305f\u3044\u5bfe\u8c61\u306e\u8868\u306e\u300c\u5217\u300d\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\uff08\u4e26\u3073\u9806\u7b49\u3005\uff09\u304c\u3001\u983b\u7e41\u306b\u5909\u5316\u3057\u306a\u3044\u5834\u5408\u3002\uff08\u3042\u308b\u3044\u306f\u3001\u5217\u540d\u3067\u51e6\u7406\u3057\u306a\u304f\u3066\u3082\u3044\u3044\u5834\u5408\u30fb\u30bb\u30eb\u756a\u5730\u3067\u51e6\u7406\u3067\u304d\u308b\u5834\u5408\u3002\uff09<br \/>\n\u203b\u300c\u5217\u300d\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\uff1d\u5217\u306e\u4e26\u3073\u9806\u306a\u3069\u304c\u3001\u983b\u7e41\u306b\u5909\u5316\u3059\u308b\u5834\u5408\u306f\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u300d\u306e\u307b\u3046\u304c\u5de5\u6570\u304c\u6fc0\u6e1b\u3057\u307e\u3059\u3002\u4fee\u6b63\u306e\u5fc5\u8981\u3082\u6e1b\u308a\u307e\u3059\u3002<br \/>\n(06)\uff11\u3064\u306e\u8868\u306e\u4e2d\u306b\u304a\u3044\u3066\u3001\u8907\u6570\u306e\u300c\u53c2\u7167\u5148\u30fb\u7d10\u4ed8\u3051\u5148\u300d\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u3002\uff08\uff1d\u8907\u6570\u306e\u7570\u306a\u308b\u8868\u306e\u5024\u3092\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u3057\u305f\u3044\u5834\u5408\u3002\uff09<br \/>\n\u306a\u3069\u306a\u3069\u3002<br \/>\n(07)\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u300d\u3067\u306f\u3042\u308a\u3048\u306a\u3044\u691c\u7d22\u7d50\u679c\uff08VLOOKUP\u306e\u7b2c4\u5f15\u6570\u3092True\u3067\u4f7f\u3046\u3088\u3046\u306a\u691c\u7d22\uff09\u304c\u3001\u305d\u306e\u4ed5\u4e8b\u306b\u30de\u30c3\u30c1\u3059\u308b\u5834\u5408\u3002<\/p>\n<p>\u203b\u53c2\u8003\u8a18\u4e8b<br \/>\n\u2193\u3053\u3061\u3089\u306e\u3001\u300e \u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u300d\u306e\u307b\u3046\u304c\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u300d\u3084\u300c\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\u306a\u3069\u300d\u3088\u308a\u3082\u4fbf\u5229\u306a\u5834\u9762 \u300f\u3082\u3054\u53c2\u8003\u306b\u3002<br \/>\n\u300e <a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct07_se\/ct075012_xls2k_vba_tips\/ws-fuction_or_sql01\" target=\"_blank\" rel=\"noopener noreferrer\">\u2605\u2605\u2605\u2605\u2605\u2605Access2000VBA\u30fbExcel2000VBA\u72ec\u5b66\uff5e\u2605\u2605\u2605\u300c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u300d\u3068\u300cSQL\u300d\u3084\u300c\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\u30fb\u30d1\u30ef\u30fc\u30d4\u30dc\u30c3\u30c8\u306a\u3069\u300d\u3068\u306e\u4f7f\u3044\u5206\u3051\u3002\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u95a2\u6570\u304c\u4fbf\u5229\u306a\u5834\u9762\u3068SQL\u304c\u4fbf\u5229\u306a\u5834\u9762\u306e\u4f7f\u3044\u5206\u3051\u306b\u3064\u3044\u3066\uff5e<\/a> \u300f<\/p>\n<p>\u5927\u304d\u306a\u30ea\u30b9\u30c8\u5f62\u5f0f\u306e\u8868\u3084\u8907\u96d1\u306a\u6761\u4ef6\u304c\u540c\u6642\u306b\u8907\u6570\u3042\u308b\u3088\u3046\u306a\u5834\u5408\u3001\u901f\u5ea6\u3092\u6c42\u3081\u308b\u3088\u3046\u306a\u5834\u5408\u3001\u306f\u3001SQL\uff08MicrosoftQuery\u3084QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7b49\u3005\u306b\u3066\uff09\u3092\u4f7f\u3046\u307b\u3046\u304c\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3060\u3068\u304b\u3048\u3063\u3066\u52b9\u7387\u304c\u60aa\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3088\u3046\u306a\u300c\u5c0f\u56de\u308a\u3092\u304d\u304b\u305b\u305f\u3044\u3068\u304d\u300d\u306b\u3001VLOOKUP\u95a2\u6570\u3067\u306e\u300c\u5024\u306e\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u306f\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001SQL\u3092\u4f7f\u3046\u5834\u5408\u3067\u3082\u3001\u5358\u7d14\u306a\u51e6\u7406\u306a\u3089\u95a2\u6570\u5316\u3057\u3066\u3057\u307e\u3048\u3070\u300c\u5c0f\u56de\u308a\u3092\u5229\u304b\u305b\u308b\u3053\u3068\u3082\u4e00\u5fdc\u4e0d\u53ef\u80fd\u3058\u3083\u306a\u3044\u300d\u306e\u3067\u3001VLOOKUP\u95a2\u6570\u3001SQL\u3092\u4f7f\u3063\u305f\u81ea\u4f5c\u95a2\u6570\u3001\u305d\u306e\u4ed6\u3001\u3067\u30b7\u30fc\u30f3\u306b\u3042\u3063\u305f\u3082\u306e\u3092\u9078\u629e\u3057\u5206\u3051\u308c\u3070\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u5927\u5909\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u3055\u3093\u306f\u300cVLOOKUP\u95a2\u6570\u306f\u53e4\u3044\u6280\u8853\u300d\u3068\u81ea\u5206\u3067\u81ea\u5206\u306e\u4f5c\u3063\u305f\u6a5f\u80fd\u3092\u3051\u306a\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\nVLOOKUP\u95a2\u6570\u3067\u3082\u3001INDEX\uff0bMATCH\uff1f\u3067\u3082\u3001SQL\u3067\u3082\u3001\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u6a5f\u80fd\u3067\u3082\u3001\u306a\u3093\u3067\u3082\u3001\u53e4\u304b\u308d\u3046\u304c\u65b0\u3057\u304b\u308d\u3046\u304c\u3001\u30b1\u30fc\u30b9\u30d0\u30a4\u30b1\u30fc\u30b9\u3067\u3001\u30b7\u30fc\u30f3\u306b\u3042\u3063\u305f\u4f7f\u3044\u65b9\u30fb\u6a5f\u80fd\u306e\u30b3\u30fc\u30c7\u30a3\u30cd\u30a4\u30c8\u3092\u3059\u308b\u306e\u304c\u4e00\u756a\u3001\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u30b3\u30b9\u30d1\u30a2\u30c3\u30d7\u306b\u7d50\u3073\u4ed8\u304d\u307e\u3059\u3002<br \/>\n<span style=\"color: #0000ff;\"><b>\u300c\u30af\u30ed\u30b9\u96c6\u8a08\u8868\uff08<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct08_exceltruebasic\/ct080301_dynamictable_n_statictable\/static_table\" target=\"_blank\" rel=\"noopener noreferrer\">\u9759\u7684\u306a\u8868<\/a>\uff09\u300d\u3084\u300c\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u30e1\u30c1\u30e3\u30af\u30c1\u30e3\u306a\u8868\u3067\u306e\u5229\u7528\u300d\u3068\u304b\u3001\u300c\u30bb\u30eb\u5358\u4f4d\u3067\u5c0f\u56de\u308a\u304c\u5229\u304f\u4f7f\u3044\u65b9\u300d\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001VLOOKUP\u95a2\u6570\u306e\u307b\u3046\u304c\u4fbf\u5229\u306a\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/b><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><b>\u203b\u9006\u306b\u300c\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u3057\u3063\u304b\u308a\u3057\u3066\u3044\u308b\u30ea\u30b9\u30c8\u5f62\u5f0f\u306e\u8868\uff08<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct08_exceltruebasic\/ct080301_dynamictable_n_statictable\/dynamic_table\" target=\"_blank\" rel=\"noopener noreferrer\">\u52d5\u7684\u306a\u8868<\/a>\uff09\u300d\u3067\u3001<br \/>\n\u300c\u30bb\u30eb\u5358\u4f4d\u3067\u306f\u306a\u304f\u300d\u300c\u8868\u5358\u4f4d\u300d\u3067\u300c\u4e00\u62ec\u64cd\u4f5c\u300d\u7b49\u3005\u304c\u300c\u9ad8\u901f\u306b\u300d\u3057\u305f\u3044\u5834\u5408\u3001<br \/>\n\u300c\u6570\u5f0f\u7834\u58ca\u9632\u6b62\u306e\u30bb\u30eb\u30ed\u30c3\u30af\u3082\u3057\u305f\u304f\u306a\u3044\u300d\u7b49\u3005\u306e\u5834\u5408\u306f\u3001<br \/>\n\u300cSQL\u300d\u306e\u300c\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\uff08JOIN\u306a\u3069\u3092\u4f7f\u3046\uff09\u300d\u307b\u3046\u304c\u4fbf\u5229\u3067\u3001<br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #0000ff;\"><b>VLOOKUP\u306f\u3059\u3054\u304f\u975e\u52b9\u7387\u306b\u306a\u308a\u307e\u3059\u3002<\/b><\/span><\/font><\/b><\/span><br \/>\n<font style=\"border-bottom:3px double #ff0000;\"><span style=\"color: #32cd32;\"><b>\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u3068\u306e\u300c\u4f7f\u3044\u5206\u3051\u300d\u306f\u3001\u3068\u3063\u3066\u3082\u5927\u5207\u3067\u3059\u306e\u3067\u3001<br \/>\n\u300c\u3044\u3064\u3082\u7d76\u5bfeVLOOKUP\u304c\u3044\u3044\u300d\u3068\u304b\u300c\u3044\u3064\u3082\u7d76\u5bfeSQL\u304c\u3044\u3044\u300d\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u306f\u300c\u306a\u308a\u307e\u305b\u3093\u300d\u3002<\/b><\/b><\/span><\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2605 VLOOKUP\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u69cb\u6587\u30eb\u30fc\u30eb<\/p>\n<p>=VLOOKUP(\u2460\u691c\u7d22\u8a9e\u53e5 ,<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u2461\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\u30fb\u7d76\u5bfe\u53c2\u7167\u3067\uff09 ,<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u2462\u30b2\u30c3\u30c8\u3057\u305f\u3044\u5024\u304c\u5728\u308b\u5217\u306e\u5217\u9806\uff08\u2461\u306e\u8868\u306e\u7bc4\u56f2\u5185\u3067\u306e\uff09 ,<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u2463\u691c\u7d22\u306e\u578b )<\/p>\n<p>(\u30a2)<br \/>\n\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u3001\u300c\u691c\u7d22\u5bfe\u8c61\u30fb\u691c\u7d22\u5148\u306e\u5217\u300d\u306f\u3001\u7b2c\uff12\u5f15\u6570\u306e\u300c\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\uff09\u300d\u306e\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u72b6\u614b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001\u305d\u306e\u300c\u691c\u7d22\u5148\u306e\u5217\u300d\u304c\u300c\u4e00\u756a\u5de6\u306b\u304f\u308b\u3088\u3046\u306b\u300d\u3001\u5217\u3092\u5165\u308c\u66ff\u3048\u306a\u3069\u3092\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n    \u3000\u3000\u3042\u308b\u3044\u306f\u3001\u5217\u306e\u8907\u88fd\u3092\u4f5c\u6210\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n    \u3000\u3000\u3042\u308b\u3044\u306f\u3001\u7b2c\uff13\u5f15\u6570\u3067\u4f7f\u3046\u300c\u30b2\u30c3\u30c8\u3057\u305f\u3044\u5024\u304c\u5728\u308b\u5217\u306e\u5217\u9806\u300d\u3092\u3001\u3059\u3079\u3066\u3001<br \/>\n   \u3000\u3000\u300c\u691c\u7d22\u5bfe\u8c61\u306e\u5217\u300d\u306e\u53f3\u5074\u306b\u79fb\u52d5\u3055\u305b\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n    \u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u300c\u691c\u7d22\u5bfe\u8c61\u306e\u5217\u300d\u304c\u3001\u6307\u5b9a\u3057\u305f\u8868\u306e\u7bc4\u56f2\u306e\u5916\u5074\u306b\u5c45\u3066\u3057\u307e\u3046\u3068\u3001<br \/>\n\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>(\u30a4)<br \/>\n\u4e8b\u524d\u77e5\u8b58\u3068\u3057\u3066\u3067\u3059\u304c\u2026\u3001(\u30a2)\u306e\u300c\u691c\u7d22\u5bfe\u8c61\u306e\u5217\u300d\u81ea\u4f53\u306f\u3001\u5f15\u6570\u3068\u3057\u3066\u306f\u6307\u5b9a\u3057\u307e\u305b\u3093\u3002<br \/>\n\u300c\u305d\u308c\u306f\u8868\u306e\u4e00\u756a\u5de6\u306b\u3042\u308b\u524d\u63d0\u3060\u304b\u3089\u300d\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u300c\u81ea\u52d5\u7684\u306b\u6c7a\u3081\u6253\u3061\u300d\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3082\u3057\u4eee\u306b\u3001\u691c\u7d22\u8a9e\u53e5\u306e\u5024\u304c\u300c\u691c\u7d22\u5bfe\u8c61\u306e\u5217\u300d\u4ee5\u5916\u306e\u5217\uff08\u30bb\u30eb\uff09\u306b\u3042\u3063\u305f\u3068\u3057\u3066\u3082\u3001\u9593\u9055\u3048\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u7121\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>(\u30a6)<br \/>\n\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u3001\u7b2c\uff13\u5f15\u6570\u306e\u300c\u2462\u30b2\u30c3\u30c8\u3057\u305f\u3044\u5024\u304c\u5728\u308b\u5217\u306e\u5217\u9806\uff08\u2461\u306e\u8868\u306e\u7bc4\u56f2\u5185\u3067\u306e\uff09 \u300d\u306f\u3001\u305d\u306e\u5217\u306e\u4e26\u3073\uff08\u5217\u9806\uff09\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3046\u3068VLOOKUP\u95a2\u6570\u81ea\u4f53\u304c\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u4e26\u3073\uff08\u5217\u9806\uff09\u304c\u5909\u308f\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<br \/>\n\u203b\u3082\u3057\u3053\u306e\u4e26\u3073\uff08\u5217\u9806\uff09\u304c\u826f\u304f\u5909\u308f\u308b\u3088\u3046\u306a\u3089\u30fb\u30fb\u30fb\u3001\u4f8b\u3048\u3070\u57fa\u5e79\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u6bce\u56de\u3053\u306e\u8868\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3001\u3068\u3044\u3046\u3088\u3046\u306a\u5834\u5408\u3067\u3059\u304c\u3001\u305d\u306e\u5834\u5408\u306fVLOOKUP\u95a2\u6570\u306f\u3084\u3081\u3066\u300c<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct90_yougo\/yougo-sql01\" target=\"_blank\" rel=\"noopener noreferrer\">SQL<\/a>\u300d\u3067\u306e\u300cJOIN\u300d\u304b\u300cWHERE\u300d\u3092\u4f7f\u3046\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\uff08\u305d\u306e\u969b\u306f\u3001MicrosoftQuery\u304bQueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff0bVBA\uff0bODBC\u3001\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\uff09<br \/>\nSQL\u3068VLOOKUP\u95a2\u6570\u4ee5\u5916\u306a\u3089\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\uff1f\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u6a5f\u80fd\uff1f\u3067\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u52d5\u4f5c\u304c\u9045\u3044\u30fb\u9762\u5012\u304f\u3055\u3044\u306e\u3068\u30cd\u30b9\u30c8\u304c\u3057\u306b\u304f\u3044\u30fb\u6587\u732e\u304c\u5c11\u306a\u3059\u304e\u3066\u81ea\u52d5\u5316\u3067\u304d\u306a\u3044\uff08\u3067\u304d\u306b\u304f\u3044\uff09\u306a\u3069\u306e\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001\u30d1\u30ef\u30fc\u30af\u30a8\u30ea\uff1f\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7\u6a5f\u80fd\uff1f\u3067\u3057\u304b\u3067\u304d\u306a\u3044\u3053\u3068\u3067\u306f\u306a\u3044\u3001\u3054\u304f\u4e00\u822c\u7684\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u306a\u3089\u3001MicrosoftQuery\u304bQueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff0bVBA\uff0bODBC\u306e\u307b\u3046\u304c\u7c21\u5358\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u305d\u306e\u306a\u304b\u3067\u3068\u304f\u306b QueryTable\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff0bVBA\uff0bODBC\u306e\u5834\u5408\u306fVBA\u306b\u3088\u308b\u300c\u81ea\u52d5\u5316\u300d\u304c\u3059\u3054\u304f\u3057\u3084\u3059\u304f\u3066\u30fb\u30cd\u30b9\u30c8\u7684\u306a\u3053\u3068\u3082\u3057\u3084\u3059\u3044\u3067\u3059\uff09<\/p>\n<p>(\u30a8)<br \/>\n\u7b2c\uff11\u5f15\u6570\u306e\u300c\u2460\u691c\u7d22\u8a9e\u53e5\u300d\u306f\u3001\u30bb\u30eb\u756a\u5730\u3067\u306f\u306a\u304f\u5b9f\u969b\u306e\u751f\u30c7\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u3066\u3082OK\u3067\u3059\u3002<\/p>\n<p>(\u30aa)<br \/>\n\u7b2c\uff12\u5f15\u6570\u306e\u300c\u2461\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\uff09\u300d\u306e\u6307\u5b9a\u6642\u306b\u306f\u3001\u4f8b\u5916\u30b1\u30fc\u30b9\u4ee5\u5916\u306f\u3001\u57fa\u672c\u3001\u300c\u7d76\u5bfe\u53c2\u7167\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\n     \u3067\u306a\u3044\u3068\u3001\u6700\u521d\u306b\u4f5c\u3063\u305fVLOOKUP\u5f0f\u3092\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u3059\u308b\u3053\u3068\u3067\u3001<br \/>\n    \u300c\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\uff09\u300d\u3082\u30ba\u30ec\u3066\u3044\u3063\u3066\u3057\u307e\u3044\u3001\u5024\u3092\u6b63\u3057\u304f\u300c\u7d10\u4ed8\u3051\u30b2\u30c3\u30c8\u300d\u3067\u304d\u306a\u3044\u306e\u3067\u3002<\/p>\n<p>\u3000\u3000\u203b\u63a2\u3059\u5834\u6240\u306f\u3001\u884c\u3068\u5217\u304c\u5897\u3048\u3066\u3082\u3044\u3044\u3088\u3046\u306b\u3001\u300c\u540d\u524d\u5b9a\u7fa9\u300d\u6a5f\u80fd\u3067\u5b9a\u7fa9\u3057\u305f<br \/>\n\u3000\u3000\u3000\u305d\u306e\u300c\u540d\u524d\u300d\u3067\u3082OK\u3067\u3059\u3002<br \/>\n\u3000\u3000\u3000\u305d\u306e\u5834\u5408\u3001\u7d76\u5bfe\u53c2\u7167\u3067\u306e\u30bb\u30eb\u6307\u5b9a\u306e\u5834\u5408\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u3057\u3066\u3082<br \/>\n\u3000\u3000\u3000\u53c2\u7167\u5148\u306e\u30bb\u30eb\u304c\u30ba\u30ec\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3000\u3000\u3000\u305d\u3057\u3066\u57fa\u672c\u3001\u540d\u524d\u306e\u5b9a\u7fa9\u306b\u3001<br \/>\n\u3000\u3000\u3000\u300c=OFFSET($A$1,0,0,COUNTA($A:$A),COUNTA($1:$1))\u300d<br \/>\n\u3000\u3000\u3000\u3092\u4f7f\u3046\u3068\u3001\u63a2\u3059\u5834\u6240\u306e\u884c\u3068\u5217\u304c\u5897\u3048\u3066\u3082\u6570\u5f0f\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3000\u3000\u3000\u81ea\u52d5\u3067\u5897\u6e1b\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3000\u3000\u3000\uff08\u305f\u3060\u3057\u3001\u4e00\u756a\u5de6\u306e\u5217\u306e\u30bb\u30eb\u304c\u3001\u5168\u90e8\u57cb\u307e\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\uff09<br \/>\n\u3000\u3000\u3000\u53c2\u8003\u2192\u300e<a href=\"https:\/\/euc-access-excel-db.com\/tips\/ct08_exceltruebasic\/ct080820_make_table_rule\/src01\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d4\u30dc\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u306e\u30bd\u30fc\u30b9\u306e\u8868\u3092\u3001\u884c\u3082\u5217\u3082\u53ef\u5909\u306b\u3057\u3059\u308b\u65b9\u6cd5<\/a>\u300f<\/p>\n<p>(\u30ab)<br \/>\n\u7b2c\uff14\u5f15\u6570\u306e\u300c\u2463\u691c\u7d22\u306e\u578b\u300d\u306f\u300cTrue\u300d\u306b\u305b\u305a\u306b\u300cFalse\u300d\u306b\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u300c#N\/A\u300d\u30a8\u30e9\u30fc\u306a\u3069\u304c\u51fa\u305f\u308a\u3001 \u6b63\u3057\u3044\u5024\u304c\u51fa\u306a\u304b\u3063\u305f\u308a\u3067\u300c\u30cf\u30de\u308a\u300d\u307e\u3059\u3002<\/p>\n<p>     \u25c6 \u7701\u7565\u3059\u308b\u3068\u300cTrue\u300d\u3068\u307f\u306a\u3055\u308c\u308b\u306e\u3067\u3001\u300c\u7d76\u5bfe\u306b\u7701\u7565\u3057\u306a\u3044\u300d\u3088\u3046\u306b\u3002<br \/>\n        \u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u306f\u3001\u7d76\u5bfe\u306b\u300cFalse\u300d\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3002<\/p>\n<p>    \u203b\uff3b\u691c\u7d22\u5024\uff3d\u306b\u4e00\u81f4\u3059\u308b\u30c7\u30fc\u30bf\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u304d\u3001<br \/>\n      \u300cTRUE\u300d\u3067\u306f\uff3b\u691c\u7d22\u5024\uff3d\u3092\u8d85\u3048\u306a\u3044\u6700\u5927\u5024\u3092\u8a72\u5f53\u306e\u30c7\u30fc\u30bf\u3068\u3057\u307e\u3059\u3002<br \/>\n      \u300cFALSE\u300d\u3067\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002 <a href=\"https:\/\/dekiru.net\/article\/15221\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/dekiru.net\/article\/15221\/<\/a> \u3088\u308a\u3002<\/p>\n<p>    \u203b\u300c#N\/A\u300d\u30a8\u30e9\u30fc\u306a\u3069\u3092\u8868\u793a\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001IF\u3084ISERROR\u95a2\u6570\u306a\u3069\u3092\u4f75\u7528\u3057\u307e\u3059\u3002\uff08\u5f8c\u8ff0\uff09<\/p>\n<p>(\u30ad)<br \/>\n\u300c\u691c\u7d22\u8a9e\u53e5\u300d\u3084\u300c\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\uff09\u300d\u7b49\u3005\u306e\u30b7\u30fc\u30c8\u540d\u306f\u3001\u81ea\u30b7\u30fc\u30c8\u5185\u306a\u3089\u7701\u7565\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2605 \u3082\u3046\u5c11\u3057\u5177\u4f53\u7684\u306a\u69cb\u6587\u30eb\u30fc\u30eb<\/p>\n<p>=VLOOKUP(\u2460\u691c\u7d22\u5143\u306e\u5358\u4e00\u30bb\u30eb\u306e\u756a\u5730 , \u2461\u63a2\u3059\u5834\u6240\uff08\u8868\u306e\u7bc4\u56f2\u30fb\u7d76\u5bfe\u53c2\u7167\uff09\u306e\u756a\u5730 , \u2462\u30b2\u30c3\u30c8\u3057\u305f\u3044\u5024\u304c\u5728\u308b\u5217\u306e\u5217\u9806\uff08\u2461\u306e\u8868\u306e\u7bc4\u56f2\u5185\u3067\u306e\uff09 , \u2463False )<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2605 \u69cb\u6587\u3072\u306a\u5f6201\uff08\u30a8\u30e9\u30fc\u8868\u793a\u3092\u3055\u305b\u3066\u3082\u3044\u3044\u3068\u304d\uff09<\/p>\n<p>=VLOOKUP(\u30b7\u30fc\u30c8\u540d!\u5358\u4e00\u306e\u76f8\u5bfe\u30bb\u30eb\u756a\u5730 , \u30b7\u30fc\u30c8\u540d!\u5bfe\u8c61\u8868\u306e\u7bc4\u56f2\u306e\u7d76\u5bfe\u30bb\u30eb\u756a\u5730 , 2 , False )<\/p>\n<p>\u5177\u4f53\u4f8b<\/p>\n<p>=VLOOKUP(H2,A\u30e9\u30f3\u30af!$A$2:$B$756,2,FALSE)<\/p>\n<p>\u203b\u300c\u691c\u7d22\u8a9e\u53e5\u300d\u3060\u3051\u81ea\u30b7\u30fc\u30c8\u3001\u53c2\u7167\u5148\u306e\u8868\u306f\u4ed6\u306e\u30b7\u30fc\u30c8\u3001\u3067\u3042\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n\u2605 \u69cb\u6587\u3072\u306a\u5f6202\uff08\u30a8\u30e9\u30fc\u8868\u793a\u3092\u3055\u305b\u305f\u304f\u306a\u3044\u3068\u304d\uff09<\/p>\n<p>=IF(ISERROR(VLOOKUP(\u30b7\u30fc\u30c8\u540d!\u5358\u4e00\u306e\u76f8\u5bfe\u30bb\u30eb\u756a\u5730 , \u30b7\u30fc\u30c8\u540d!\u5bfe\u8c61\u8868\u306e\u7bc4\u56f2\u306e\u7d76\u5bfe\u30bb\u30eb\u756a\u5730 , 2 , False))=TRUE,\"\", \u5148\u982d\u306e\u307b\u3046\u306eVLOOKUP\u30fb\u30fb\u30fb\u306e\u90e8\u5206\u3092\u30b3\u30d4\u30da )<\/p>\n<p>\u5177\u4f53\u4f8b<\/p>\n<p>=IF(ISERROR(VLOOKUP(H2,A\u30e9\u30f3\u30af!$A$2:$B$756,2,FALSE))=TRUE,\"\",VLOOKUP(H2,A\u30e9\u30f3\u30af!$A$2:$B$756,2,FALSE))<\/p>\n<p>\u203b\u300c\u691c\u7d22\u8a9e\u53e5\u300d\u3060\u3051\u81ea\u30b7\u30fc\u30c8\u3001\u53c2\u7167\u5148\u306e\u8868\u306f\u4ed6\u306e\u30b7\u30fc\u30c8\u3001\u3067\u3042\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><br \/>\n<SPAN>\u3000\u3000<\/SPAN><\/p>\n","protected":false},"excerpt":{"rendered":"Excel\u306e\u300cVLOOKUP\u95a2\u6570\u300d\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066 \u3000\u3000 \u203b\u307e\u3060\u66f8\u304d\u304b\u3051\u3067\u3059\u3002\u3059\u307f\u307e\u305b\u3093\u3002 \u203b\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u307f\u307e\u305b\u3093\u3002 \u203b\u30e1\u30e2\u66f8\u304d\u306a\u306e\u3067\u3001\u81ea\u5206\u3067\u3082\u610f\u5473\u4e0d\u660e\u306a\u7b87\u6240\u3082\u591a\u3044\u3067\u3059\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002 \u3000\u3000 \u3000\u3000 \u2605 \u89e3\u8aac\u30b5\u30a4\u30c8 ht ...","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"_links":{"self":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts\/1632"}],"collection":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/comments?post=1632"}],"version-history":[{"count":0,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/posts\/1632\/revisions"}],"wp:attachment":[{"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/media?parent=1632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euc-access-excel-db.com\/tips\/wp-json\/wp\/v2\/categories?post=1632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}