Using checkbox states in a formula

mplees

Active Member
Joined
Feb 6, 2006
Messages
351
Hi,

could anyone tell me whether the value of a checkbox can be used in a formula (in a cell, not in VBA)?

I originally had a formula that was:

=IF(AND(A1=1,B1<C1),"LOW","OK")

....but now I have to use a checkbox to evaluate instead of the cell value.

=IF(AND(Checkbox1=TRUE,B1<C1),"LOW","OK") obviously doesn't work

Is this possible, or would I have to do this using VBA - or is there an alternative approach? I have over 300 rows that have to be evaluated this way, so I'd prefer a formula based approach, if it can be done.

As always, thanks for the assistance - it is most appreciated!

Regards,

Mark
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi,

Try using check box from the Forms menu. You can link these to a cell (right click checkbox -> Control -> Cell Link).

This will output TRUE or FALSE.

Regards,
Jon
 
Upvote 0

Forum statistics

Threads
1,214,894
Messages
6,122,124
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top