option buttons and array functions

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

option buttons and array functions

Post by BittenApple »

Hello team,

Can we use option buttons to insert two different array functions on one set of data(table)?

Regards,
bittenapple

User avatar
HansV
Administrator
Posts: 78447
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: option buttons and array functions

Post by HansV »

If you add two option buttons from Form Controls to the sheet, and assign a Cell link to them in the Control tab of the Format Control dialog, the value of the linked cell will be 1 when the first option button is selected, and 2 when the second option button is selected.
You can use the value of the linked cell in a formula:

=IF(A1=1, thisformula, thatformula)

S0697.png
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: option buttons and array functions

Post by BittenApple »

Hello Hans,
I am grateful to your response.

I wonder if I can use the value of cell links to create two dropdowns based on the option values in cell links.

Regards,
Bittenapple

User avatar
HansV
Administrator
Posts: 78447
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: option buttons and array functions

Post by HansV »

You can use the value associated with an option button the same way you can use the value of a drop-down.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: option buttons and array functions

Post by BittenApple »

Hello Hans,
Can I use the value of option button to create dropdowns?
Respectfully,
Bitten

User avatar
HansV
Administrator
Posts: 78447
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: option buttons and array functions

Post by HansV »

I'm afraid I don't understand that question,
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: option buttons and array functions

Post by BittenApple »

Hello Hans,
Let me work with my data, then probably I will be able to articulate it more precisely.
Respectfully,
tiba