ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding a value to OptionButtons (https://www.excelbanter.com/excel-programming/362685-adding-value-optionbuttons.html)

Hoobes

Adding a value to OptionButtons
 
Hi

I have problems in getting my options buttons to equal at certain
value. I need this in order to make statistics on how many has selected
one or the other option.

Can anybody help me out in this matter?

Regards

Jan


Norman Jones

Adding a value to OptionButtons
 
Hi Jan,

Try:

=COUNTIF(A2:A20,TRUE)

Where A2:A20 is the range of linked cells for the option buttons (check
boxes?).


---
Regards,
Norman


"Hoobes" wrote in message
oups.com...
Hi

I have problems in getting my options buttons to equal at certain
value. I need this in order to make statistics on how many has selected
one or the other option.

Can anybody help me out in this matter?

Regards

Jan




Ardus Petus

Adding a value to OptionButtons
 
Linked cell property of each optionbutton should be set to a definite cell
in your sheet (say A1,B1, C1)
then enter formula:
=MATCH(TRUE,A1:C1,0)

See example: http://cjoint.com/?fDmBNu5tBz

HTH
--
AP

"Hoobes" a écrit dans le message de news:
...
Hi

I have problems in getting my options buttons to equal at certain
value. I need this in order to make statistics on how many has selected
one or the other option.

Can anybody help me out in this matter?

Regards

Jan





All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com