A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

In Excel, how to count a list of check boxes some are checked?



 
 
Thread Tools Display Modes
  #1  
Old January 25th, 2006, 09:01 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

I have a list of names/accounts, in front of each there's a check-box which
tells if the account was completed or not (checked or cleared - false or
true). How can I count the total of checked and/or unchecked check boxes?
Thank you
  #2  
Old January 25th, 2006, 09:54 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

Link the checkboxes to cells, and then just sum those values.

If it is Forms checkboxes set a value of TRUE or FALSE, control toolbox
checkboxes set a value of 1 or 0.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" M. wrote in message
...
I have a list of names/accounts, in front of each there's a check-box

which
tells if the account was completed or not (checked or cleared - false or
true). How can I count the total of checked and/or unchecked check boxes?
Thank you



  #3  
Old January 25th, 2006, 10:15 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

Thanks for answering, I had to put many check-boxes in the same sheet, so I
just copied and pasted the first one I created, so they're all linked to the
same cell, that's actually the issue I'm having, to link each check box to a
different cell..."
Thanks a lot

"Bob Phillips" wrote:

Link the checkboxes to cells, and then just sum those values.

If it is Forms checkboxes set a value of TRUE or FALSE, control toolbox
checkboxes set a value of 1 or 0.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" M. wrote in message
...
I have a list of names/accounts, in front of each there's a check-box

which
tells if the account was completed or not (checked or cleared - false or
true). How can I count the total of checked and/or unchecked check boxes?
Thank you




  #4  
Old January 26th, 2006, 02:17 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

Control toolbox

"Bob Phillips" wrote:

What sort of checkboxes, forms or control toolbox?


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" wrote in message
...
Thanks for answering, I had to put many check-boxes in the same sheet, so

I
just copied and pasted the first one I created, so they're all linked to

the
same cell, that's actually the issue I'm having, to link each check box to

a
different cell..."
Thanks a lot

"Bob Phillips" wrote:

Link the checkboxes to cells, and then just sum those values.

If it is Forms checkboxes set a value of TRUE or FALSE, control toolbox
checkboxes set a value of 1 or 0.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" M. wrote in message
...
I have a list of names/accounts, in front of each there's a check-box
which
tells if the account was completed or not (checked or cleared - false

or
true). How can I count the total of checked and/or unchecked check

boxes?
Thank you






  #5  
Old January 26th, 2006, 09:00 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

This code will link all your CBs to cells in column M

Sub LinkCBs()
Dim i As Long
Dim obj As OLEObject

With ActiveSheet
For Each obj In .OLEObjects
If TypeName(obj.Object) = "CheckBox" Then
i = i + 1
obj.LinkedCell = "M" & i
End If
Next obj
End With
End Sub

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" wrote in message
...
Control toolbox

"Bob Phillips" wrote:

What sort of checkboxes, forms or control toolbox?


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" wrote in message
...
Thanks for answering, I had to put many check-boxes in the same sheet,

so
I
just copied and pasted the first one I created, so they're all linked

to
the
same cell, that's actually the issue I'm having, to link each check

box to
a
different cell..."
Thanks a lot

"Bob Phillips" wrote:

Link the checkboxes to cells, and then just sum those values.

If it is Forms checkboxes set a value of TRUE or FALSE, control

toolbox
checkboxes set a value of 1 or 0.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" M. wrote in message
...
I have a list of names/accounts, in front of each there's a

check-box
which
tells if the account was completed or not (checked or cleared -

false
or
true). How can I count the total of checked and/or unchecked check

boxes?
Thank you








  #6  
Old January 26th, 2006, 09:52 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default In Excel, how to count a list of check boxes some are checked?

Hi Bob; thanks a lot it's working, now I can count how many false and how
many true for my checkboxes, I just didn't include the first line in my new
sub_code:"Sub LinkCBs()" now it works..thanks again

"Bob Phillips" wrote:

This code will link all your CBs to cells in column M

Sub LinkCBs()
Dim i As Long
Dim obj As OLEObject

With ActiveSheet
For Each obj In .OLEObjects
If TypeName(obj.Object) = "CheckBox" Then
i = i + 1
obj.LinkedCell = "M" & i
End If
Next obj
End With
End Sub

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" wrote in message
...
Control toolbox

"Bob Phillips" wrote:

What sort of checkboxes, forms or control toolbox?


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" wrote in message
...
Thanks for answering, I had to put many check-boxes in the same sheet,

so
I
just copied and pasted the first one I created, so they're all linked

to
the
same cell, that's actually the issue I'm having, to link each check

box to
a
different cell..."
Thanks a lot

"Bob Phillips" wrote:

Link the checkboxes to cells, and then just sum those values.

If it is Forms checkboxes set a value of TRUE or FALSE, control

toolbox
checkboxes set a value of 1 or 0.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"M. Zak" M. wrote in message
...
I have a list of names/accounts, in front of each there's a

check-box
which
tells if the account was completed or not (checked or cleared -

false
or
true). How can I count the total of checked and/or unchecked check
boxes?
Thank you









  #7  
Old September 11th, 2006, 12:32 PM posted to microsoft.public.excel.worksheet.functions
Ashwini
external usenet poster
 
Posts: 24
Default In Excel, how to count a list of check boxes some are checked?

how about using countif

Ashwini

"M. Zak" wrote:

I have a list of names/accounts, in front of each there's a check-box which
tells if the account was completed or not (checked or cleared - false or
true). How can I count the total of checked and/or unchecked check boxes?
Thank you

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check boxes and drop down list? RN Page Layout 0 November 3rd, 2005 09:31 PM
How do I restrict only 1 of 2 check boxes be checked? Board General Discussion 3 May 17th, 2005 06:47 PM
Windows in Taskbar Chevy General Discussion 8 October 15th, 2004 03:57 PM
formula to count checked boxes in a table. emmy128 General Discussion 3 September 14th, 2004 10:10 PM
synchronizing form and list box Deb Smith Using Forms 8 June 21st, 2004 08:15 PM


All times are GMT +1. The time now is 05:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.