{"id":655,"date":"2025-05-23T00:00:00","date_gmt":"2025-05-22T15:00:00","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/05\/%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e6%a5%ad%e5%8b%99%e5%8a%b9%e7%8e%87%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%90%91%e4%b8%8a%e3%81%95%e3%81%9b%e3%82%8b%ef%bc%81\/"},"modified":"2025-05-23T00:00:00","modified_gmt":"2025-05-22T15:00:00","slug":"%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e6%a5%ad%e5%8b%99%e5%8a%b9%e7%8e%87%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%90%91%e4%b8%8a%e3%81%95%e3%81%9b%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/05\/%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e6%a5%ad%e5%8b%99%e5%8a%b9%e7%8e%87%e3%82%92%e5%8a%87%e7%9a%84%e3%81%ab%e5%90%91%e4%b8%8a%e3%81%95%e3%81%9b%e3%82%8b%ef%bc%81\/","title":{"rendered":"\u3010Excel\u4e0a\u7d1a\u8005\u5fc5\u898b\u3011\u696d\u52d9\u52b9\u7387\u3092\u5287\u7684\u306b\u5411\u4e0a\u3055\u305b\u308b\uff01\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u958b\u767a\u306e\u6975\u610f"},"content":{"rendered":"<h2>Excel\u4e0a\u7d1a\u8005\u5411\u3051\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u958b\u767a<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u306f\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\u9078\u629e\u7bc4\u56f2\u306e\u4e0b\u306b\u8868\u793a\u3057\u307e\u3059\u3002Excel\u3092\u4f7f\u3044\u3053\u306a\u3057\u3066\u3082\u3063\u3068\u697d\u3092\u3057\u305f\u3044\u3001\u696d\u52d9\u3092\u52b9\u7387\u5316\u3057\u305f\u3044\u4eba\u304c\u3059\u3050\u306b\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>&#8220;`vba<br \/>\nSub \u9078\u629e\u7bc4\u56f2\u306e\u5408\u8a08()<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, 0).Value = &#8220;\u5408\u8a08:&#8221;<br \/>\n    rng.Offset(rng.Rows.Count, 1).Value = total<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<h3>1. \u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u57fa\u672c\u6982\u5ff5<\/h3>\n<p>Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u958b\u767a\u306f\u3001Excel\u306e\u6a5f\u80fd\u3092\u5927\u5e45\u306b\u62e1\u5f35\u3057\u3001\u696d\u52d9\u52b9\u7387\u3092\u98db\u8e8d\u7684\u306b\u5411\u4e0a\u3055\u305b\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306f\u3001\u6a19\u6e96\u306eExcel\u95a2\u6570\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u8907\u96d1\u306a\u8a08\u7b97\u3084\u51e6\u7406\u3092\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u8907\u6570\u306e\u30b7\u30fc\u30c8\u3084\u30d6\u30c3\u30af\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3057\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u96c6\u8a08\u3084\u5206\u6790\u3092\u884c\u3046\u4f5c\u696d\u3092\u3001\u30dc\u30bf\u30f3\u4e00\u3064\u3067\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u624b\u4f5c\u696d\u3067\u306e\u96c6\u8a08\u30df\u30b9\u3092\u9632\u304e\u3001\u4f5c\u696d\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>2. VBA\u3092\u6d3b\u7528\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u95a2\u6570\u306e\u4f5c\u6210<\/h3>\n<p>\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u6838\u5fc3\u90e8\u5206\u306f\u3001VBA\uff08Visual Basic for Applications\uff09\u3092\u4f7f\u7528\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u95a2\u6570\u306e\u4f5c\u6210\u3067\u3059\u3002VBA\u306f\u3001Excel\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001Excel\u306e\u6a19\u6e96\u6a5f\u80fd\u3092\u8d85\u3048\u305f\u8907\u96d1\u306a\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ab\u30b9\u30bf\u30e0\u95a2\u6570\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u8907\u6570\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30c7\u30fc\u30bf\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u3001\u7d50\u679c\u3092\u8fd4\u3059\u95a2\u6570<br \/>\n&#8211; \u65e5\u4ed8\u3084\u6642\u523b\u306b\u95a2\u3059\u308b\u8907\u96d1\u306a\u8a08\u7b97\u3092\u884c\u3046\u95a2\u6570<br \/>\n&#8211; \u5916\u90e8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u9023\u643a\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u30fb\u66f4\u65b0\u3059\u308b\u95a2\u6570<\/p>\n<p>\u3053\u308c\u3089\u306e\u30ab\u30b9\u30bf\u30e0\u95a2\u6570\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u9ad8\u5ea6\u3067\u52b9\u7387\u7684\u306a\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u8a2d\u8a08\u3068\u5b9f\u88c5<\/h3>\n<p>\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u4f7f\u3044\u3084\u3059\u3055\u3092\u5411\u4e0a\u3055\u305b\u308b\u306b\u306f\u3001\u9069\u5207\u306a\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u8a2d\u8a08\u3068\u5b9f\u88c5\u304c\u91cd\u8981\u3067\u3059\u3002Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3057\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30fc\u30e0\u3084\u30ab\u30b9\u30bf\u30e0\u30ea\u30dc\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u76f4\u611f\u7684\u306a\u64cd\u4f5c\u74b0\u5883\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u30ab\u30b9\u30bf\u30e0\u30ea\u30dc\u30f3\u30bf\u30d6\u306b\u3001\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3078\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u914d\u7f6e<br \/>\n&#8211; \u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3001\u8907\u96d1\u306a\u8a2d\u5b9a\u3084\u5165\u529b\u3092\u7c21\u5358\u306b\u884c\u3048\u308b\u3088\u3046\u306b\u3059\u308b<br \/>\n&#8211; \u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u3084\u5165\u529b\u5024\u306e\u691c\u8a3c\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8aa4\u64cd\u4f5c\u3092\u9632\u3050<\/p>\n<p>\u3053\u308c\u3089\u306e\u8981\u7d20\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001Excel\u4e0a\u7d1a\u8005\u5411\u3051\u306e\u9ad8\u5ea6\u306a\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u3092\u958b\u767a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u696d\u52d9\u30d7\u30ed\u30bb\u30b9\u3092\u81ea\u52d5\u5316\u3057\u3001\u4f5c\u696d\u52b9\u7387\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u958b\u767a\u306f\u3001\u4e00\u898b\u96e3\u3057\u304f\u611f\u3058\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u57fa\u672c\u7684\u306a\u6982\u5ff5\u3092\u7406\u89e3\u3057\u3001\u6bb5\u968e\u7684\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u5f90\u3005\u306b\u9ad8\u5ea6\u306a\u30c4\u30fc\u30eb\u3092\u4f5c\u308a\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u904e\u7a0b\u3067\u5f97\u3089\u308c\u308b\u77e5\u8b58\u3068\u7d4c\u9a13\u306f\u3001Excel\u306e\u6d3b\u7528\u7bc4\u56f2\u3092\u5927\u304d\u304f\u5e83\u3052\u3001\u696d\u52d9\u6539\u5584\u306b\u5927\u304d\u304f\u8ca2\u732e\u3059\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u4e0a\u7d1a\u8005\u5411\u3051\u30ab\u30b9\u30bf\u30e0\u6570\u5f0f\u30a8\u30f3\u30b8\u30f3\u306e\u958b\u767a \u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u306f\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\u9078\u629e\u7bc4\u56f2\u306e\u4e0b\u306b\u8868\u793a\u3057\u307e\u3059\u3002Excel\u3092\u4f7f\u3044\u3053\u306a\u3057\u3066\u3082\u3063\u3068\u697d\u3092\u3057\u305f\u3044\u3001\u696d\u52d9\u3092\u52b9\u7387\u5316\u3057\u305f\u3044\u4eba\u304c\u3059\u3050\u306b\u8a66\u3059\u3053<\/p>\n","protected":false},"author":2,"featured_media":654,"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-655","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\/655","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=655"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/654"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}