Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to sum / count checked checkboxes in Excel?

Checkbox is useful for you to mark the status of your data in Excel. If you have a list of checkboxes, some of them are checked, and others are unchecked, and here, you would like to count the number of checked checkboxes or sum the corresponding values based on the checked checkbox.

Sum or count checked checkboxes with formulas


Insert multiple check boxes in selections at once:

Kutools for Excel’s Batch Insert Check Boxes utility can help you to quickly insert multiple checkboxes at once.

doc-create-combobox22

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Sum or count checked checkboxes with formulas


In Excel, there is no direct formula for us to count or sum the checked checkboxes, to solve this problem successfully, please do as follows step by step:

First, set a link cell for each checkboxes

1. Open your worksheet which you want to count or sum the checked checkboxes, then right click one checkbox, and choose Format Control, see screenshot:

doc-count-checkboxes-1

2. In the Format Object dialog box, click Control tab, and then click doc-checkbox-button-1 button beside the Cell link option to select a blank cell which relative to your selected checkbox as the link cell, and don’t change any other options, see screenshot:

doc-count-checkboxes-1

3. And then click OK to close this dialog, there will be a TRUE displayed at the selected cell if the checkbox is check, and a blank cell if the checkbox is unchecked, see screenshot:

doc-count-checkboxes-1

4. Then you need to repeat above steps to set a link cell for each checkbox of the column, and had better link the cell with the corresponding checkbox in the same row, you will get the following screenshot:

doc-count-checkboxes-1

Second, you can apply formulas to calculate the checkboxes

5. After finishing setting the link cell for the checkboxes, you can use the below formulas to calculate the checkboxes:

Count the checked checkbox:

=COUNTIF(D2:D15,TRUE) (D2:D15 is the range of the link cells that you have set for the checkboxes), then press Enter key to get the number of checked checkboxes.

doc-count-checkboxes-1

Sum the cell values based on checked checkbox:

=SUMPRODUCT(($D$2:$D$15=TRUE)*$C$2:$C$15), (D2:D15 is the range of the link cells that you have set for the checkboxes, and C2:C15 refers to the cells that you want to sum) and then press Enter key to add the checked checkboxes related to the values in column C.

doc-count-checkboxes-1


Demo: Sum or count checked checkboxes with formulas

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related article:

How to quickly insert multiple checkboxes in Excel?


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Fuad Efendi · 12 days ago
    I created basic spreadsheet, 7 columns with checkboxes, and 8th column with count, I need thousands rows in it over time. Right now only 50 rows, and when I change column width (of another plain text column) I need to wait for Microsoft to recalculate everything... for two minutes!!! Thank you very much Microsoft.

    So, it is just basic spreadsheet; do try any sophistication, you will get burnt.
  • To post as a guest, your comment is unpublished.
    Chief · 2 years ago
    I used KUTOOLS in Excel to Batch Add Checkboxes. Now, How do I format them in a batch?
  • To post as a guest, your comment is unpublished.
    J. Aquino · 3 years ago
    Very useful information, thank you very much.
  • To post as a guest, your comment is unpublished.
    PatK · 3 years ago
    If I counted checkboxes in a column and found some set on, how can I then clear (remove checkboxes) in that column given I have more than one column that I want to be left asis?