#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I update a date formula only if checkbox changes? lorianice Excel Worksheet Functions 1 August 6th 09 02:57 AM
checkbox for formula B. Excel Discussion (Misc queries) 4 December 31st 08 05:51 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
i want to base a formula off whether a checkbox is filled in Josh Excel Discussion (Misc queries) 3 February 5th 07 05:08 PM
check a checkbox in a formula big t Excel Worksheet Functions 1 June 16th 05 06:32 PM


All times are GMT +1. The time now is 06:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"