Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default ComboBox for a range of cells

Anyone,

I have a list of 25 swimming events and a list of 60 swimmers who will each
swim in four different events. To make life easier I have created a combo
box (which to me is already a feat).

The data is in column A, rows 2-20. Ive placed box itself in the B column.
It is one row high but when I click on the box, it shows me all the events
(which is preferable to a drop-down box).

The input box is A2:A20.
The cell link is D2:d20.

When I click on the combo box it will put the entry into D2. However, if I
go to D3 and click on the combo box and change my choice, it changes in D2
but remains blank in D3.

If I copy the combo box and place it the next line down and choose an
option, then the first line changes to what Ive selected for D3 -- unless I
manually change the cell link to start at D3. Then it works fine.

The catch is that I would have to repeat this process 240 times (60 racers
times four events). Is there a way to automate this or alternatively, is
there a better way to get what I want done?

Thank you.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default ComboBox for a range of cells

As you've found out, combo boxes only link to a single cell. However, I would
recommend using Data validation. You could apply it to all your different
cells in one giant swoop. In your example:
Select cells D2:D20. Data - Validation, List
=$A$1:$A$20

If you *really* feel like getting fancy, check out some of Debra's articles
on dynamic validation:
http://www.contextures.com/xlDataVal03.html
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Malka" wrote:

Anyone,

I have a list of 25 swimming events and a list of 60 swimmers who will each
swim in four different events. To make life easier I have created a combo
box (which to me is already a feat).

The data is in column A, rows 2-20. Ive placed box itself in the B column.
It is one row high but when I click on the box, it shows me all the events
(which is preferable to a drop-down box).

The input box is A2:A20.
The cell link is D2:d20.

When I click on the combo box it will put the entry into D2. However, if I
go to D3 and click on the combo box and change my choice, it changes in D2
but remains blank in D3.

If I copy the combo box and place it the next line down and choose an
option, then the first line changes to what Ive selected for D3 -- unless I
manually change the cell link to start at D3. Then it works fine.

The catch is that I would have to repeat this process 240 times (60 racers
times four events). Is there a way to automate this or alternatively, is
there a better way to get what I want done?

Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default ComboBox for a range of cells

Thanks for responding so quickly, Luke. I can do the validation list;
however it limits me to eight lines. Thanks to your link, though, I found
instructions on how to create a combobox with data validation list. Haven't
got it to work yet but I'm trying.

"Luke M" wrote:

As you've found out, combo boxes only link to a single cell. However, I would
recommend using Data validation. You could apply it to all your different
cells in one giant swoop. In your example:
Select cells D2:D20. Data - Validation, List
=$A$1:$A$20

If you *really* feel like getting fancy, check out some of Debra's articles
on dynamic validation:
http://www.contextures.com/xlDataVal03.html
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Malka" wrote:

Anyone,

I have a list of 25 swimming events and a list of 60 swimmers who will each
swim in four different events. To make life easier I have created a combo
box (which to me is already a feat).

The data is in column A, rows 2-20. Ive placed box itself in the B column.
It is one row high but when I click on the box, it shows me all the events
(which is preferable to a drop-down box).

The input box is A2:A20.
The cell link is D2:d20.

When I click on the combo box it will put the entry into D2. However, if I
go to D3 and click on the combo box and change my choice, it changes in D2
but remains blank in D3.

If I copy the combo box and place it the next line down and choose an
option, then the first line changes to what Ive selected for D3 -- unless I
manually change the cell link to start at D3. Then it works fine.

The catch is that I would have to repeat this process 240 times (60 racers
times four events). Is there a way to automate this or alternatively, is
there a better way to get what I want done?

Thank you.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ComboBox AddItem code to reference cells in a Range HBC_MT Excel Discussion (Misc queries) 0 February 26th 09 04:05 PM
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
How do I copy a combobox to many cells with relative reference? Levc Excel Discussion (Misc queries) 1 November 21st 07 06:58 PM
Macro that Finds the First Value in a range using a Combobox (drop down menu) [email protected] Excel Worksheet Functions 2 July 12th 07 07:50 PM
How Do I Load a ComboBox From a Dynamic Range cincode5 Excel Discussion (Misc queries) 1 August 25th 06 07:37 PM


All times are GMT +1. The time now is 06:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"