Display text based on Option Button selected

james.geren

New Member
Joined
Oct 27, 2005
Messages
12
How can I assign a cell to display a text comment based on 1 of 2 option buttons selected? If ythe other option button is selected then a different comment is displayed. I got it to work by linking to a cell outside of my print area, and then doing an iff statement to that linked cell such that "if(AA1 = 1,"Comment 1","Comment 2") but i think there is a more effective way to do this.

Also, is there any way to remove the box around an option group box?
 

Some videos you may like

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
James,

to my sense the only other way is using code
the way you proceeded looks the best to me

removing line around box is not possible to my knowledge
you can group option buttons from the controls toolbar (shift click and assign groupname within the properties) without a box

kind regards,
Erik
 

Watch MrExcel Video

Forum statistics

Threads
1,118,432
Messages
5,572,074
Members
412,437
Latest member
PietTheijssen
Top