{"id":7530,"date":"2026-10-15T23:46:58","date_gmt":"2026-10-15T14:46:58","guid":{"rendered":"https:\/\/extan.jp\/?p=7530"},"modified":"2026-10-15T23:46:58","modified_gmt":"2026-10-15T14:46:58","slug":"%e3%80%90excel-vba%e3%80%91sum%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%ef%bc%81%e5%90%88%e8%a8%88%e5%80%a4%e3%81%ae%e3%81%bf%e6%8c%bf%e5%85%a5%e3%82%82%ef%bc%81","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=7530","title":{"rendered":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01"},"content":{"rendered":"<p>Excel VBA\u3067SUM\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5408\u8a08\u3092\u51fa\u3057\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fb\u5408\u8a08\u306e\u300c\u6570\u5024\u300d\u3060\u3051\u6b32\u3057\u3044\u306e\u304b\u3001SUM\u306e\u300c\u6570\u5f0f\u300d\u3092\u5165\u308c\u305f\u3044\u306e\u304b\u3067\u8ff7\u3046<br \/>\n\u30fb\u7d5e\u308a\u8fbc\u3093\u3060\u3042\u3068\u306b\u3001\u898b\u3048\u3066\u3044\u308b\u884c\u3060\u3051\u3092\u5408\u8a08\u3057\u305f\u3044<br \/>\n\u30fb\u5217\u306b\u6587\u5b57\u5217\u3084\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u3066\u3044\u3066\u3001\u304d\u308c\u3044\u306b\u5408\u8a08\u3067\u304d\u306a\u3044<br \/>\n\u30fb\u6e21\u3057\u305f\u30d6\u30c3\u30af\u3067\u6570\u5f0f\u304c\u305a\u308c\u3066\u3057\u307e\u3046<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u304a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b<\/p>\n<div class=\"rdinfo\">\u30fbExcel VBA\u3067SUM\u95a2\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\uff08\u5408\u8a08\u5024\u306e\u307f\u306e\u633f\u5165\u3082\uff09<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3082\u304f\u3058<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=7530\/#%E5%AE%8C%E6%88%90%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" >\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP1_%E5%85%83%E3%83%87%E3%83%BC%E3%82%BF%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\" >STEP1. \u5143\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP2_WorksheetFunctionSum%E3%81%A7%E5%90%88%E8%A8%88%E5%80%A4%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8B\" >STEP2. WorksheetFunction.Sum\u3067\u5408\u8a08\u5024\u3092\u53d6\u5f97\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP3_%E6%95%B0%E5%BC%8F%E3%81%A8%E3%81%97%E3%81%A6%E5%85%A5%E3%82%8C%E3%81%9F%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AF%E3%80%8CFormula%E3%80%8D\" >STEP3. \u6570\u5f0f\u3068\u3057\u3066\u5165\u308c\u305f\u3044\u3068\u304d\u306f\u300c.Formula\u300d<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP4_%E3%80%8C%E5%90%88%E8%A8%88%E5%80%A4%E3%81%AE%E3%81%BF%E3%80%8D%E3%82%92%E6%8C%BF%E5%85%A5%E3%81%99%E3%82%8B%EF%BC%88%E6%95%B0%E5%BC%8F%E3%82%92%E6%AE%8B%E3%81%95%E3%81%AA%E3%81%84%EF%BC%89\" >STEP4. \u300c\u5408\u8a08\u5024\u306e\u307f\u300d\u3092\u633f\u5165\u3059\u308b\uff08\u6570\u5f0f\u3092\u6b8b\u3055\u306a\u3044\uff09<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=7530\/#4%E3%81%A4%E3%81%AE%E5%85%A5%E3%82%8C%E6%96%B9%E3%81%AE%E6%AF%94%E8%BC%83\" >4\u3064\u306e\u5165\u308c\u65b9\u306e\u6bd4\u8f03<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP5_%E8%A4%87%E6%95%B0%E3%81%AE%E5%88%97%E3%82%92%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A6%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\" >STEP5. \u8907\u6570\u306e\u5217\u3092\u307e\u3068\u3081\u3066\u5408\u8a08\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP6_%E3%82%A8%E3%83%A9%E3%83%BC%E5%80%A4%E3%81%8C%E6%B7%B7%E3%81%96%E3%81%A3%E3%81%9F%E5%88%97%E3%82%92%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\" >STEP6. \u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u305f\u5217\u3092\u5408\u8a08\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=7530\/#STEP7_%E8%A6%8B%E3%81%88%E3%81%A6%E3%81%84%E3%82%8B%E3%82%BB%E3%83%AB%E3%81%A0%E3%81%91%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\" >STEP7. \u898b\u3048\u3066\u3044\u308b\u30bb\u30eb\u3060\u3051\u5408\u8a08\u3059\u308b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=7530\/#%E3%81%86%E3%81%BE%E3%81%8F%E3%81%84%E3%81%8B%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%B3%95%EF%BC%88%E3%83%88%E3%83%A9%E3%83%96%E3%83%AB%E3%82%B7%E3%83%A5%E3%83%BC%E3%83%88%EF%BC%89\" >\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\uff08\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c8\uff09<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/extan.jp\/?p=7530\/#%E9%96%A2%E6%95%B0%E3%81%AE%E8%AA%AC%E6%98%8E\" >\u95a2\u6570\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/extan.jp\/?p=7530\/#%E5%AE%8C%E6%88%90\" >\u5b8c\u6210<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/extan.jp\/?p=7530\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E5%AE%8C%E6%88%90%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067\u5408\u8a08\u3092\u6271\u3046\u3068\u304d\u306f\u3001<b>\u300c\u5408\u8a08\u5024\u3092\u6570\u5024\u3068\u3057\u3066\u53d7\u3051\u53d6\u308b\u300d\u306e\u304b\u300cSUM\u306e\u6570\u5f0f\u3092\u5165\u308c\u308b\u300d\u306e\u304b<\/b>\u3067\u66f8\u304d\u65b9\u304c\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f<br \/>\n<b>\u30fbWorksheetFunction.Sum \u3067\u5408\u8a08\u5024\u3092\u53d6\u5f97\u3057\u3066\u30bb\u30eb\u306b\u5165\u308c\u308b\u65b9\u6cd5\uff08\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\uff09<\/b><br \/>\n\u3092\u30b4\u30fc\u30eb\u306b\u3057\u307e\u3059\u3002<br \/>\n\u3042\u308f\u305b\u3066\u3001\u8907\u6570\u5217\u3092\u307e\u3068\u3081\u3066\u5408\u8a08\u3059\u308b\u65b9\u6cd5\u3084\u3001\u6587\u5b57\u5217\u30fb\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u305f\u5217\u3001\u898b\u3048\u3066\u3044\u308b\u884c\u3060\u3051\u306e\u5408\u8a08\u307e\u3067\u6271\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"images\/00041\/08_complete.png\" alt=\"\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8\" \/><br \/>\n\u4e0a\u306e\u753b\u50cf\u304c\u5b8c\u6210\u5f62\u3067\u3059\u3002\u5408\u8a08\u5024\u306e\u307f\u30fb\u6570\u5f0f\u30fb\u8868\u793a\u4e2d\u306e\u307f\u306e3\u7a2e\u985e\u306e\u5408\u8a08\u304c\u4e26\u3073\u3001\u6587\u5b57\u5217\u3084\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u305f\u5217\u3082\u6b63\u3057\u304f\u5408\u8a08\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u6bce\u56de\u624b\u3067\u6570\u5f0f\u3092\u5165\u308c\u308b\u306e\u304c\u624b\u9593\u306a\u65b9\u5411\u3051\u306b<b>VBA\u3067\u5408\u8a08\u884c\u3092\u4e00\u62ec\u633f\u5165\u3059\u308b\u65b9\u6cd5<\/b>\u3068\u3001<b>\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\uff08\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c8\uff09<\/b>\u3082\u3042\u308f\u305b\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP1_%E5%85%83%E3%83%87%E3%83%BC%E3%82%BF%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\"><\/span>STEP1. \u5143\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u307e\u305a\u306f\u5408\u8a08\u3057\u305f\u3044\u58f2\u4e0a\u8868\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n1\u884c\u76ee\u304c\u898b\u51fa\u3057\u30012\u884c\u76ee\u4ee5\u964d\u304c\u30c7\u30fc\u30bf\u3067\u3001\u4eca\u56de\u306f10\u4ef6\u3067\u3059\u3002<br \/>\nD\u5217\uff08\u91d1\u984d\uff09\u306f <b>=B2*C2<\/b>\u3001F\u5217\uff08\u7a0e\u8fbc\u91d1\u984d\uff09\u306f <b>=ROUND(D2*1.1,0)<\/b> \u306e\u6570\u5f0f\u306b\u3057\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\nF\u5217\u306e6\u884c\u76ee\u306f\u30a8\u30e9\u30fc\u5024 <b>#N\/A<\/b>\u3001E\u5217\uff08\u7d0d\u54c1\u6570\uff09\u306b\u306f\u6587\u5b57\u5217\u306e <b>\u300c\u672a\u5b9a\u300d<\/b> \u3092\u6df7\u305c\u3066\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3046\u3057\u3066\u304a\u304f\u3068\u3001\u3042\u3068\u3067\u300c\u6df7\u3056\u3063\u3066\u3044\u3066\u3082\u6b63\u3057\u304f\u5408\u8a08\u3059\u308b\u65b9\u6cd5\u300d\u307e\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/01_data.png\" alt=\"\u5143\u306b\u306a\u308b\u58f2\u4e0a\u8868\" \/><\/p>\n<p>\u4e0b\u306e\u8868\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001Excel\u306e\u30b7\u30fc\u30c8\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u305d\u306e\u307e\u307e\u8a66\u305b\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<th>\u5546\u54c1<\/th>\n<th>\u6570\u91cf<\/th>\n<th>\u5358\u4fa1<\/th>\n<th>\u91d1\u984d<\/th>\n<th>\u7d0d\u54c1\u6570<\/th>\n<th>\u7a0e\u8fbc\u91d1\u984d<\/th>\n<\/tr>\n<tr>\n<td>\u30ce\u30fc\u30c8PC<\/td>\n<td>3<\/td>\n<td>128000<\/td>\n<td><\/td>\n<td>3<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30e2\u30cb\u30bf\u30fc<\/td>\n<td>5<\/td>\n<td>32000<\/td>\n<td><\/td>\n<td>5<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30ad\u30fc\u30dc\u30fc\u30c9<\/td>\n<td>12<\/td>\n<td>4800<\/td>\n<td><\/td>\n<td>\u672a\u5b9a<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30de\u30a6\u30b9<\/td>\n<td>20<\/td>\n<td>2200<\/td>\n<td><\/td>\n<td>20<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30d7\u30ea\u30f3\u30bf<\/td>\n<td>4<\/td>\n<td>29800<\/td>\n<td><\/td>\n<td>4<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>USB\u30cf\u30d6<\/td>\n<td>8<\/td>\n<td>3500<\/td>\n<td><\/td>\n<td>\u672a\u5b9a<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5916\u4ed8\u3051HDD<\/td>\n<td>6<\/td>\n<td>12800<\/td>\n<td><\/td>\n<td>6<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9<\/td>\n<td>2<\/td>\n<td>8900<\/td>\n<td><\/td>\n<td>2<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30d4\u30fc\u30ab\u30fc<\/td>\n<td>10<\/td>\n<td>4200<\/td>\n<td><\/td>\n<td>10<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u30bf\u30d6\u30ec\u30c3\u30c8<\/td>\n<td>1<\/td>\n<td>58000<\/td>\n<td><\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<p>\u203b \u6570\u5f0f\u3067\u6c42\u3081\u308b\u5217\u306f\u7a7a\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3059\u3067\u306b\u5024\u304c\u5165\u3063\u3066\u3044\u308b\u5217\u306f\u305d\u306e\u307e\u307e\u6b8b\u3057\u3066\u8a66\u305b\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP2_WorksheetFunctionSum%E3%81%A7%E5%90%88%E8%A8%88%E5%80%A4%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8B\"><\/span>STEP2. WorksheetFunction.Sum\u3067\u5408\u8a08\u5024\u3092\u53d6\u5f97\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067\u5408\u8a08\u3060\u3051\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d\u306f <b>WorksheetFunction.Sum<\/b> \u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\n\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306eSUM\u95a2\u6570\u3092\u305d\u306e\u307e\u307e\u547c\u3073\u51fa\u305b\u308b\u306e\u3067\u3001\u623b\u308a\u5024\u306f<b>\u5408\u8a08\u5024\uff08\u6570\u5024\uff09<\/b>\u3067\u3059\u3002<br \/>\n\u307e\u305a\u306f\u5408\u8a08\u5024\u3092\u305d\u306e\u307e\u307eD13\u30bb\u30eb\u306b\u5165\u308c\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub SumValue()\n    Dim total As Double\n    total = WorksheetFunction.Sum(Range(&quot;D2:D11&quot;))\n    Range(&quot;D13&quot;).Value = total\n    MsgBox &quot;\u5408\u8a08\u306f &quot; &amp; Format(total, &quot;#,##0&quot;) &amp; &quot; \u5186\u3067\u3059&quot;\nEnd Sub<\/code><\/pre>\n<p>\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001D13\u30bb\u30eb\u306b <b>987,400<\/b> \u304c\u5165\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u3068\u304d\u6570\u5f0f\u30d0\u30fc\u306b\u306f\u3001\u6570\u5f0f\u3067\u306f\u306a\u304f<b>\u6570\u5024\u305d\u306e\u3082\u306e<\/b>\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3042\u3068\u304b\u3089\u6570\u91cf\u3084\u5358\u4fa1\u3092\u66f8\u304d\u63db\u3048\u3066\u3082\u3001\u3053\u306e\u6570\u5024\u306f\u81ea\u52d5\u3067\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u3002<br \/>\n\u9006\u306b\u3044\u3048\u3070\u3001<b>\u7d50\u679c\u306e\u6570\u5024\u3060\u3051\u3092\u6b8b\u3057\u305f\u3044\u3068\u304d<\/b>\u306f\u3053\u306e\u5f62\u304c\u4fbf\u5229\u3067\u3059\u3002<br \/>\n\u30ab\u30f3\u30bf\u30f3\u3067\u3059\u306d\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/02_wf_sum.png\" alt=\"WorksheetFunction.Sum\u3067\u5408\u8a08\u5024\u3092\u5165\u308c\u305f\u753b\u9762\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP3_%E6%95%B0%E5%BC%8F%E3%81%A8%E3%81%97%E3%81%A6%E5%85%A5%E3%82%8C%E3%81%9F%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AF%E3%80%8CFormula%E3%80%8D\"><\/span>STEP3. \u6570\u5f0f\u3068\u3057\u3066\u5165\u308c\u305f\u3044\u3068\u304d\u306f\u300c.Formula\u300d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300c\u3042\u3068\u3067\u6570\u91cf\u3084\u5358\u4fa1\u3092\u5909\u3048\u305f\u3089\u3001\u5408\u8a08\u3082\u81ea\u52d5\u3067\u66f4\u65b0\u3055\u308c\u3066\u307b\u3057\u3044\u300d\u3068\u3044\u3046\u3068\u304d\u306f\u3001\u6570\u5f0f\u3068\u3057\u3066\u5165\u308c\u307e\u3059\u3002<br \/>\nRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e <b>.Formula<\/b> \u306b\u3001SUM\u306e\u6570\u5f0f\u3092<b>\u6587\u5b57\u5217<\/b>\u3067\u4ee3\u5165\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub SumFormula()\n    Range(&quot;D14&quot;).Formula = &quot;=SUM(D2:D11)&quot;\nEnd Sub<\/code><\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001D14\u30bb\u30eb\u306f <b>=SUM(D2:D11)<\/b> \u3068\u3044\u3046\u6570\u5f0f\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u6570\u5f0f\u30d0\u30fc\u306b\u3082 <b>=SUM(D2:D11)<\/b> \u3068\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u6570\u5f0f\u306a\u306e\u3067\u3001\u91d1\u984d\u3092\u76f4\u3059\u3068\u5408\u8a08\u3082\u305d\u306e\u5834\u3067\u8a08\u7b97\u3057\u76f4\u3055\u308c\u307e\u3059\u3002<br \/>\n\u540c\u3058SUM\u3067\u3082\u3001<b>.Value<\/b> \u306f\u5024\u3001<b>.Formula<\/b> \u306f\u6570\u5f0f\u304c\u5165\u308b\u3001\u3068\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/03_formula.png\" alt=\"\u6570\u5f0f\u3068\u3057\u3066SUM\u3092\u5165\u308c\u305f\u753b\u9762\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP4_%E3%80%8C%E5%90%88%E8%A8%88%E5%80%A4%E3%81%AE%E3%81%BF%E3%80%8D%E3%82%92%E6%8C%BF%E5%85%A5%E3%81%99%E3%82%8B%EF%BC%88%E6%95%B0%E5%BC%8F%E3%82%92%E6%AE%8B%E3%81%95%E3%81%AA%E3%81%84%EF%BC%89\"><\/span>STEP4. \u300c\u5408\u8a08\u5024\u306e\u307f\u300d\u3092\u633f\u5165\u3059\u308b\uff08\u6570\u5f0f\u3092\u6b8b\u3055\u306a\u3044\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6570\u5f0f\u304c\u5165\u3063\u3066\u3044\u308b\u30bb\u30eb\u3092\u3001\u8a08\u7b97\u7d50\u679c\u306e<b>\u5024\u3060\u3051<\/b>\u306b\u7f6e\u304d\u63db\u3048\u305f\u3044\u3068\u304d\u306f <b>.Value = .Value<\/b> \u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\n\u540c\u3058\u30bb\u30eb\u306b\u81ea\u5206\u306e\u5024\u3092\u5165\u308c\u76f4\u3059\u3053\u3068\u3067\u3001\u6570\u5f0f\u304c\u8a08\u7b97\u7d50\u679c\u306b\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub ValueOnly()\n    With Range(&quot;D14&quot;)\n        .Value = .Value\n    End With\nEnd Sub<\/code><\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001D14\u30bb\u30eb\u304b\u3089\u6570\u5f0f\u304c\u6d88\u3048\u3001<b>987,400<\/b> \u3068\u3044\u3046\u5024\u3060\u3051\u304c\u6b8b\u308a\u307e\u3057\u305f\u3002<br \/>\n\u6570\u5f0f\u30d0\u30fc\u306b\u3082\u6570\u5024\u3060\u3051\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5225\u306e\u30d6\u30c3\u30af\u3084\u4ed6\u306e\u62c5\u5f53\u8005\u306b\u6e21\u3059\u3068\u304d\u3001\u6570\u5f0f\u306e\u307e\u307e\u3060\u3068\u53c2\u7167\u304c\u305a\u308c\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081<b>\u6e21\u3059\u524d\u306f\u5024\u306b\u5909\u63db\u3057\u3066\u304a\u304f<\/b>\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3067\u300c\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u300d\u3082\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n<!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/><\/p>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">WorksheetFunction.Sum \u3092\u4f7f\u3048\u3070\u3001\u305d\u3082\u305d\u3082\u6700\u521d\u304b\u3089\u5024\u3067\u5165\u308b\u306e\u3067\u5909\u63db\u306f\u4e0d\u8981\u3067\u3059\u3002<br \/>\n\u300c\u6570\u5f0f\u3067\u5165\u308c\u3066\u3057\u307e\u3063\u305f\u3042\u3068\u304b\u3089\u5024\u306b\u3057\u305f\u3044\u300d\u3068\u304d\u306b <b>.Value = .Value<\/b> \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h3><span class=\"ez-toc-section\" id=\"4%E3%81%A4%E3%81%AE%E5%85%A5%E3%82%8C%E6%96%B9%E3%81%AE%E6%AF%94%E8%BC%83\"><\/span>4\u3064\u306e\u5165\u308c\u65b9\u306e\u6bd4\u8f03<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u540c\u3058SUM\u3067\u3082\u3001\u5165\u308a\u65b9\u304c\u9055\u3046\u3068\u4f7f\u3044\u3069\u3053\u308d\u3082\u5909\u308f\u308a\u307e\u3059\u3002<br \/>\n\u9055\u3044\u3092\u8868\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<table>\n<tr>\n<th>\u65b9\u6cd5<\/th>\n<th>\u30bb\u30eb\u306b\u5165\u308b\u3082\u306e<\/th>\n<th>\u6570\u5f0f\u30d0\u30fc<\/th>\n<th>\u5411\u3044\u3066\u3044\u308b\u5834\u9762<\/th>\n<\/tr>\n<tr>\n<td><b>WorksheetFunction.Sum<\/b><\/td>\n<td>\u5408\u8a08\u5024\uff08\u6570\u5024\uff09<\/td>\n<td>\u6570\u5024\u304c\u305d\u306e\u307e\u307e\u8868\u793a<\/td>\n<td>\u5408\u8a08\u306e\u7d50\u679c\u3060\u3051\u3092\u6b8b\u3057\u305f\u3044\u3068\u304d<\/td>\n<\/tr>\n<tr>\n<td><b>.Formula = &#8220;=SUM(\u2026)&#8221;<\/b><\/td>\n<td>\u6570\u5f0f<\/td>\n<td>=SUM(D2:D11)<\/td>\n<td>\u3042\u3068\u3067\u7bc4\u56f2\u304c\u5909\u308f\u3063\u3066\u3082\u8ffd\u5f93\u3055\u305b\u305f\u3044\u3068\u304d<\/td>\n<\/tr>\n<tr>\n<td><b>SUBTOTAL(9, \u7bc4\u56f2)<\/b><\/td>\n<td>\u6570\u5f0f<\/td>\n<td>=SUBTOTAL(9,D2:D11)<\/td>\n<td>\u7d5e\u308a\u8fbc\u3093\u3060\u8868\u793a\u4e2d\u306e\u884c\u3060\u3051\u5408\u8a08\u3057\u305f\u3044\u3068\u304d<\/td>\n<\/tr>\n<tr>\n<td><b>\u5024\u306e\u307f\uff08.Value = .Value\uff09<\/b><\/td>\n<td>\u5408\u8a08\u5024\uff08\u6570\u5024\uff09<\/td>\n<td>\u6570\u5024\u304c\u305d\u306e\u307e\u307e\u8868\u793a<\/td>\n<td>\u5225\u30d6\u30c3\u30af\u3084\u4ed6\u306e\u62c5\u5f53\u8005\u306b\u6e21\u3059\u3068\u304d<\/td>\n<\/tr>\n<\/table>\n<img decoding=\"async\" src=\"images\/00041\/04_value_only.png\" alt=\"\u6570\u5f0f\u3092\u5024\u306b\u5909\u63db\u3057\u305f\u753b\u9762\" \/>\n<h2><span class=\"ez-toc-section\" id=\"STEP5_%E8%A4%87%E6%95%B0%E3%81%AE%E5%88%97%E3%82%92%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A6%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\"><\/span>STEP5. \u8907\u6570\u306e\u5217\u3092\u307e\u3068\u3081\u3066\u5408\u8a08\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5408\u8a08\u3057\u305f\u3044\u5217\u304c\u8907\u6570\u3042\u308b\u3068\u304d\u3082\u3001\u540c\u3058\u8003\u3048\u65b9\u3067\u307e\u3068\u3081\u3066\u5408\u8a08\u3067\u304d\u307e\u3059\u3002<br \/>\nE13\u30bb\u30eb\uff08\u7d0d\u54c1\u6570\uff09\u3068F13\u30bb\u30eb\uff08\u7a0e\u8fbc\u91d1\u984d\uff09\u306b\u6570\u5f0f\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub MultiSum()\n    Range(&quot;E13&quot;).Formula = &quot;=SUM(E2:E11)&quot;\n    Range(&quot;F13&quot;).Formula = &quot;=SUM(F2:F11)&quot;\nEnd Sub<\/code><\/pre>\n<p>\u7d0d\u54c1\u6570\u306e\u5408\u8a08\u306f <b>51<\/b> \u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\nE\u5217\u306b\u306f\u6587\u5b57\u5217\u306e\u300c\u672a\u5b9a\u300d\u304c2\u3064\u6df7\u3056\u3063\u3066\u3044\u307e\u3059\u304c\u3001<b>SUM\u95a2\u6570\u306f\u6570\u5024\u4ee5\u5916\u3092\u7121\u8996\u3059\u308b<\/b>\u306e\u3067\u3001\u6570\u5024\u3060\u3051\u304c\u5408\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3068\u3053\u308d\u304c\u3001F13\u30bb\u30eb\u306f <b>#N\/A<\/b> \u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\nF\u5217\u306b\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<br \/>\n\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u3001\u3053\u306e\u30a8\u30e9\u30fc\u306e\u76f4\u3057\u65b9\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/05_multi.png\" alt=\"\u8907\u6570\u5217\u3092\u307e\u3068\u3081\u3066\u5408\u8a08\u3057\u305f\u753b\u9762\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP6_%E3%82%A8%E3%83%A9%E3%83%BC%E5%80%A4%E3%81%8C%E6%B7%B7%E3%81%96%E3%81%A3%E3%81%9F%E5%88%97%E3%82%92%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\"><\/span>STEP6. \u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u305f\u5217\u3092\u5408\u8a08\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30a8\u30e9\u30fc\u5024\u304c1\u3064\u3067\u3082\u6df7\u3056\u3063\u3066\u3044\u308b\u3068\u3001SUM\u306f\u5408\u8a08\u3067\u304d\u305a\u306b\u540c\u3058\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3046\u3044\u3046\u3068\u304d\u306f <b>AGGREGATE\u95a2\u6570<\/b> \u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\nAGGREGATE\u306f\u3001<b>\u7b2c2\u5f15\u6570\u3067\u300c\u30a8\u30e9\u30fc\u5024\u3092\u7121\u8996\u3059\u308b\u300d\u3092\u9078\u3079\u308b<\/b>\u96c6\u8a08\u95a2\u6570\u3067\u3059\u3002<br \/>\nF13\u30bb\u30eb\u306e\u6570\u5f0f\u3092\u6b21\u306e\u3088\u3046\u306b\u5909\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub SumIgnoreError()\n    Range(&quot;F13&quot;).Formula = &quot;=AGGREGATE(9,6,F2:F11)&quot;\nEnd Sub<\/code><\/pre>\n<p>F13\u30bb\u30eb\u304c <b>955,020<\/b> \u306b\u5909\u308f\u308a\u3001\u30a8\u30e9\u30fc\u5024\u306e\u884c\u3092\u9664\u3044\u3066\u5408\u8a08\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4e0b\u306eF14\u30bb\u30eb\u306f\u3001\u3042\u3048\u3066 <b>=SUM(F2:F11)<\/b> \u306e\u307e\u307e\u6b8b\u3057\u305f\u3082\u306e\u3067\u3059\u3002<br \/>\n\u540c\u3058\u7bc4\u56f2\u3067\u3082\u3001SUM\u306f <b>#N\/A<\/b>\u3001AGGREGATE\u306f\u6570\u5024\u306b\u306a\u308b\u9055\u3044\u304c\u898b\u3089\u308c\u307e\u3059\u3002<\/p>\n<div class=\"c_box intitle pink_box\">\n<div class=\"box_title\"><span>POINT<\/span><\/div>\n<p>\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u308b\u5217\u306f <b>=AGGREGATE(9,6,\u7bc4\u56f2)<\/b> \u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<br \/>\n<b>9<\/b>\uff1d\u5408\u8a08\u3001<b>6<\/b>\uff1d\u30a8\u30e9\u30fc\u5024\u3092\u7121\u8996\u3059\u308b\u3001\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<br \/>\nSUM\u95a2\u6570\u306f\u30a8\u30e9\u30fc\u304c1\u3064\u3067\u3082\u3042\u308b\u3068\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u305f\u3081\u3001AGGREGATE\u306b\u7f6e\u304d\u63db\u3048\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/div>\n<h4>VBA\u3067SumIf\uff08\u6761\u4ef6\u4ed8\u304d\u5408\u8a08\uff09\u3092\u4f7f\u3046<\/h4>\n<p>\u300c\u30ce\u30fc\u30c8PC\u3060\u3051\u5408\u8a08\u3057\u305f\u3044\u300d\u306a\u3069\u3001<b>\u6761\u4ef6\u306b\u5408\u3046\u884c\u3060\u3051<\/b>\u3092\u5408\u8a08\u3057\u305f\u3044\u3068\u304d\u306f <b>WorksheetFunction.SumIf<\/b> \u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub SumIfSample()\n    Dim total As Double\n    total = Application.WorksheetFunction.SumIf( _\n        Range(&quot;A2:A11&quot;), &quot;\u30ce\u30fc\u30c8PC&quot;, Range(&quot;D2:D11&quot;))\n    Range(&quot;D13&quot;).Value = total\nEnd Sub<\/code><\/pre>\n<p>\u7b2c1\u5f15\u6570\u306b\u6761\u4ef6\u306e\u7bc4\u56f2\u3001\u7b2c2\u5f15\u6570\u306b\u6761\u4ef6\u3001\u7b2c3\u5f15\u6570\u306b\u5408\u8a08\u3057\u305f\u3044\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u6761\u4ef6\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u3001\u5546\u54c1\u5225\u30fb\u62c5\u5f53\u8005\u5225\u306e\u96c6\u8a08\u304c\u4e00\u77ac\u3067\u4f5c\u308c\u307e\u3059\u3002<br \/>\n\u30ab\u30f3\u30bf\u30f3\u3067\u3059\u306d\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/06_error.png\" alt=\"AGGREGATE\u3067\u30a8\u30e9\u30fc\u5024\u3092\u7121\u8996\u3057\u3066\u5408\u8a08\u3057\u305f\u753b\u9762\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"STEP7_%E8%A6%8B%E3%81%88%E3%81%A6%E3%81%84%E3%82%8B%E3%82%BB%E3%83%AB%E3%81%A0%E3%81%91%E5%90%88%E8%A8%88%E3%81%99%E3%82%8B\"><\/span>STEP7. \u898b\u3048\u3066\u3044\u308b\u30bb\u30eb\u3060\u3051\u5408\u8a08\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u7d5e\u308a\u8fbc\u3093\u3060\u3042\u3068\u3001<b>\u898b\u3048\u3066\u3044\u308b\u884c\u3060\u3051<\/b>\u3092\u5408\u8a08\u3057\u305f\u3044\u3068\u304d\u306f <b>SUBTOTAL\u95a2\u6570<\/b> \u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\nD15\u30bb\u30eb\u306b <b>=SUBTOTAL(9,D2:D11)<\/b> \u3068\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u300c\u6570\u91cf\u304c10\u4ee5\u4e0a\u300d\u306e\u5546\u54c1\u3060\u3051\u306b\u7d5e\u308a\u8fbc\u3093\u3067\u307f\u307e\u3057\u305f\u3002<br \/>\nSUM\u306a\u3089\u5168\u4ef6\u306e <b>987,400<\/b> \u306e\u307e\u307e\u3067\u3059\u304c\u3001SUBTOTAL\u306f\u8868\u793a\u4e2d\u306e\u884c\u3060\u3051\u3092\u5408\u8a08\u3057\u3066 <b>143,600<\/b> \u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u7d5e\u308a\u8fbc\u307f\u3092\u5207\u308a\u66ff\u3048\u308b\u3068\u5408\u8a08\u3082\u81ea\u52d5\u3067\u8ffd\u5f93\u3057\u307e\u3059\u3002<br \/>\nVBA\u3067\u540c\u3058\u3053\u3068\u3092\u3059\u308b\u3068\u304d\u306f <b>SpecialCells(xlCellTypeVisible)<\/b> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub VisibleSum()\n    Dim total As Double\n    total = WorksheetFunction.Sum( _\n        Range(&quot;D2:D11&quot;).SpecialCells(xlCellTypeVisible))\n    Range(&quot;D15&quot;).Value = total\nEnd Sub<\/code><\/pre>\n<p>SpecialCells(xlCellTypeVisible) \u306f\u300c\u898b\u3048\u3066\u3044\u308b\u30bb\u30eb\u3060\u3051\u300d\u3092\u8868\u3059\u306e\u3067\u3001\u7d5e\u308a\u8fbc\u307f\u4e2d\u306e\u5408\u8a08\u306b\u3074\u3063\u305f\u308a\u3067\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/07_filter.png\" alt=\"\u7d5e\u308a\u8fbc\u3093\u3067\u8868\u793a\u4e2d\u3060\u3051\u5408\u8a08\u3057\u305f\u753b\u9762\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E3%81%86%E3%81%BE%E3%81%8F%E3%81%84%E3%81%8B%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE%E5%AF%BE%E5%87%A6%E6%B3%95%EF%BC%88%E3%83%88%E3%83%A9%E3%83%96%E3%83%AB%E3%82%B7%E3%83%A5%E3%83%BC%E3%83%88%EF%BC%89\"><\/span>\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\uff08\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c8\uff09<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5b9f\u969b\u306b\u8a66\u3059\u3068\u3001\u601d\u3063\u305f\u3088\u3046\u306b\u52d5\u304b\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u3088\u304f\u3042\u308b\u3064\u307e\u305a\u304d\u3068\u5bfe\u51e6\u6cd5\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<table>\n<tr>\n<th>\u75c7\u72b6<\/th>\n<th>\u539f\u56e0<\/th>\n<th>\u5bfe\u51e6<\/th>\n<\/tr>\n<tr>\n<td>\u5408\u8a08\u304c <b>0<\/b> \u306b\u306a\u308b<\/td>\n<td>\u6570\u5024\u304c\u6587\u5b57\u5217\u3068\u3057\u3066\u5165\u529b\u3055\u308c\u3066\u3044\u308b\uff08\u300c\u672a\u5b9a\u300d\u306a\u3069\uff09<\/td>\n<td>\u6570\u5024\u306b\u5909\u63db\u3059\u308b\uff0f<b>=VALUE()<\/b> \u3067\u6570\u5024\u5316\u3059\u308b\u3002SUM\u306f\u6570\u5024\u4ee5\u5916\u3092\u7121\u8996\u3059\u308b\u305f\u3081\u3001\u5168\u90e8\u6587\u5b57\u5217\u3060\u30680\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u308b\u3068\u5408\u8a08\u3082\u30a8\u30e9\u30fc<\/td>\n<td>\u7bc4\u56f2\u5185\u306b #N\/A \u306a\u3069\u306e\u30a8\u30e9\u30fc\u304c\u3042\u308b<\/td>\n<td><b>=AGGREGATE(9,6,\u7bc4\u56f2)<\/b> \u306b\u7f6e\u304d\u63db\u3048\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u7d5e\u308a\u8fbc\u3093\u3067\u3082\u5408\u8a08\u304c\u5909\u308f\u3089\u306a\u3044<\/td>\n<td>SUM\u306f\u975e\u8868\u793a\u306e\u884c\u3082\u5408\u8a08\u3057\u3066\u3057\u307e\u3046<\/td>\n<td><b>=SUBTOTAL(9,\u7bc4\u56f2)<\/b> \u3092\u4f7f\u3046<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u5f0f\u3092\u6b8b\u3057\u305f\u304f\u306a\u3044<\/td>\n<td>.Formula \u3067\u5165\u308c\u308b\u3068\u6570\u5f0f\u304c\u6b8b\u308b<\/td>\n<td><b>.Value = .Value<\/b> \u3067\u5024\u306b\u5909\u63db\u3059\u308b\uff0fWorksheetFunction.Sum \u3067\u5024\u3068\u3057\u3066\u5165\u308c\u308b<\/td>\n<\/tr>\n<tr>\n<td>VBA\u3067\u300cWorksheetFunction \u30e1\u30bd\u30c3\u30c9\u304c\u5931\u6557\u300d\u3059\u308b<\/td>\n<td>\u7bc4\u56f2\u306b\u30a8\u30e9\u30fc\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u308b<\/td>\n<td>AGGREGATE\u95a2\u6570\u306b\u7f6e\u304d\u63db\u3048\u308b\uff0f<b>On Error Resume Next<\/b> \u3067\u51e6\u7406\u3059\u308b<\/td>\n<\/tr>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"%E9%96%A2%E6%95%B0%E3%81%AE%E8%AA%AC%E6%98%8E\"><\/span>\u95a2\u6570\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4eca\u56de\u4f7f\u30463\u3064\u306e\u95a2\u6570\u306e\u6982\u8981\u3067\u3059\u3002<br \/>\n\u3069\u308c\u3082\u96c6\u8a08\u306e\u57fa\u672c\u306b\u306a\u308b\u95a2\u6570\u306a\u306e\u3067\u3001\u9055\u3044\u3092\u62bc\u3055\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>SUM\u95a2\u6570\uff08\u30b5\u30e0\uff09<\/h4>\n<table>\n<tr>\n<th>\u66f8\u5f0f<\/th>\n<td>=SUM(\u6570\u50241, [\u6570\u50242], \u2026)<\/td>\n<\/tr>\n<tr>\n<th>\u3067\u304d\u308b\u3053\u3068<\/th>\n<td>\u6307\u5b9a\u3057\u305f\u7bc4\u56f2\u3084\u6570\u5024\u306e<b>\u5408\u8a08<\/b>\u3092\u6c42\u3081\u308b\u3001\u3082\u3063\u3068\u3082\u57fa\u672c\u306e\u96c6\u8a08\u95a2\u6570\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u623b\u308a\u5024<\/th>\n<td>\u5408\u8a08\u5024\uff08\u6570\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<th>\u3053\u3093\u306a\u3068\u304d\u306b<\/th>\n<td>\u7bc4\u56f2\u5168\u4f53\u306e\u5408\u8a08\u3092\u51fa\u3057\u305f\u3044\u3068\u304d\u3002<b>WorksheetFunction.Sum<\/b> \u3067VBA\u304b\u3089\u3082\u547c\u3079\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u6ce8\u610f<\/th>\n<td>\u6587\u5b57\u5217\u306f\u7121\u8996\u3057\u307e\u3059\u304c\u3001<b>\u30a8\u30e9\u30fc\u5024\u304c\u3042\u308b\u3068\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u3059<\/b>\u3002\u975e\u8868\u793a\u306e\u884c\u3082\u5408\u8a08\u306b\u542b\u307e\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<pre>=SUM(D2:D11)<\/pre>\n<h4>SUBTOTAL\u95a2\u6570\uff08\u30b5\u30d6\u30c8\u30fc\u30bf\u30eb\uff09<\/h4>\n<table>\n<tr>\n<th>\u66f8\u5f0f<\/th>\n<td>=SUBTOTAL(\u96c6\u8a08\u65b9\u6cd5, \u53c2\u71671, [\u53c2\u71672], \u2026)<\/td>\n<\/tr>\n<tr>\n<th>\u3067\u304d\u308b\u3053\u3068<\/th>\n<td>\u30ea\u30b9\u30c8\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e<b>\u96c6\u8a08<\/b>\u3092\u884c\u3044\u307e\u3059\u3002\u7b2c1\u5f15\u6570\u3067\u5408\u8a08\u30fb\u5e73\u5747\u30fb\u500b\u6570\u306a\u3069\u3092\u9078\u3079\u3001<b>\u975e\u8868\u793a\u306e\u884c\u3092\u9664\u5916<\/b>\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u7b2c1\u5f15\u6570\uff08\u629c\u7c8b\uff09<\/th>\n<td>9=SUM\uff0f1=AVERAGE\uff0f2=COUNT\uff0f4=MAX\uff0f5=MIN<br \/>\u5148\u982d\u306b <b>1<\/b> \u3092\u4ed8\u3051\u305f 109 \/ 101 \/ 102 \u2026 \u306f\u300c<b>\u624b\u52d5\u3067\u975e\u8868\u793a\u306b\u3057\u305f\u884c\u3082\u9664\u5916<\/b>\u300d<\/td>\n<\/tr>\n<tr>\n<th>\u3053\u3093\u306a\u3068\u304d\u306b<\/th>\n<td>\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u7d5e\u308a\u8fbc\u3093\u3060<b>\u8868\u793a\u4e2d\u306e\u884c\u3060\u3051<\/b>\u3092\u5408\u8a08\u3057\u305f\u3044\u3068\u304d\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u6ce8\u610f<\/th>\n<td>\u5408\u8a08\u884c\u305d\u306e\u3082\u306e\u3092\u53c2\u7167\u7bc4\u56f2\u306b\u542b\u3081\u308b\u3068\u4e8c\u91cd\u8a08\u4e0a\u306b\u306a\u308a\u307e\u3059\u3002\u53c2\u7167\u306f<b>\u30c7\u30fc\u30bf\u884c\u3060\u3051<\/b>\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/td>\n<\/tr>\n<\/table>\n<pre>=SUBTOTAL(9, D2:D11)<\/pre>\n<h4>AGGREGATE\u95a2\u6570\uff08\u30a2\u30b0\u30ea\u30b2\u30fc\u30c8\uff09<\/h4>\n<table>\n<tr>\n<th>\u66f8\u5f0f<\/th>\n<td>=AGGREGATE(\u96c6\u8a08\u65b9\u6cd5, \u30aa\u30d7\u30b7\u30e7\u30f3, \u914d\u5217)<\/td>\n<\/tr>\n<tr>\n<th>\u3067\u304d\u308b\u3053\u3068<\/th>\n<td>SUM\u306a\u306919\u7a2e\u985e\u306e\u96c6\u8a08\u3092\u3001<b>\u30a8\u30e9\u30fc\u5024\u3084\u975e\u8868\u793a\u884c\u3092\u7121\u8996\u3057\u3066<\/b>\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u7b2c2\u5f15\u6570\uff08\u629c\u7c8b\uff09<\/th>\n<td>0=\u975e\u8868\u793a\u884c\u3082\u542b\u3081\u308b\uff0f<b>6=\u30a8\u30e9\u30fc\u5024\u3092\u7121\u8996\u3059\u308b<\/b>\uff0f5=\u975e\u8868\u793a\u884c\u3092\u7121\u8996\u3059\u308b\uff0f7=\u4e21\u65b9\u7121\u8996\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<th>\u3053\u3093\u306a\u3068\u304d\u306b<\/th>\n<td>\u5217\u306b #N\/A \u306a\u3069\u306e\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u3066\u3044\u3066\u3082\u3001\u6b63\u3057\u304f\u5408\u8a08\u3057\u305f\u3044\u3068\u304d\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u6ce8\u610f<\/th>\n<td>\u7b2c2\u5f15\u6570\u3092 <b>6<\/b> \u306b\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u3092\u7121\u8996\u3067\u304d\u307e\u305b\u3093\u3002SUM\u4ee3\u308f\u308a\u306b\u4f7f\u3046\u3068\u304d\u306f <b>9<\/b> \u3068 <b>6<\/b> \u306e\u30bb\u30c3\u30c8\u3067\u899a\u3048\u307e\u3057\u3087\u3046\u3002<\/td>\n<\/tr>\n<\/table>\n<pre>=AGGREGATE(9, 6, F2:F11)<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%E5%AE%8C%E6%88%90\"><\/span>\u5b8c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300c\u5408\u8a08\uff08\u5024\u306e\u307f\uff09\u300d\u300c\u5408\u8a08\uff08\u6570\u5f0f\uff09\u300d\u300c\u5408\u8a08\uff08\u8868\u793a\u4e2d\u306e\u307f\uff09\u300d\u306e3\u3064\u306e\u5408\u8a08\u304c\u4e26\u3073\u307e\u3057\u305f\u3002<br \/>\n\u7d5e\u308a\u8fbc\u307f\u3092\u89e3\u9664\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3044\u307e\u306f3\u3064\u3068\u3082 <b>987,400<\/b> \u3067\u305d\u308d\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u6570\u91cf\u304c10\u4ee5\u4e0a\u306b\u7d5e\u308a\u8fbc\u3080\u3068\u3001\u300c\u5408\u8a08\uff08\u8868\u793a\u4e2d\u306e\u307f\uff09\u300d\u3060\u3051\u304c <b>143,600<\/b> \u306b\u5207\u308a\u66ff\u308f\u308a\u307e\u3059\u3002<br \/>\n\u6587\u5b57\u5217\u306e\u300c\u672a\u5b9a\u300d\u304c\u6df7\u3056\u3063\u305fE\u5217\u3082\u3001\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u305fF\u5217\u3082\u3001\u6b63\u3057\u304f\u5408\u8a08\u3067\u304d\u3066\u3044\u307e\u3059\u3002<br \/>\n\u601d\u3063\u305f\u3068\u304a\u308a\u306b\u52d5\u304d\u307e\u3057\u305f\u304b\uff1f<br \/>\n\u300c\u5024\u3067\u5165\u308c\u308b\u300d\u300c\u6570\u5f0f\u3067\u5165\u308c\u308b\u300d\u300c\u8868\u793a\u4e2d\u3060\u3051\u5408\u8a08\u3059\u308b\u300d\u3092\u4f7f\u3044\u5206\u3051\u3089\u308c\u308b\u3068\u3001\u96c6\u8a08\u4f5c\u696d\u304c\u3050\u3063\u3068\u30e9\u30af\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"images\/00041\/08_complete.png\" alt=\"\u5b8c\u6210\u3057\u305f\u58f2\u4e0a\u8868\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"endinfo\">\u30fbExcel VBA\u3067SUM\u95a2\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\uff08\u5408\u8a08\u5024\u306e\u307f\u306e\u633f\u5165\u3082\uff09<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u8868\u3067\u3001\u305c\u3072\u4e00\u5ea6\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u5408\u8a08\u306e\u300c\u5024\u300d\u3068\u300c\u6570\u5f0f\u300d\u3092\u4f7f\u3044\u5206\u3051\u3066\u3001\u6587\u5b57\u5217\u3084\u30a8\u30e9\u30fc\u5024\u304c\u6df7\u3056\u3063\u3066\u3082\u843d\u3061\u7740\u3044\u3066\u5bfe\u51e6\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u3087\u3046\u3002<br \/>\n\u307e\u305f\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306aExcel\u306e\u6642\u77ed\u30c6\u30af\u30cb\u30c3\u30af\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u7167\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel VBA\u3067SUM\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5408\u8a08\u3092\u51fa\u3057\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fb\u5408\u8a08\u306e\u300c\u6570\u5024\u300d\u3060\u3051\u6b32\u3057\u3044\u306e\u304b\u3001SUM\u306e\u300c\u6570\u5f0f\u300d\u3092\u5165\u308c\u305f\u3044\u306e\u304b\u3067\u8ff7\u3046 \u30fb\u7d5e\u308a\u8fbc\u3093\u3060\u3042\u3068\u306b\u3001\u898b\u3048\u3066\u3044\u308b\u884c\u3060\u3051\u3092\u5408\u8a08\u3057&#8230;<\/p>\n","protected":false},"author":1,"featured_media":15465,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[143],"class_list":{"0":"post-7530","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"category-excel","9":"tag-143","10":"article cf"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\"\/>\n\t<meta name=\"keywords\" content=\"\u5408\u8a08\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=7530\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=7530\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-15T14:46:58+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-15T14:46:58+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#article\",\"name\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/00041_eyecatch.png\",\"width\":879,\"height\":583,\"caption\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01\"},\"datePublished\":\"2026-10-15T23:46:58+09:00\",\"dateModified\":\"2026-10-15T23:46:58+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#webpage\"},\"articleSection\":\"Excel VBA, Excel \\u95a2\\u6570, \\u5408\\u8a08\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/extan.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"position\":2,\"name\":\"Microsoft 365\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=47\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"position\":3,\"name\":\"Excel\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=17\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"position\":4,\"name\":\"Excel VBA\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#listItem\",\"name\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#listItem\",\"position\":5,\"name\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"url\":\"https:\\\/\\\/extan.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/extan.jp\\\/?author=1\",\"name\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=7530\",\"name\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/00041_eyecatch.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530\\\/#mainImage\",\"width\":879,\"height\":583,\"caption\":\"\\u3010Excel VBA\\u3011SUM\\u95a2\\u6570\\u306e\\u4f7f\\u3044\\u65b9\\uff01\\u5408\\u8a08\\u5024\\u306e\\u307f\\u633f\\u5165\\u3082\\uff01\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=7530#mainImage\"},\"datePublished\":\"2026-10-15T23:46:58+09:00\",\"dateModified\":\"2026-10-15T23:46:58+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\",\"url\":\"https:\\\/\\\/extan.jp\\\/\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=7530","robots":"max-image-preview:large","keywords":"\u5408\u8a08","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=7530#article","name":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/00041_eyecatch.png","width":879,"height":583,"caption":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01"},"datePublished":"2026-10-15T23:46:58+09:00","dateModified":"2026-10-15T23:46:58+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=7530#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=7530#webpage"},"articleSection":"Excel VBA, Excel \u95a2\u6570, \u5408\u8a08"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=7530#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","position":2,"name":"Microsoft 365","item":"https:\/\/extan.jp\/?cat=47","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","position":3,"name":"Excel","item":"https:\/\/extan.jp\/?cat=17","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","position":4,"name":"Excel VBA","item":"https:\/\/extan.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=7530#listItem","name":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=7530#listItem","position":5,"name":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01","previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"}}]},{"@type":"Organization","@id":"https:\/\/extan.jp\/#organization","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","url":"https:\/\/extan.jp\/"},{"@type":"Person","@id":"https:\/\/extan.jp\/?author=1#author","url":"https:\/\/extan.jp\/?author=1","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=7530#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u30bf\u30ab\u30d2\u30ed@extan"}},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=7530#webpage","url":"https:\/\/extan.jp\/?p=7530","name":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=7530#breadcrumblist"},"author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"creator":{"@id":"https:\/\/extan.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/00041_eyecatch.png","@id":"https:\/\/extan.jp\/?p=7530\/#mainImage","width":879,"height":583,"caption":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=7530#mainImage"},"datePublished":"2026-10-15T23:46:58+09:00","dateModified":"2026-10-15T23:46:58+09:00"},{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","inLanguage":"ja","publisher":{"@id":"https:\/\/extan.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","og:type":"article","og:title":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=7530","article:published_time":"2026-10-15T14:46:58+00:00","article:modified_time":"2026-10-15T14:46:58+00:00","twitter:card":"summary","twitter:title":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"7530","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"created":"2026-10-15 14:46:05","updated":"2026-10-15 14:46:58","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=47\" title=\"Microsoft 365\">Microsoft 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=17\" title=\"Excel\">Excel<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=6\" title=\"Excel VBA\">Excel VBA<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/extan.jp"},{"label":"Microsoft 365","link":"https:\/\/extan.jp\/?cat=47"},{"label":"Excel","link":"https:\/\/extan.jp\/?cat=17"},{"label":"Excel VBA","link":"https:\/\/extan.jp\/?cat=6"},{"label":"\u3010Excel VBA\u3011SUM\u95a2\u6570\u306e\u4f7f\u3044\u65b9\uff01\u5408\u8a08\u5024\u306e\u307f\u633f\u5165\u3082\uff01","link":"https:\/\/extan.jp\/?p=7530"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7530"}],"version-history":[{"count":3,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7530\/revisions"}],"predecessor-version":[{"id":15466,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7530\/revisions\/15466"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/15465"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}