Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default VLOOKUP and Referencing a Range in a Formula

I have a formula that I am trying to execute which looks up the code/city in
Col-A and returns the REFERENCE to the corresponding arrays that are in Cols
B-F. The reference is then used to pull the contents of the array(s) into
another formula:

Col-A Col-B Col-C Col-D Col-E Col-F
TEXT (entered as arrays)

3777Chicago 2006 2007 2008 2009
3750Boston 2006 2007 2008
3737Detroit 2007 2008 2009
3750Denver 2008 2009 2008

The formula is in "Worksheet-A", while the above data is in a worksheet
called "REF_Table". I've been trying to use the code/city data in Col-A as a
"pointer" to the fiscal years data contained in each corresponding array.
I've tried every combination of MATCH, OFFSET, INDIRECT, INDEX that I can
think of to no avail. Any suggestions?? Thanx in advance.

- GTblearch


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default VLOOKUP and Referencing a Range in a Formula

Look in HELP for the INDIRECT() function

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"GTblearch" wrote in message
...
I have a formula that I am trying to execute which looks up the code/city
in
Col-A and returns the REFERENCE to the corresponding arrays that are in
Cols
B-F. The reference is then used to pull the contents of the array(s) into
another formula:

Col-A Col-B Col-C Col-D Col-E Col-F
TEXT (entered as arrays)

3777Chicago 2006 2007 2008 2009
3750Boston 2006 2007 2008
3737Detroit 2007 2008 2009
3750Denver 2008 2009 2008

The formula is in "Worksheet-A", while the above data is in a worksheet
called "REF_Table". I've been trying to use the code/city data in Col-A
as a
"pointer" to the fiscal years data contained in each corresponding array.
I've tried every combination of MATCH, OFFSET, INDIRECT, INDEX that I can
think of to no avail. Any suggestions?? Thanx in advance.

- GTblearch



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default VLOOKUP and Referencing a Range in a Formula

Hi,
try
=sumproduct((a1=REF_Table!$A$1:$A$1000),REF_Table! b$1:b$1000)

change range to fit you needs

"GTblearch" wrote:

I have a formula that I am trying to execute which looks up the code/city in
Col-A and returns the REFERENCE to the corresponding arrays that are in Cols
B-F. The reference is then used to pull the contents of the array(s) into
another formula:

Col-A Col-B Col-C Col-D Col-E Col-F
TEXT (entered as arrays)

3777Chicago 2006 2007 2008 2009
3750Boston 2006 2007 2008
3737Detroit 2007 2008 2009
3750Denver 2008 2009 2008

The formula is in "Worksheet-A", while the above data is in a worksheet
called "REF_Table". I've been trying to use the code/city data in Col-A as a
"pointer" to the fiscal years data contained in each corresponding array.
I've tried every combination of MATCH, OFFSET, INDIRECT, INDEX that I can
think of to no avail. Any suggestions?? Thanx in advance.

- GTblearch


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
Formula for Range area within VLookup? BruceG Excel Worksheet Functions 3 July 4th 09 06:52 PM
Search formula referencing range of keywords Malvaro Excel Worksheet Functions 5 July 7th 08 03:47 PM
How do I copy a vlookup formula without changing the data range? VickyL872 Excel Worksheet Functions 2 May 27th 08 06:45 PM
Referencing a named range based upon Range name entry in cell Barb Reinhardt Excel Worksheet Functions 14 June 20th 07 07:19 PM
#VALUE! On An Array Formula Referencing a Range Outside The Workbo paige Excel Discussion (Misc queries) 5 September 9th 05 12:05 AM


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

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"