ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I set up a formula with a check box? (https://www.excelbanter.com/excel-discussion-misc-queries/10430-how-do-i-set-up-formula-check-box.html)

Russell-stanely

How do I set up a formula with a check box?
 
I want to set up a formula on a worksheet using a check box. I want the
formula to return a Value of "Pass" if the checkbox in the cell is checked,
otherwise, I want the formula to return a value of "Fail" if it is not
checked.

Bernard Liengme

An actual checkmark is a pain to use - involves changing font.
If an X will do, here is a formula: =IF(A1="X","Pass", "Fail")
Excel is not case-sensitive so X or x will trigger Pass
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Russell-stanely" wrote in
message ...
I want to set up a formula on a worksheet using a check box. I want the
formula to return a Value of "Pass" if the checkbox in the cell is
checked,
otherwise, I want the formula to return a value of "Fail" if it is not
checked.




Gregg Riemer

Click on Tools-Customize and then check Forms to open the Forms Toolbar.
Click on the check box icon on the Forms Toolbar and then click on the
spreadsheet where you want the check box to appear.
Right click on the check box and then click Format Control. On the Control
tab, enter a cell address where it says Cell Link. This cell address you
entered will then show TRUE if the check box is checked or FALSE if the check
box is not checked.


"Russell-stanely" wrote:

I want to set up a formula on a worksheet using a check box. I want the
formula to return a Value of "Pass" if the checkbox in the cell is checked,
otherwise, I want the formula to return a value of "Fail" if it is not
checked.



All times are GMT +1. The time now is 12:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com