Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Checkbox Formula
Can anyone see what the problem with this formula might be? The formula
refers to a checkbox value on another sheet (Commission Pool) and a value from even another sheet (Commission Level) all to go into the selected/current sheet (Leasing_1) =IF('Commission Pool'!CheckBox.1.value=TRUE,'Commission Level'!I18,"") -- Randy Street Rancho Cucamonga, CA |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Checkbox Formula
You can't get the value of a checkbox directly using a formula that points at
that checkbox. But checkboxes can have linked cells that will be true or false. So maybe you can go back to that checkbox on the commision pool worksheet and assign it a linked cell. Then your formula can refer to that: =if('commission pool'!a1=true,'commission level'!i18,"") where A1 on commision pool is the linked cell. Ps. The linked cell can be anyplace--even on a different sheet (that's hidden????). Randy wrote: Can anyone see what the problem with this formula might be? The formula refers to a checkbox value on another sheet (Commission Pool) and a value from even another sheet (Commission Level) all to go into the selected/current sheet (Leasing_1) =IF('Commission Pool'!CheckBox.1.value=TRUE,'Commission Level'!I18,"") -- Randy Street Rancho Cucamonga, CA -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Checkbox Formula
hi
you need to link the checkbox to a cell with the link cell property then use the linked cell in the formula. regards FSt1 "Randy" wrote: Can anyone see what the problem with this formula might be? The formula refers to a checkbox value on another sheet (Commission Pool) and a value from even another sheet (Commission Level) all to go into the selected/current sheet (Leasing_1) =IF('Commission Pool'!CheckBox.1.value=TRUE,'Commission Level'!I18,"") -- Randy Street Rancho Cucamonga, CA |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Checkbox Formula
Hi Dave and thanks for your reply. However, the checkbox I used is from the
Controls Toolbar rather than from the Forms toolbar. I need this as the worksheet this is being used on is protected as well as some of the cells. I used this method so I can unlock the workbook and cells, have them update and relock again using VB. Any ideas how I can get the formula provided to work via VB? -- Randy Street Rancho Cucamonga, CA "Dave Peterson" wrote: You can't get the value of a checkbox directly using a formula that points at that checkbox. But checkboxes can have linked cells that will be true or false. So maybe you can go back to that checkbox on the commision pool worksheet and assign it a linked cell. Then your formula can refer to that: =if('commission pool'!a1=true,'commission level'!i18,"") where A1 on commision pool is the linked cell. Ps. The linked cell can be anyplace--even on a different sheet (that's hidden????). Randy wrote: Can anyone see what the problem with this formula might be? The formula refers to a checkbox value on another sheet (Commission Pool) and a value from even another sheet (Commission Level) all to go into the selected/current sheet (Leasing_1) =IF('Commission Pool'!CheckBox.1.value=TRUE,'Commission Level'!I18,"") -- Randy Street Rancho Cucamonga, CA -- Dave Peterson . |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Checkbox Formula
Never mind...I got it! Thank you all for your assistance!
-- Randy Street Rancho Cucamonga, CA "Randy" wrote: Hi Dave and thanks for your reply. However, the checkbox I used is from the Controls Toolbar rather than from the Forms toolbar. I need this as the worksheet this is being used on is protected as well as some of the cells. I used this method so I can unlock the workbook and cells, have them update and relock again using VB. Any ideas how I can get the formula provided to work via VB? -- Randy Street Rancho Cucamonga, CA "Dave Peterson" wrote: You can't get the value of a checkbox directly using a formula that points at that checkbox. But checkboxes can have linked cells that will be true or false. So maybe you can go back to that checkbox on the commision pool worksheet and assign it a linked cell. Then your formula can refer to that: =if('commission pool'!a1=true,'commission level'!i18,"") where A1 on commision pool is the linked cell. Ps. The linked cell can be anyplace--even on a different sheet (that's hidden????). Randy wrote: Can anyone see what the problem with this formula might be? The formula refers to a checkbox value on another sheet (Commission Pool) and a value from even another sheet (Commission Level) all to go into the selected/current sheet (Leasing_1) =IF('Commission Pool'!CheckBox.1.value=TRUE,'Commission Level'!I18,"") -- Randy Street Rancho Cucamonga, CA -- Dave Peterson . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I update a date formula only if checkbox changes? | Excel Worksheet Functions | |||
checkbox for formula | Excel Discussion (Misc queries) | |||
How to have Checkbox A uncheck with checked Checkbox B | Excel Discussion (Misc queries) | |||
i want to base a formula off whether a checkbox is filled in | Excel Discussion (Misc queries) | |||
check a checkbox in a formula | Excel Worksheet Functions |