Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default return value in a cell if check box is checked

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default return value in a cell if check box is checked

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.

Knox wrote:

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!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default return value in a cell if check box is checked

ok, that worked! thank you!

"Dave Peterson" wrote:

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.

Knox wrote:

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!


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return value in cell above the reference Jean Excel Discussion (Misc queries) 4 May 31st 06 07:50 PM
Return entry in column above/below cell TheRobsterUK Excel Worksheet Functions 2 November 17th 05 03:34 PM
return zero from a blank cell Eric Excel Worksheet Functions 5 July 15th 05 11:23 PM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 12:57 PM.

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

About Us

"It's about Microsoft Excel"