{"id":825,"date":"2025-12-13T00:49:10","date_gmt":"2025-12-12T15:49:10","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/12\/offset%e9%96%a2%e6%95%b0%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e5%8b%95%e7%9a%84%e5%8f%82%e7%85%a7%e3%81%a8%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e8%87%aa%e5%8b%95\/"},"modified":"2025-12-13T00:49:10","modified_gmt":"2025-12-12T15:49:10","slug":"offset%e9%96%a2%e6%95%b0%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e5%8b%95%e7%9a%84%e5%8f%82%e7%85%a7%e3%81%a8%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e8%87%aa%e5%8b%95","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/12\/offset%e9%96%a2%e6%95%b0%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e5%8b%95%e7%9a%84%e5%8f%82%e7%85%a7%e3%81%a8%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e8%87%aa%e5%8b%95\/","title":{"rendered":"OFFSET\u95a2\u6570\u3067\u5b9f\u73fe\u3059\u308b\u52d5\u7684\u53c2\u7167\u3068\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u81ea\u52d5\u5316\u2015\u2015Excel\u4e2d\u7d1a\u8005\u304c\u7fd2\u5f97\u3059\u3079\u304d\u5b9f\u52d9\u76f4\u7d50\u306e\u30c6\u30af\u30cb\u30c3\u30af"},"content":{"rendered":"<p># Excel\u4e2d\u7d1a\u8005\u304c\u62bc\u3055\u3048\u308b\u3079\u304dOFFSET\u95a2\u6570\u306e\u9ad8\u5ea6\u306a\u4f7f\u3044\u65b9<\/p>\n<p>## \u3059\u3050\u306b\u8a66\u305b\u308b\u5b9f\u8df5\u7684\u306aOFFSET\u95a2\u6570\u306e\u6d3b\u7528\u6cd5<\/p>\n<p>OFFSET\u95a2\u6570\u306f\u3001\u6307\u5b9a\u3057\u305f\u57fa\u6e96\u3068\u306a\u308b\u30bb\u30eb\u304b\u3089\u4e0a\u4e0b\u5de6\u53f3\u306b\u79fb\u52d5\u3057\u305f\u4f4d\u7f6e\u306b\u3042\u308b\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u308bExcel\u95a2\u6570\u3067\u3059\u3002\u4e2d\u7d1a\u8005\u5411\u3051\u306e\u57fa\u672c\u7684\u306a\u6d3b\u7528\u6cd5\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u6570\u5f0f\u3092\u3059\u3050\u306b\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&#8220;`<br \/>\n=OFFSET(A1, 3, 2, 2, 1)<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306fA1\u30bb\u30eb\u304b\u3089\u4e0b\u306b3\u884c\u3001\u53f3\u306b2\u5217\u79fb\u52d5\u3057\u305f\u4f4d\u7f6e\u304b\u3089\u30012\u884c1\u5217\u5206\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u3082\u3046\u4e00\u3064\u306e\u5b9f\u8df5\u4f8b\u3068\u3057\u3066\u3001\u52d5\u7684\u306b\u7bc4\u56f2\u3092\u5909\u66f4\u3059\u308b\u30ea\u30b9\u30c8\u53c2\u7167\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n<p>&#8220;`<br \/>\n=SUM(OFFSET(A1, 0, 0, COUNTA(A:A)-1, 1))<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u6570\u5f0f\u306f\u3001A1\u304b\u3089\u59cb\u307e\u308a\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306e\u6700\u5f8c\u307e\u3067\u3092\u81ea\u52d5\u7684\u306b\u8a8d\u8b58\u3057\u3066\u5408\u8a08\u3057\u307e\u3059\u3002\u5b9a\u671f\u7684\u306b\u30c7\u30fc\u30bf\u304c\u8ffd\u52a0\u3055\u308c\u308b\u696d\u52d9\u3067\u306f\u3001\u3053\u306eExcel\u95a2\u6570\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u6bce\u56de\u6570\u5f0f\u3092\u4fee\u6b63\u3059\u308b\u624b\u9593\u304c\u7701\u3051\u307e\u3059\u3002<\/p>\n<p>## \u30dd\u30a4\u30f3\u30c81\uff1a\u52d5\u7684\u7bc4\u56f2\u53c2\u7167\u3067VLOOKUP\u95a2\u6570\u306e\u5f31\u70b9\u3092\u88dc\u3046<\/p>\n<p>VLOOKUP\u95a2\u6570\uff08\u203b\u6307\u5b9a\u3057\u305f\u5217\u304b\u3089\u5024\u3092\u63a2\u3059\u95a2\u6570\uff09\u306f\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5b9f\u306f\u5de6\u5074\u306e\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067OFFSET\u95a2\u6570\u306e\u51fa\u756a\u3067\u3059\u3002MATCH\u95a2\u6570\uff08\u203b\u5024\u306e\u4f4d\u7f6e\u3092\u8fd4\u3059Excel\u95a2\u6570\uff09\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&#8220;`<br \/>\n=INDEX(\u7bc4\u56f2, MATCH(\u691c\u7d22\u5024, \u691c\u7d22\u7bc4\u56f2, 0))<br \/>\n&#8220;`<\/p>\n<p>\u3088\u308aOFFSET\u95a2\u6570\u3092\u6d3b\u7528\u3057\u305f\u65b9\u6cd5\u306f\uff1a<\/p>\n<p>&#8220;`<br \/>\n=OFFSET(\u57fa\u6e96\u30bb\u30eb, MATCH(\u691c\u7d22\u5024, \u691c\u7d22\u7bc4\u56f2, 0)-1, \u5217\u6570)<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308a\u3001\u5de6\u5074\u306e\u30c7\u30fc\u30bf\u3067\u3082\u691c\u7d22\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u3088\u308a\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u7279\u306b\u55b6\u696d\u30c7\u30fc\u30bf\u3084\u5728\u5eab\u7ba1\u7406\u306a\u3069\u3001\u5b9f\u52d9\u7684\u306a\u5834\u9762\u3067\u5a01\u529b\u3092\u767a\u63ee\u3059\u308bExcel\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3067\u3059\u3002<\/p>\n<p>## \u30dd\u30a4\u30f3\u30c82\uff1a\u6761\u4ef6\u4ed8\u304d\u96c6\u8a08\u3067\u5831\u544a\u66f8\u4f5c\u6210\u3092\u81ea\u52d5\u5316<\/p>\n<p>\u6708\u6b21\u5831\u544a\u66f8\u3084\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4f5c\u6210\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u6761\u4ef6\u306e\u30c7\u30fc\u30bf\u3060\u3051\u3092\u96c6\u8a08\u3059\u308b\u5834\u9762\u306f\u983b\u7e41\u3067\u3059\u3002OFFSET\u95a2\u6570\u3092COUNTIF\u95a2\u6570\u306a\u3069\u306e\u96c6\u8a08\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u6761\u4ef6\u306b\u5fdc\u3058\u3066\u81ea\u52d5\u7684\u306b\u7bc4\u56f2\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300cA\u5217\u304c\u55b6\u696d\u90e8\u3067\u3001\u91d1\u984d\u304c100\u4e07\u5186\u4ee5\u4e0a\u300d\u3068\u3044\u3046\u8907\u6570\u6761\u4ef6\u3067\u306e\u96c6\u8a08\u304c\u5fc5\u8981\u306a\u5834\u5408\u3001\u901a\u5e38\u306fCOUNTIFS\u95a2\u6570\u306a\u3069\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001OFFSET\u95a2\u6570\u3092\u6d3b\u7528\u3059\u308b\u3068\u66f4\u306b\u67d4\u8edf\u306a\u6761\u4ef6\u8a2d\u5b9a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&#8220;`<br \/>\n=SUMPRODUCT((OFFSET(\u57fa\u6e96\u7bc4\u56f2, 0, 0, \u884c\u6570, \u5217\u6570)=\u6761\u4ef6\u5024)*\u5024\u306e\u7bc4\u56f2)<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306eExcel\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3001\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u3084\u524a\u9664\u306b\u81ea\u52d5\u5bfe\u5fdc\u3059\u308b\u96c6\u8a08\u8868\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002\u624b\u52d5\u3067\u7bc4\u56f2\u3092\u4fee\u6b63\u3059\u308b\u624b\u9593\u304c\u5b8c\u5168\u306b\u6392\u9664\u3055\u308c\u3001\u696d\u52d9\u52b9\u7387\u5316\u306b\u76f4\u7d50\u3057\u307e\u3059\u3002<\/p>\n<p>## \u30dd\u30a4\u30f3\u30c83\uff1a\u53ef\u8996\u5316\u3068\u30ec\u30dd\u30fc\u30c8\u81ea\u52d5\u751f\u6210\u3078\u306e\u5fdc\u7528<\/p>\n<p>OFFSET\u95a2\u6570\u306e\u5fdc\u7528\u7bc4\u56f2\u306f\u96c6\u8a08\u306b\u7559\u307e\u308a\u307e\u305b\u3093\u3002\u30b0\u30e9\u30d5\u306e\u5143\u30c7\u30fc\u30bf\u7bc4\u56f2\u3092\u52d5\u7684\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u679c\u7684\u306a\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u304c\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u5165\u529b\u3057\u305f\u30bb\u30eb\u306b\u57fa\u3065\u3044\u3066\u3001\u30b0\u30e9\u30d5\u306b\u8868\u793a\u3055\u308c\u308b\u30c7\u30fc\u30bf\u304c\u81ea\u52d5\u7684\u306b\u5909\u308f\u308b\u4ed5\u7d44\u307f\u304c\u4f5c\u308c\u307e\u3059\u3002\u30d7\u30eb\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u3067\u300c4\u6708\u300d\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u95a2\u9023\u3059\u308b\u30b0\u30e9\u30d5\u3068\u6570\u5024\u304c\u4e00\u6c17\u306b\u66f4\u65b0\u3055\u308c\u308b\u3001\u305d\u306e\u3088\u3046\u306a\u9ad8\u5ea6\u306a\u30b7\u30fc\u30c8\u8a2d\u8a08\u304c\u53ef\u80fd\u306b\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>&#8220;`<br \/>\n=OFFSET(\u30ea\u30b9\u30c8\u958b\u59cb\u4f4d\u7f6e, \u30d7\u30eb\u30c0\u30a6\u30f3\u5024-1, 0, \u8868\u793a\u884c\u6570, \u8868\u793a\u5217\u6570)<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u30c6\u30af\u30cb\u30c3\u30af\u306f\u3001\u7d4c\u55b6\u5c64\u3078\u306e\u5b9a\u671f\u5831\u544a\u66f8\u4f5c\u6210\u3084\u3001\u55b6\u696d\u30c1\u30fc\u30e0\u5411\u3051\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5206\u6790\u8868\u306a\u3069\u3001\u5b9f\u52d9\u7684\u306a\u5834\u9762\u3067\u5927\u304d\u306a\u6642\u9593\u524a\u6e1b\u52b9\u679c\u3092\u3082\u305f\u3089\u3057\u307e\u3059\u3002\u624b\u4f5c\u696d\u3067\u306e\u66f4\u65b0\u304c\u4e0d\u8981\u306b\u306a\u308a\u3001\u30c7\u30fc\u30bf\u66f4\u65b0\u3060\u3051\u3067\u5168\u3066\u306e\u5831\u544a\u8cc7\u6599\u304c\u81ea\u52d5\u7684\u306b\u6574\u5099\u3055\u308c\u308b\u3068\u3044\u3046\u3001Excel\u6d3b\u7528\u306e\u6700\u9ad8\u5cf0\u306e\u72b6\u614b\u304c\u5b9f\u73fe\u3059\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>OFFSET\u95a2\u6570\u3092\u542b\u3080\u3053\u308c\u3089\u306eExcel\u95a2\u6570\u306e\u77e5\u8b58\u306f\u3001\u5358\u306a\u308b\u30c6\u30af\u30cb\u30c3\u30af\u3067\u306f\u306a\u304f\u3001\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u5168\u4f53\u306e\u52b9\u7387\u5316\u306b\u3064\u306a\u304c\u308b\u91cd\u8981\u306a\u30b9\u30ad\u30eb\u3067\u3059\u3002\u4e2d\u7d1a\u8005\u3060\u304b\u3089\u3053\u305d\u7fd2\u5f97\u3059\u308b\u4fa1\u5024\u304c\u3042\u308b\u3001\u5b9f\u52d9\u76f4\u7d50\u306e\u95a2\u6570\u6d3b\u7528\u6cd5\u3068\u3044\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Excel\u4e2d\u7d1a\u8005\u304c\u62bc\u3055\u3048\u308b\u3079\u304dOFFSET\u95a2\u6570\u306e\u9ad8\u5ea6\u306a\u4f7f\u3044\u65b9 ## \u3059\u3050\u306b\u8a66\u305b\u308b\u5b9f\u8df5\u7684\u306aOFFSET\u95a2\u6570\u306e\u6d3b\u7528\u6cd5 OFFSET\u95a2\u6570\u306f\u3001\u6307\u5b9a\u3057\u305f\u57fa\u6e96\u3068\u306a\u308b\u30bb\u30eb\u304b\u3089\u4e0a\u4e0b\u5de6\u53f3\u306b\u79fb\u52d5\u3057\u305f\u4f4d\u7f6e\u306b\u3042\u308b\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u308bExce<\/p>\n","protected":false},"author":2,"featured_media":824,"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":[4],"tags":[],"class_list":["post-825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-intermediate"],"_links":{"self":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/825","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=825"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/825\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/824"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}