Excel CheckBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a checkbox in A1.
If the checkbox is checked, I want B1 to appear as 1 and if not, 2. I
cannot get my if function to work. The worksheet recongnizes A1 as an empty
cell. I tried checkbox1>"1", and got a name error message. Help.
 
You need to link the check box to a cell and it will return either TRUE or
FALSE so if it is linked to H1 you can use this in B1


=IF(H1,1,2)


You could link it to a cell that is not visible (like IV1) or hide the
column where the linked cell is
if you don't like to see TRUE or FALSE
 
Back
Top