Check Boxes in formulas

mark hansen

Well-known Member
Joined
Mar 6, 2006
Messages
534
Office Version
  1. 2016
Platform
  1. Windows
I have started using check boxes more and more now and I have been using the Linked Cell in the checkbox properties. In cell formulas, I reference the linked cell as either a TRUE or FALSE to determine what I want. (Mostly if text is suppose to display or not)

This is working well, but a bit messy.

I was wondering if I can reference the checkbox directly in a formula. This would help keep my spreadsheet a bit cleaner and I wouldn't have to have the cells with True false all over the place - if it can be done.

Just wanted to make sure I wasn't overlooking something obvious.

Thanks,
Mark
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have started using check boxes more and more now and I have been using the Linked Cell in the checkbox properties. In cell formulas, I reference the linked cell as either a TRUE or FALSE to determine what I want. (Mostly if text is suppose to display or not)

This is working well, but a bit messy.

I was wondering if I can reference the checkbox directly in a formula. This would help keep my spreadsheet a bit cleaner and I wouldn't have to have the cells with True false all over the place - if it can be done.

Just wanted to make sure I wasn't overlooking something obvious.

Thanks,
Mark
No, you can't directly reference a ckbox in a formula.

You can hide all those TRUE and FALSE by using conditional formatting if you don't want to see them.
 
Upvote 0
To tidy up the screen, you could position the checkbox over the cell that it is linked to.

Alternatly, you could like all of your checkboxes to cells on a hidden worksheet.
(If you give those linked cells name like CheckBox1 CheckBox2, etc. using the names in formulas would make editing easier.)
 
Upvote 0
OK, thanks... I like the idea of putting the linked cell under the check box. I also think putting the linked cells on a separate sheet is nice too. Un hidden during development and hidden when you are done. This would help with labeling to keep things straight.

Jeffery I use something like that code a lot in certain curcumstances and it works well.

Thanks for your quick responses.

Mark
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,856
Members
452,948
Latest member
UsmanAli786

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