
[心得] Excel Sumif 標計加總工具 VBA實戰系列

前幾天一個外國人寄信給我說需要這個功能,花了2個小時寫出來,
個人覺得滿實用的,分享給大家~
此標計加總工具(Sumif)有四種組合可以用,
把標誌放在左邊、右邊,與放在儲存格或是文字方塊裡,
選好後按OK,會自動跳出一個視窗讓你選要把合計數放在哪裡。
放在儲存格(Cells)裡的總和我是寫直接代Excel的Sumif公式,
所以請注意選這個的話,只會加總該整欄有標記的欄位。
另如果選放在文字方塊(Textboxes)的話,就沒有只能選該欄的問題,
因為這個的公式是用=Sum一個一個加你有選的格子。
-----------------------------------------------------------------------------
╭─────────────┬─────┬───────────╮
│ EXCEL VBA/VB │ 文章代碼 │ 下載 │
├─────────────┼─────┼───────────┤
│離職倒數計時器 │#1QczIc8l │https://goo.gl/h8TuAD │
├─────────────┼──┬──┼───────────┤
│快速新增文字方塊 │#1QaMLzs- │https://goo.gl/K2fuep │
├─────────────┼──┬──┼───────────┤
│自定義快捷鍵 │#1QYKzU_9 │https://goo.gl/LkVPmB │
├─────────────┼──┬──┼───────────┤
│勾數字工具 │#1QV_dBdw │https://goo.gl/Q1Jj97 │
├─────────────┼──┬──┼───────────┤
│即時匯率_對話方塊 │#1QCzqt8W │https://goo.gl/cs8Spv │
├─────────────┼──┬──┼───────────┤
│ ↘ Demo檔下載│ │ │https://goo.gl/2XVX69 │
├─────────────┼──┼──┼───────────┤
│日幣現金匯率查詢 │ │ │https://goo.gl/Cda3vh │
├─────────────┼──┼──┼───────────┤
│ ↘ Demo檔下載│ ▼ │https://goo.gl/HegVJL │
├─────────────┼─────┼───────────┤
│即時牌價查詢 │#1QB30fq7 │https://goo.gl/kLQRyL │
├─────────────┼──┬──┼───────────┤
│單一幣別匯率查詢 │ │ │https://goo.gl/5vTCF5 │
├─────────────┼──┼──┼───────────┤
│ ↘ Demo檔下載│ │ │https://goo.gl/as7oJn │
├─────────────┼──┼──┼───────────┤
│全部幣別匯率查詢 │ │ │https://goo.gl/Bh1XZj │
├─────────────┼──┼──┼───────────┤
│ ↘ Demo檔下載│ │ │https://goo.gl/HKtJyk │
├─────────────┼──┼──┼───────────┤
│全部幣別匯率查詢_對話方塊 │ │ │https://goo.gl/cTJvSA │
├─────────────┼──┼──┼───────────┤
│ ↘ Demo檔下載│ │ │https://goo.gl/zDZiFK │
├─────────────┼──┼──┼───────────┤
│匯率表產生器(xlsm)(有密碼)│ ▼ │https://goo.gl/LXSQ8o │
├─────────────┼─────┼───────────┤
│包含篩選 │#1QB2qaHU │https://goo.gl/2PcagN │
├─────────────┼─────┼───────────┤
│多重篩選 │#1QB2qaHU │https://goo.gl/26HqHm │
├─────────────┼─────┼───────────┤
│快速整理明細帳 │#1QB2km6W │https://goo.gl/X5dnqp │
├─────────────┼─────┼───────────┤
│插入PBC文字方塊 │#1QB2i47Y │https://goo.gl/mhXZox │
├─────────────┼─────┼───────────┤
│T字帳產生器 │#1Q8bpU-J │https://goo.gl/BhM4n8 │
├─────────────┼─────┼───────────┤
│Excel基本操作 │#1Q65UTNn │https://goo.gl/WFdbcG │
├─────────────┼─────┼───────────┤
│切換編輯模式&Enter向右 │#1Q3wLTS_ │https://goo.gl/a62rHp │
├─────────────┼─────┼───────────┤
│自訂選擇性貼上 │#1Q1pEUVg │https://goo.gl/3SCy2d │
├─────────────┼─────┼───────────┤
│透過公開資訊觀測站查詢財報│#1P_9YjWs │https://goo.gl/iUc49o │
├─────────────┼─────┼───────────┤
│ ↘ Demo檔下載│ │https://goo.gl/8PUAAy │
├─────────────┼─────┼───────────┤
│一鍵轉底稿 │#1Pz9ZLY0 │https://goo.gl/oBxQug │
├─────────────┼─────┼───────────┤
│千分位&Tickmark製作 │#1PxCHzh1 │https://goo.gl/gimhNd │
├─────────────┼─────┼───────────┤
│自訂插入儲存格按鈕 │#1PuWvwqq │https://goo.gl/Q53w7T │
├─────────────┼─────┼───────────┤
│自訂工作表字型按鈕 │#1PqA0Hn2 │https://goo.gl/NCGsnY │
╰─────────────┴─────┴───────────╯
--
Accoding: https://www.facebook.com/AccodingTW/
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.104.79.194
※ 文章網址: https://www.ptt.cc/bbs/Accounting/M.1520735993.A.8A2.html
推
03/11 11:15,
8年前
, 1F
03/11 11:15, 1F
推
03/11 13:00,
8年前
, 2F
03/11 13:00, 2F
推
03/11 13:38,
8年前
, 3F
03/11 13:38, 3F
推
03/11 16:38,
8年前
, 4F
03/11 16:38, 4F
推
03/11 20:24,
8年前
, 5F
03/11 20:24, 5F
推
03/11 20:44,
8年前
, 6F
03/11 20:44, 6F
推
03/11 22:52,
8年前
, 7F
03/11 22:52, 7F
有寄信給你喔~看是哪裡有問題再跟我說
完整的圖文教學在這篇
https://www.ptt.cc/bbs/Accounting/M.1505667741.A.0FC.html
※ 編輯: noworneverev (112.104.79.194), 03/11/2018 23:20:28
Accounting 近期熱門文章
PTT職涯區 即時熱門文章
8
11