Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Independent Radio Buttons.

Independent Radio Buttons

by Allen Wyatt
(last updated February 5, 2015)

4

Larry is using Excel to put together a way to track his performance at bowling. As part of his system, he would like to use the Controls toolbox to add radio buttons (sometimes called option buttons) to his worksheet, one for each of the ten pins. He would like a way to click on the radio buttons representing the pins he left standing after the first roll of the ball.

The problem is that radio buttons are not designed to allow multiple selections. When there are multiple radio buttons in a group, only one of the radio buttons in that group can be selected at a time. (This would be acceptable if Larry never left more than one pin standing after each roll, but such an expectation may be unreasonable.)

There are two options that can be tried. The easiest is to use check boxes instead of radio buttons. By design, check boxes are independent of each other; you can click one or all of them—it doesn't matter. You can easily arrange the check boxes in a triangular pattern to simulate the position of the bowling pins.

The drawback to this approach is that the check boxes are square. If this aesthetic does not meet your expectations, then the second approach might better. This approach involves putting each radio button into its own group.

Remember that only one radio button per group can be selected at a time. When you add radio buttons to a worksheet, they default to the same group, the name of which matches the worksheet name. As you add each radio button you could right-click on it and display its properties. One of the properties is GroupName; change this to something like Pin1, Pin2, etc. As long as each radio button uses a different group name, they will be considered independent of each other.

There is an advantage to using check boxes instead of radio buttons—a huge advantage. Check boxes can be selected and then deselected; radio buttons cannot. Thus, you can click once on a check box to select it and a second time to deselect it. If you try this with radio buttons, it won't work—once a radio button is selected, it is selected for good. This isn't that big of a deal if you have multiple radio buttons in the same group—if you make a mistake in clicking one, just click on another to undo it. If you configure the properties so there is one radio button per group, then you can only select that single radio button in each group; you cannot undo it.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3076) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Independent Radio Buttons.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Converting List Types

There are two types of common lists you can create in Word: bulleted lists and numbered lists. You can switch between the ...

Discover More

Adding Ordinal Notation to Dates

Want to add an ordinal suffix to a number, as in 2nd, 3rd, or 4th? Excel doesn't provide a way to do it automatically, but ...

Discover More

Returning Least-Significant Digits

Do you ever have a need to return just a few digits out of a number? This tip shows different formulas you can use to return ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

MORE EXCELTIPS (MENU)

Forcing a Worksheet to be Protected Again

Excel allows you to protect your worksheets so they can only be changed as you want to have happen. If you unprotect a ...

Discover More

Viewing Same Cells on Different Worksheets

When switching from one worksheet to another, you might want to view the same portion of the new worksheet that you were ...

Discover More

Combining Worksheets from Many Workbooks

Do you need to pull a particular worksheet out of a group of workbooks and combine those worksheets into a different ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 7?

2015-08-25 16:13:00

Ced

Thanks for the tip. Totally worked and straight to the point - Changing Group Name in properties.


2012-08-15 17:40:22

Richard C

How about inserting groups of 2 radio buttons instead of only 1. The PIN buttons can be arranged as they are placed on the bowling lane and the RESET buttons can be placed in a row above the pins. Default selection would be the RESET radios. Then for each roll of the bowling ball, select the PIN radio buttons left standing (which will make the corresponding RESET radio clear). To reset the PINs, just reselect the corresponding RESET buttons.


2012-07-28 23:50:07

robert williamson

You can use the image for a radio button for check boxes! I.e. you can use round images for you pins even though they are check boxes so you can have the computational capability that makes sense without sacraficing the visual image that's appropriate.


2012-07-28 19:20:39

Marty W

Another way to do exactly what you want is to assign a macro to a graphic of the character of the radio buttons that changes the image. When you click on the button image displayed,the macro switches the display to the opposite image. e.g. You show an open button (Wingdings character 0xA1), clicking on it initiates a macro to swap the image with that of character 0xA4; and vice-versa.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing
Share