return value in a cell if check box is checked

G

Guest

Is there a simple way to return a value of "1" in a cell if a check box is
checked and "0" if it is not? thank you!
 
D

Dave Peterson

You could use a linked cell that will return true/false. Then use a formula
that refers to that linked cell:

=--A1
(where A1 is that linked cell)

But maybe you could just use that linked cell and do what you want with
true/false.

=countif(a1:a10,true)
could be used to count the number of checkboxes (that are linked to A1:A10) that
are checked.
 
G

Guest

ok, that worked! thank you!

Dave Peterson said:
You could use a linked cell that will return true/false. Then use a formula
that refers to that linked cell:

=--A1
(where A1 is that linked cell)

But maybe you could just use that linked cell and do what you want with
true/false.

=countif(a1:a10,true)
could be used to count the number of checkboxes (that are linked to A1:A10) that
are checked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top