Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default =INDEX(on Range Name,match1,match2)


Hi,

I have a Match and Index setup in cell a1 that works fine when it's
referring to one rangename that I enter as the first argument [the "array"
argument].

The objective is that the first argument of this INDEX function needs to
refer to multiple range names.

So I set up a Data Validation drop-down in cell B1 that represents each of
the dozen or so range names the function needs to refer to.

But it's returning a #ref#. ** Disregard the Match arguments in the
following example ..
cell a1: =Index(b1,match1,match1)
cell b1: A drop-down of range names ie "route1" / "route2" / "route3" / etc.

It returns a #ref# , #value#, or #name# error depening on how I attempt to
fix the problem, ie =Index(text(b1,"text"), match1, match2).

Does anyone know how to get the Index function to accept whatever's in the
drop-down?

Thanx in advance,
- Mike





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default =INDEX(on Range Name,match1,match2)

Hi Mike,

Look in Excel Help for the INDIRECT worksheet function. This should
be what you need in referencing the range.

Best Regards,
Walt Weber

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default =INDEX(on Range Name,match1,match2)


Walt,

You're right, that did it.
[Duh on me!].
Thanx.
- Mike

"Walt" wrote:

Hi Mike,

Look in Excel Help for the INDIRECT worksheet function. This should
be what you need in referencing the range.

Best Regards,
Walt Weber


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
Dynamic Range Within INDEX BugOnPoint Excel Discussion (Misc queries) 3 July 3rd 09 10:42 PM
Index with 0 values in range Tang Excel Worksheet Functions 2 November 12th 08 09:07 AM
INDEX using range BJ Excel Worksheet Functions 2 July 25th 08 10:43 PM
Index by Range BC Excel Worksheet Functions 4 June 29th 06 12:39 AM
Use Index to get range Adella Excel Worksheet Functions 4 November 17th 05 05:56 PM


All times are GMT +1. The time now is 11:35 PM.

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

About Us

"It's about Microsoft Excel"