Note: The other languages of the website are Google-translated. Back to English

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

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:


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:


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:


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:


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.


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.


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. Click to download Kutools for Excel!

Demo: Sum or count checked checkboxes with formulas

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

Related article:

How to quickly insert multiple checkboxes in Excel?

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (4)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
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?
This comment was minimized by the moderator on the site
Very useful information, thank you very much.
This comment was minimized by the moderator on the site
I used KUTOOLS in Excel to Batch Add Checkboxes. Now, How do I format them in a batch?
This comment was minimized by the moderator on the site
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.
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations