I want to return a value based on the status of a check box. If .

G

Guest

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

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.
 

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