In Excel 2007, how to count checked checkboxes ?
A cell should display (automatically) the number of check boxes checked on clicking the checkboxes . It should minus the value if the check box is marked unchecked.. Only with function, not macros !!
1) Right-click on the checkbox
2) Select Format Control (> Control tab)
3) In the Cell link field enter a cell reference. This cell will now display TRUE when the checkbox is ticked and FALSE when it is clear
4) Repeat steps 1) to 3) for the other checkbox(es) you have
5) Lets say the cells you chose to link to are D17 to D18. In another cell place this formula:
=COUNTA(D17:D18)
This will count all the cells which display TRUE
If you want, you can hide the cells which display TRUE by clicking Format > (Row or Column) > Hide. However, make sure there is nothing important elsewhere in the same row or column otherwise this will disappear too.
Hope this helps
http://opengupy.info/
#If you have any other info about this subject , Please add it free.# |