Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I sum the number of check boxs, checked in excell 2003
I would like to total the number of check boxs in a column, that have been
checked. Using Excel 2003 Thanks AL |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I sum the number of check boxs, checked in excell 2003
Dim chk As CheckBox
Dim c As Long For Each chk In ActiveSheet.Checkboxes If chk.Value = Then c = c + 1 Next chk MsgBox c -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Arfa" wrote in message ... I would like to total the number of check boxs in a column, that have been checked. Using Excel 2003 Thanks AL |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I sum the number of check boxs, checked in excell 2003
You will need VBA code to do this.
Personally, i think a a "better" solution is to use Data Validation with YES/NO (or Y/N)options and then use (for example) SUMIF to calculate number "checked" i.e answer of "YES" (or "Y") =SUMIF(A2:A100,"Y") "Arfa" wrote: I would like to total the number of check boxs in a column, that have been checked. Using Excel 2003 Thanks AL |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I sum the number of check boxs, checked in excell 2003
You are right John, but he could use checkboxes and link that to cells (D1,
D2 etc.) and then just use =COUNTIF(D1:D10,TRUE) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Toppers" wrote in message ... You will need VBA code to do this. Personally, i think a a "better" solution is to use Data Validation with YES/NO (or Y/N)options and then use (for example) SUMIF to calculate number "checked" i.e answer of "YES" (or "Y") =SUMIF(A2:A100,"Y") "Arfa" wrote: I would like to total the number of check boxs in a column, that have been checked. Using Excel 2003 Thanks AL |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
เข้าใช้ Excell 2003 ไม่ได้ | Setting up and Configuration of Excel | |||
How do I restrict only 1 of 2 check boxes be checked? | Excel Discussion (Misc queries) | |||
How do I get excell to indicate when a number is out of a set ran. | Excel Worksheet Functions | |||
use check boxes in excell | Excel Worksheet Functions | |||
I need week number in excell from a date, first week must be mini. | Excel Discussion (Misc queries) |