A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Index using a defined name array



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2010, 03:53 AM posted to microsoft.public.excel.worksheet.functions
Swimmer1500m
external usenet poster
 
Posts: 1
Default Index using a defined name array


I have defined 3 arrays using DefineNames:
Boys_11_12
Boys_13_14
Boys_15_16

I then have defined a Combo dropdown with the following choices:
Boys_11_12
Boys_13_14
Boys_15_16

When the user selects the Boys age group using the Combo dropdown, I
then use the selection in an Index function:
Index(Boys_(one of the three),...)

I get an error when using the Combo dropdown, but it works fine when I
type in the array name directly into the Index function. Its as if it
knows the array when typed in, but not using the Combo dropdown. I
created the Combo dropdown by typing in the array names into cells as
text, then using properties select where the dorpdown text is.




--
Swimmer1500m
  #2  
Old April 27th, 2010, 09:21 AM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default Index using a defined name array

Try

=INDEX(INDIRECT(G1),...)

where G1 holds the selected value in my case

--

HTH

Bob

"Swimmer1500m" wrote in message
...

I have defined 3 arrays using DefineNames:
Boys_11_12
Boys_13_14
Boys_15_16

I then have defined a Combo dropdown with the following choices:
Boys_11_12
Boys_13_14
Boys_15_16

When the user selects the Boys age group using the Combo dropdown, I
then use the selection in an Index function:
Index(Boys_(one of the three),...)

I get an error when using the Combo dropdown, but it works fine when I
type in the array name directly into the Index function. Its as if it
knows the array when typed in, but not using the Combo dropdown. I
created the Combo dropdown by typing in the array names into cells as
text, then using properties select where the dorpdown text is.




--
Swimmer1500m



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.