Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RS RS is offline
external usenet poster
 
Posts: 113
Default referencing a control within formula

i'm trying to reference a control value from a formula and it's not
recognizing name.

I have a group of option buttons names OB1, OB2, OB3. In a cell, I would
like to have the an if formula at says IF(OB1=true, C11*1,
if(OB2=true,C11*1.5, if(OB3) = true, C11*2,) .

Basically using a different calculation depending on the option selected.
I've tried using the name OB1, i've tried with brackets [OB1] and i've tried
with braces {OB1} but i continue to get formula errors as if it doesn't
recognize the control name
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default referencing a control within formula

=IF(OB1=TRUE,C11,IF(OB2=TRUE,C11*1.5,IF(OB3=TRUE,C 11*2,"")))


"RS" wrote:

i'm trying to reference a control value from a formula and it's not
recognizing name.

I have a group of option buttons names OB1, OB2, OB3. In a cell, I would
like to have the an if formula at says IF(OB1=true, C11*1,
if(OB2=true,C11*1.5, if(OB3) = true, C11*2,) .

Basically using a different calculation depending on the option selected.
I've tried using the name OB1, i've tried with brackets [OB1] and i've tried
with braces {OB1} but i continue to get formula errors as if it doesn't
recognize the control name

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RS RS is offline
external usenet poster
 
Posts: 113
Default referencing a control within formula

I understand that my typing of the syntax was slightly off, however, the
issue is not with the syntax, it's with recognizing OB1 as a control. I get
an error about #Name.

Basically it doesn't know that OB1 is a control. I can't even uss
=if(OB1=true,1,2)


"Teethless mama" wrote:

=IF(OB1=TRUE,C11,IF(OB2=TRUE,C11*1.5,IF(OB3=TRUE,C 11*2,"")))


"RS" wrote:

i'm trying to reference a control value from a formula and it's not
recognizing name.

I have a group of option buttons names OB1, OB2, OB3. In a cell, I would
like to have the an if formula at says IF(OB1=true, C11*1,
if(OB2=true,C11*1.5, if(OB3) = true, C11*2,) .

Basically using a different calculation depending on the option selected.
I've tried using the name OB1, i've tried with brackets [OB1] and i've tried
with braces {OB1} but i continue to get formula errors as if it doesn't
recognize the control name

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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Referencing Other Files - Formula Pattern? shakey1181 Excel Discussion (Misc queries) 4 May 12th 06 04:22 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula referencing another workbook Steve D Excel Worksheet Functions 2 January 7th 05 09:43 PM


All times are GMT +1. The time now is 10:06 AM.

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"