{"id":6771,"date":"2026-02-07T09:54:56","date_gmt":"2026-02-07T00:54:56","guid":{"rendered":"https:\/\/jfs.or.jp\/jfs-cs\/?p=6771"},"modified":"2026-02-07T09:55:36","modified_gmt":"2026-02-07T00:55:36","slug":"excel-table-choosecols-chooserows","status":"publish","type":"post","link":"https:\/\/jfs.or.jp\/jfs-cs\/excel-table-choosecols-chooserows\/","title":{"rendered":"\u30a8\u30af\u30bb\u30eb\u3000\u7279\u5b9a\u90e8\u5206\u3092\u8868\u793a choosecols, chooserows\u95a2\u6570"},"content":{"rendered":"<p data-path-to-node=\"0\">Excel\u3067\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u969b\u3001\u300c\u7279\u5b9a\u306e\u5217\u3060\u3051\u53d6\u308a\u51fa\u3057\u305f\u3044\u300d\u300c\u5fc5\u8981\u306a\u884c\u3060\u3051\u62bd\u51fa\u3057\u305f\u3044\u300d\u6642\u306b\u4fbf\u5229\u306a\u306e\u304c <br \/>\n<b data-path-to-node=\"0\" data-index-in-node=\"71\">CHOOSECOLS\uff08\u30c1\u30e5\u30fc\u30ba\u30fb\u30ab\u30e9\u30e0\uff09\u95a2\u6570<\/b> \u3068 <b data-path-to-node=\"0\" data-index-in-node=\"96\">CHOOSEROWS\uff08\u30c1\u30e5\u30fc\u30ba\u30fb\u30ed\u30a6\u30ba\uff09\u95a2\u6570<\/b>\u00a0<br \/>\n\u3053\u308c\u3089\u306f\u6bd4\u8f03\u7684\u65b0\u3057\u3044\u95a2\u6570\uff08Microsoft 365\u3084Excel 2021\u4ee5\u964d\uff09\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u8868\u306e\u30c6\u30fc\u30d6\u30eb\u5316\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u5143\u306e\u8868\u3092\u3044\u3058\u3089\u305a\u4f7f\u3048\u308b\u3002<\/strong><\/span><\/p>\n<p data-path-to-node=\"1\"><span style=\"font-size: 16px;\"><strong>\uff11\uff0e\u8868\u3092\u30c6\u30fc\u30d6\u30eb\u5316<\/strong><\/span><br \/>\n\u3000\u8868\u3092\u30c6\u30fc\u30d6\u30eb\u5316\u3059\u308b\u3068\u30a8\u30af\u30bb\u30eb\u30d6\u30c3\u30af\u306e\u3069\u3053\u304b\u3089\u3067\u3082<strong>\u30c6\u30fc\u30d6\u30eb\u540d\u3060\u3051\u3067\u5229\u7528\u3067\u304d\u308b<\/strong>\u3002<br \/>\n\u3000\u30c6\u30fc\u30d6\u30eb\u5316\u3059\u308b\u3068\u3001\u305d\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30fc\u30bf\u884c\u8ffd\u52a0\u3057\u3066\u3082\u5229\u7528\u3067\u304d\u308b\u3002<br \/>\n\u3000\u7bc4\u56f2\u5909\u66f4\u5f8c\u306f\u66f4\u65b0\u3060\u3051\u3067\u30d4\u30dc\u30c3\u30c8\u306b\u53cd\u6620\u3067\u304d\u308b\uff08\u7bc4\u56f2\u5909\u66f4\u4e0d\u8981\u306f\u4fbf\u5229\uff09<\/p>\n<p data-path-to-node=\"1\">\u3000<span style=\"color: #0000ff;\"><strong>\u30c6\u30fc\u30d6\u30eb\u5316\u3059\u308b\u65b9\u6cd5\uff1a<\/strong><\/span>\u3000<br \/>\n\u3000\u3000\uff11\uff09<strong>\u7bc4\u56f2\u5185\u306e\u30bb\u30eb\u3092\u3069\u308c\u304b1\u3064\u9078\u3093\u3067 <code data-path-to-node=\"4\" data-index-in-node=\"32\">Ctrl + T<\/code><\/strong><br \/>\n\u3000\u3000\uff12\uff09<b data-path-to-node=\"5,0,0\" data-index-in-node=\"0\">\u30c6\u30fc\u30d6\u30eb\u540d\u306e\u78ba\u8a8d\u30fb\u5909\u66f4\u65b9\u6cd5:<\/b> \u30c6\u30fc\u30d6\u30eb\u5185\u306e\u30bb\u30eb\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u4e0a\u90e8\u30ea\u30dc\u30f3\u306b <b data-path-to-node=\"5,0,0\" data-index-in-node=\"37\">\u300c\u30c6\u30fc\u30d6\u30eb\u30c7\u30b6\u30a4\u30f3\u300d<\/b> \u30bf\u30d6\u304c\u51fa\u73fe\u3057\u307e\u3059\u3002\u5de6\u7aef\u306e\u300c\u30c6\u30fc\u30d6\u30eb\u540d\u300d\u306e\u6b04\u3067\u597d\u304d\u306a\u540d\u524d\uff08\u4f8b\uff1a<code data-path-to-node=\"5,0,0\" data-index-in-node=\"78\">\u58f2\u4e0a\u30c7\u30fc\u30bf<\/code>\uff09\u306b\u5909\u66f4<\/p>\n<p data-path-to-node=\"1\"><span style=\"font-size: 16px;\"><strong>\uff12\uff0e\u8868\u306e\u4e00\u90e8\u306e\u5217\u3092\u8868\u793a\u3055\u305b\u308b<\/strong><\/span><br \/>\n\u3000\uff11\uff09\u3000\u8868\u793a\u3055\u305b\u308b\u5148\u982d\u30bb\u30eb\u306b\u3001\u3000\u3000=choosecols(\u3000\u3000=ch\u3000\u3067\u95a2\u6570\u8868\u793a\u4e00\u89a7\u304b\u3089\u9078\u629e<br \/>\n\u3000\uff12\uff09\u3000\u5f15\u7528\u3059\u308b\u8868\u306b\u79fb\u308a\u8868\u306e\u7bc4\u56f2\u6307\u5b9a\uff08\u8868\u306e\u5de6\u7aef\u4e0a\u7aef\u3068\u53f3\u7aef\u4e0b\u7aef\u6307\u5b9a\u3001or \u30c6\u30fc\u30d6\u30eb\u540d\uff09<br \/>\n\u3000\uff13\uff09\u3000\u8868\u793a\u3055\u305b\u308b\u5217\u3092\u8868\u306e\u5de6\u304b\u3089\u306e\u9806\u756a\u3067\u6307\u5b9a\u3057\u3001\u3000\uff09\u3067\u7d42\u4e86<br \/>\n\u3000\u7d50\u679c\u3068\u3057\u3066\u3067\u304d\u308b\u306e\u304c\u3053\u308c<br \/>\n\u3000\u3000\u8868\u306e\u7bc4\u56f2\u6307\u5b9a\u306e\u5834\u5408\u3000<span style=\"color: #0000ff;\">=CHOOSECOLS(A1:E10, 1, 3)<\/span><br \/>\n\u3000\u3000\u30c6\u30fc\u30d6\u30eb\u540d\u306e\u5834\u5408\u3000\u3000=CHOOSECOLS(<span style=\"color: #0000ff;\"><strong>\u30c6\u30fc\u30d6\u30eb\u540d[#\u3059\u3079\u3066]<\/strong><\/span>, 1, 3)<br \/>\n\u3000\u3000\u3000\u203b\u30c6\u30fc\u30d6\u30eb\u540d\u306e\u5834\u5408\u3001\u5168\u884c\u6307\u5b9a\u3057\u306a\u3044\u3068\u898b\u51fa\u3057\u884c\u304c\u5165\u3089\u305a\u30c7\u30fc\u30bf\u884c\u3060\u3051\u306b\u306a\u308b\u3002\u3000\u3000<\/p>\n<p data-path-to-node=\"1\">\uff13\uff0e\u8868\u306e\u4e00\u90e8\u306e\u884c\u3060\u3051\u3092\u6761\u4ef6\u6307\u5b9a\u3067\u62bd\u51fa\u3059\u308b\u65b9\u6cd5<br \/>\n\u3000\uff11\uff09\u884c\u62bd\u51fa\u306eFilter\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u308b<br \/>\n\u3000\u3000\u3000\u30c6\u30fc\u30d6\u30eb\u540d\u304c\u300c\u58f2\u4e0a\u30c7\u30fc\u30bf\u300d\u3067\u3001\u5217\u540d\u300c\u62c5\u5f53\u8005\u300d\u306e\u7530\u4e2d\u306e\u3082\u306e\u3092\u3001\u5217\u6307\u5b9a\u3067\u8868\u793a\u3059\u308b<br \/>\n\u3000\u3000\u3000=CHOOSECOLS(<span style=\"color: #0000ff;\"><strong>FILTER(\u58f2\u4e0a\u30c7\u30fc\u30bf, \u58f2\u4e0a\u30c7\u30fc\u30bf[\u62c5\u5f53\u8005]=&#8221;\u7530\u4e2d&#8221;)<\/strong><\/span>, 1, 3)<\/p>\n","protected":false},"excerpt":{"rendered":"Excel\u3067\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3046\u969b\u3001\u300c\u7279\u5b9a\u306e\u5217\u3060\u3051\u53d6\u308a\u51fa\u3057\u305f\u3044\u300d\u300c\u5fc5\u8981\u306a\u884c\u3060\u3051\u62bd\u51fa\u3057\u305f\u3044\u300d\u6642\u306b\u4fbf\u5229\u306a\u306e\u304c CHOOSECOLS\uff08\u30c1\u30e5\u30fc\u30ba\u30fb\u30ab\u30e9\u30e0\uff09\u95a2\u6570 \u3068 CHOOSEROWS\uff08\u30c1\u30e5\u30fc\u30ba\u30fb\u30ed\u30a6\u30ba\uff09\u95a2\u6570\u00a0 \u3053\u308c\u3089\u306f\u6bd4\u8f03\u7684\u65b0\u3057 &#8230;","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vk-ltc-link":"","vk-ltc-target":"0","footnotes":""},"categories":[24],"tags":[],"class_list":["post-6771","post","type-post","status-publish","format-standard","hentry","category-iot-it"],"_links":{"self":[{"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/posts\/6771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/comments?post=6771"}],"version-history":[{"count":3,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/posts\/6771\/revisions"}],"predecessor-version":[{"id":6774,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/posts\/6771\/revisions\/6774"}],"wp:attachment":[{"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/media?parent=6771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/categories?post=6771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jfs.or.jp\/jfs-cs\/wp-json\/wp\/v2\/tags?post=6771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}