Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Referencing a named array

I have a named array "EAP" which I am using the MATCH function to find if a
value in a cell is contained in the list.

Ex. 1
=MATCH($L19,EAP,0)

The name of the array is in cell L1. I'd like to make this formula relative
so that as I copy it to other cells, the named array will be the name in the
cell in the first row:

Ex. 2
=MATCH($L19,L1,0)

However, while the formula in the first example works, the formula is the
second does not. Is there a way I can reference an array name using the
contents of a cell?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Referencing a named array

Need to use the INDIRECT function when you want to use cell contents as part
of a reference, like so:

=MATCH($L19,INDIRECT(L1),0)
--
Best Regards,

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


"mooresk257" wrote:

I have a named array "EAP" which I am using the MATCH function to find if a
value in a cell is contained in the list.

Ex. 1
=MATCH($L19,EAP,0)

The name of the array is in cell L1. I'd like to make this formula relative
so that as I copy it to other cells, the named array will be the name in the
cell in the first row:

Ex. 2
=MATCH($L19,L1,0)

However, while the formula in the first example works, the formula is the
second does not. Is there a way I can reference an array name using the
contents of a cell?

Thanks!

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
Referencing a named range on another sheet Jan B Excel Worksheet Functions 5 April 4th 23 12:38 PM
referencing a 3D Named Range Robert H Excel Worksheet Functions 3 January 14th 08 05:46 PM
referencing named ranges in VBA Dave F Excel Discussion (Misc queries) 5 January 25th 07 06:46 PM
Referencing Named Ranges using values in a cell eggman Excel Discussion (Misc queries) 2 September 23rd 06 06:30 PM
Referencing Named Ranges ExcelRookie Excel Worksheet Functions 2 March 6th 06 12:50 PM


All times are GMT +1. The time now is 04:39 PM.

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"