ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I use a "check(ed) box" as a criteria in an "=if" statement (https://www.excelbanter.com/excel-worksheet-functions/41325-how-do-i-use-%22check-ed-box%22-criteria-%22%3Dif%22-statement.html)

Bill Bromback

How do I use a "check(ed) box" as a criteria in an "=if" statement
 
I am creating an "=if" statement and would like the formula to be able work
like this: =if(c22="check box", .08*6, 0). Is there a way to use the "check
box" and the "=if" formula in combination like this?

LanceB

Both the forms checkbox and the controls checkbox have a property called
"linked Cell" place a reference in this box eg A1 and then write your if
statement
if(a1,opt1,opt2)

Note: You can make the linked cell the same cell the checkbox is in and hide
the contents of the cell with custom format ;;;

Lance


"Bill Bromback" wrote:

I am creating an "=if" statement and would like the formula to be able work
like this: =if(c22="check box", .08*6, 0). Is there a way to use the "check
box" and the "=if" formula in combination like this?



All times are GMT +1. The time now is 02:30 AM.

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