Referring to Option Button in If then statement

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I'm sure this is a very basic question, but I can't seem to find the answer
in Excel Help. How to I reference an option button in an if then formula?

Any help would be appreciated.

Mike
 
You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.
 
Dave Peterson said:
You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.
 
It worked!

Thanks Dave.

Dave Peterson said:
You can link the optionbutton to a cell and then use that cell in your formula.

If the optionbutton is from the Forms toolbar:
rightclick on it
choose Format Control|Control Tab
and type in an address into that Cell link box.

If the optionbutton is from the Control toolbox toolbar, then go into design
mode (also on that same toolbar).

Then rightclick on it and choose properties and change the LinkedCell property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF and THEN statements 5
Using an If statement 3
delete option buttons 2
Using IF statement in a VLOOKUP 2
If statement with dates 0
formula for double If statements 4
Gouping for Option Buttons 9
IF Statement 1

Back
Top