ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I want to return a value based on the status of a check box. If . (https://www.excelbanter.com/excel-worksheet-functions/20522-i-want-return-value-based-status-check-box-if.html)

JROD

I want to return a value based on the status of a check box. If .
 
I want the return a value based on the status of a check box or radio button.
If checked = true then 1 else 0

JE McGimpsey

If you're using a checkbox from the Forms toolbar, right-click the
checkbox and choose Format Control...

In the control tab, enter a cell reference (e.g., Z1) in the Cell Link
field. That cell will return TRUE/FALSE. In your target cell, enter

=--Z1

which coerces the boolean TRUE/FALSE to 1/0.



In article ,
"JROD" wrote:

I want the return a value based on the status of a check box or radio button.
If checked = true then 1 else 0



All times are GMT +1. The time now is 07:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com