You Want to Track the Lunch Count on a Spreadsheet With Checkboxes
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 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.
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!
You Want to Track the Lunch Count on a Spreadsheet With Checkboxes
Source: https://www.extendoffice.com/documents/excel/2460-excel-sum-count-checkboxes.html
0 Response to "You Want to Track the Lunch Count on a Spreadsheet With Checkboxes"
Postar um comentário