{"id":565,"date":"2025-03-04T04:33:39","date_gmt":"2025-03-03T19:33:39","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/03\/excel%e3%83%9e%e3%82%af%e3%83%ad%e9%9d%a9%e5%91%bd%ef%bc%9a%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%e3%83%87%e3%83%bc%e3%82%bf%e8%a7%a3%e6%9e%90%e3%81%ae%e5%8a%b9%e7%8e%87%e3%82%9210\/"},"modified":"2025-03-04T04:33:39","modified_gmt":"2025-03-03T19:33:39","slug":"excel%e3%83%9e%e3%82%af%e3%83%ad%e9%9d%a9%e5%91%bd%ef%bc%9a%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%e3%83%87%e3%83%bc%e3%82%bf%e8%a7%a3%e6%9e%90%e3%81%ae%e5%8a%b9%e7%8e%87%e3%82%9210","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/03\/excel%e3%83%9e%e3%82%af%e3%83%ad%e9%9d%a9%e5%91%bd%ef%bc%9a%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%e3%83%87%e3%83%bc%e3%82%bf%e8%a7%a3%e6%9e%90%e3%81%ae%e5%8a%b9%e7%8e%87%e3%82%9210\/","title":{"rendered":"Excel\u30de\u30af\u30ed\u9769\u547d\uff1a\u4e0a\u7d1a\u8005\u5fc5\u898b\uff01\u30c7\u30fc\u30bf\u89e3\u6790\u306e\u52b9\u7387\u309210\u500d\u306b\u3059\u308b\u9a5a\u7570\u306e\u7d71\u8a08\u30c6\u30af\u30cb\u30c3\u30af"},"content":{"rendered":"<h2>\u4e0a\u7d1a\u8005\u5411\u3051\uff1a\u5373\u52b9\u6027\u306e\u3042\u308b\u30de\u30af\u30ed\u30b3\u30fc\u30c9<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u3001\u9078\u629e\u3057\u305f\u30bb\u30eb\u7bc4\u56f2\u5185\u306e\u6570\u5024\u3092\u81ea\u52d5\u7684\u306b\u5408\u8a08\u3057\u3001\u7d50\u679c\u3092\u65b0\u3057\u3044\u30bb\u30eb\u306b\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&#8220;`vba<br \/>\nSub QuickSum()<br \/>\n    Dim rng As Range<br \/>\n    Dim total As Double<\/p>\n<p>    Set rng = Selection<br \/>\n    total = WorksheetFunction.Sum(rng)<\/p>\n<p>    rng.Offset(rng.Rows.Count + 1, 0).Value = total<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306eExcel \u30de\u30af\u30ed\u3092\u4f7f\u3048\u3070\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u542b\u3080\u30b7\u30fc\u30c8\u3067\u3082\u77ac\u6642\u306b\u5408\u8a08\u3092\u7b97\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30fc\u30bf\u89e3\u6790\u306e\u65b0\u6b21\u5143\uff01\u4e0a\u7d1a\u8005\u304c\u6975\u3081\u308b\u30de\u30af\u30ed\u306b\u3088\u308b\u9ad8\u5ea6\u306a\u7d71\u8a08\u5206\u6790<\/h2>\n<h3>1. \u30de\u30af\u30ed\u306e\u57fa\u672c\u3068\u6d3b\u7528\u6cd5<\/h3>\n<p>Excel \u30de\u30af\u30ed\u306f\u3001\u7e70\u308a\u8fd4\u3057\u884c\u3046\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3059\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u4e0a\u7d1a\u8005\u306f\u30de\u30af\u30ed\u3092\u4f7f\u3063\u3066\u3001\u8907\u96d1\u306a\u7d71\u8a08\u5206\u6790\u3084\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u52b9\u7387\u7684\u306b\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30de\u30af\u30ed\u306e\u57fa\u672c\u306f\u3001VBA\uff08Visual Basic for Applications\uff09\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u4f7f\u3063\u3066\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u521d\u3081\u306f\u96e3\u3057\u304f\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5f90\u3005\u306b\u6163\u308c\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u9a5a\u304f\u307b\u3069\u591a\u69d8\u306a\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u65e5\u3005\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\u3092\u81ea\u52d5\u3067\u96c6\u8a08\u3057\u3001\u30b0\u30e9\u30d5\u5316\u3059\u308b\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3059\u308c\u3070\u3001\u6bce\u65e5\u306e\u5831\u544a\u66f8\u4f5c\u6210\u304c\u5927\u5e45\u306b\u52b9\u7387\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>2. \u7d71\u8a08\u5206\u6790\u306b\u304a\u3051\u308b\u30de\u30af\u30ed\u306e\u5a01\u529b<\/h3>\n<p>Excel \u30de\u30af\u30ed\u3092\u4f7f\u3048\u3070\u3001\u9ad8\u5ea6\u306a\u7d71\u8a08\u5206\u6790\u3082\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u56de\u5e30\u5206\u6790\u3084\u5206\u6563\u5206\u6790\u306a\u3069\u306e\u8907\u96d1\u306a\u8a08\u7b97\u3082\u3001\u30de\u30af\u30ed\u3092\u4f7f\u3048\u3070\u6570\u30af\u30ea\u30c3\u30af\u3067\u5b9f\u884c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u7d71\u8a08\u5206\u6790\u7528\u306e\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3059\u308b\u969b\u306f\u3001Excel\u306e\u7d71\u8a08\u95a2\u6570\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u7cbe\u5ea6\u306e\u9ad8\u3044\u5206\u6790\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001FORECAST\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5c06\u6765\u306e\u4e88\u6e2c\u5024\u3092\u7b97\u51fa\u3057\u305f\u308a\u3001CORREL\u95a2\u6570\u3067\u76f8\u95a2\u4fc2\u6570\u3092\u8a08\u7b97\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u30de\u30af\u30ed\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066\u3082\u77ac\u6642\u306b\u5206\u6790\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\u3068\u30de\u30af\u30ed\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<p>\u30c7\u30fc\u30bf\u89e3\u6790\u306e\u7cbe\u5ea6\u3092\u4e0a\u3052\u308b\u306b\u306f\u3001\u307e\u305a\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\uff08\u30c7\u30fc\u30bf\u306e\u6d17\u6d44\uff09\u304c\u91cd\u8981\u3067\u3059\u3002Excel \u30de\u30af\u30ed\u3092\u4f7f\u3048\u3070\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3082\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u91cd\u8907\u30c7\u30fc\u30bf\u306e\u524a\u9664\u3001\u7a7a\u767d\u30bb\u30eb\u306e\u51e6\u7406\u3001\u7570\u5e38\u5024\u306e\u691c\u51fa\u3068\u4fee\u6b63\u306a\u3069\u3092\u884c\u3046\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u8cea\u3092\u5411\u4e0a\u3055\u305b\u3064\u3064\u3001\u4f5c\u696d\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30af\u30ec\u30f3\u30b8\u30f3\u30b0\u7528\u306e\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3059\u308b\u969b\u306f\u3001TRIM\u95a2\u6570\u3084UPPER\u95a2\u6570\u3001IFERROR\u95a2\u6570\u306a\u3069\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u679c\u7684\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u89e3\u6790\u306e\u52b9\u7387\u3068\u7cbe\u5ea6\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30de\u30af\u30ed\u306e\u5b66\u7fd2\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001\u4e00\u5ea6\u7fd2\u5f97\u3059\u308c\u3070\u696d\u52d9\u52b9\u7387\u5316\u306e\u5f37\u529b\u306a\u6b66\u5668\u3068\u306a\u308a\u307e\u3059\u3002\u305c\u3072\u3001\u5c11\u3057\u305a\u3064\u30de\u30af\u30ed\u306e\u4e16\u754c\u306b\u8e0f\u307f\u8fbc\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u7d1a\u8005\u5411\u3051\uff1a\u5373\u52b9\u6027\u306e\u3042\u308b\u30de\u30af\u30ed\u30b3\u30fc\u30c9 \u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u3001\u9078\u629e\u3057\u305f\u30bb\u30eb\u7bc4\u56f2\u5185\u306e\u6570\u5024\u3092\u81ea\u52d5\u7684\u306b\u5408\u8a08\u3057\u3001\u7d50\u679c\u3092\u65b0\u3057\u3044\u30bb\u30eb\u306b\u8868\u793a\u3067\u304d\u307e\u3059\u3002 #8220;`vba Sub QuickSum() Dim rng As R<\/p>\n","protected":false},"author":2,"featured_media":564,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced"],"_links":{"self":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/565","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=565"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/564"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}