Forum Discussion
TRUE checkbox value auto-populates adjacent cell from another Sheet tab
I assume that you have created a checkbox from the Form Controls.
Link the checkbox to a cell on Sheet2, for example A1 itself (if you assign a fill color to the checkbox, you won't see the value through it).
You can then use the following formula in B1:
=IF(A1,Sheet1!A1,"")
- jegarnerOct 07, 2020Copper Contributor
Thanks Hans, it worked as you suggested.
Is there also a way to change the formula so that if the checkbox is not checked, it displays a '0'?
- jegarnerOct 07, 2020Copper Contributor
I figured it out by changing the formula to this: =IF(A1,Sheet1!A1,"0")
However, when I now try to change the background color with conditional formatting equal to '0', it doesn't work. Not sure why.....
- jegarnerOct 07, 2020Copper Contributor
I figured it out. I had to change the conditional formatting to text for the 0 and it worked.
Thanks again for your help with this Hans.