Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Return an array based on a lookup

I need to return an array based on a vlookup for a match statement.
sheet 1 Monday
row1 9 10 11 12 13 14 15
monday tuesday
row2 tm1 w w w w w sheet 3 start
finish start finish
sheet 2 Tuesday tm1 10
15 11 15
row1 9 10 11 12 13 14 15

....
row5 tm1 w w w w

The 10 and the 15 are returned to sheet 3 using a match(tm1,2:2,0) formula.
The problem I have is the array in the match I can only do by manually
entering it. If tm1 is on a different row in sheet 2 it doesn't work as it
returns the wrong value.
I need to return the array for the match based on a lookup that finds tm1.
so on monday it returns 2:2, but on tuesday it returns 5:5 as the array
values.
Thanx in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Return an array based on a lookup



"seanss" wrote:

I need to return an array based on a vlookup for a match statement.
sheet 1 Monday
row1 9 10 11 12 13 14 15
monday tuesday
row2 tm1 w w w w w sheet 3 start
finish start finish
sheet 2 Tuesday tm1 10
15 11 15
row1 9 10 11 12 13 14 15

...
row5 tm1 w w w w

The 10 and the 15 are returned to sheet 3 using a match("w",2:2,0) formula.
The problem I have is the array in the match I can only do by manually
entering it. If tm1 is on a different row in sheet 2 it doesn't work as it
returns the wrong value.
I need to return the array for the match based on a lookup that finds tm1.
so on monday it returns 2:2, but on tuesday it returns 5:5 as the array
values.
Thanx in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Return an array based on a lookup

Sorry match("w",2:2,0) not match(tm1,2:2,0)

"seanss" wrote:

I need to return an array based on a vlookup for a match statement.
sheet 1 Monday
row1 9 10 11 12 13 14 15
monday tuesday
row2 tm1 w w w w w sheet 3 start
finish start finish
sheet 2 Tuesday tm1 10
15 11 15
row1 9 10 11 12 13 14 15

...
row5 tm1 w w w w

The 10 and the 15 are returned to sheet 3 using a match(tm1,2:2,0) formula.
The problem I have is the array in the match I can only do by manually
entering it. If tm1 is on a different row in sheet 2 it doesn't work as it
returns the wrong value.
I need to return the array for the match based on a lookup that finds tm1.
so on monday it returns 2:2, but on tuesday it returns 5:5 as the array
values.
Thanx in advance

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
return values from an array based on matching text value WFBJoeB Excel Worksheet Functions 10 May 14th 07 07:57 PM
Lookup Value in Range/Array and Return Column Header Value [email protected] Excel Discussion (Misc queries) 3 June 16th 06 07:05 PM
Lookup Value in Range/Array and Return Column Header Value [email protected] Excel Worksheet Functions 3 June 16th 06 07:05 PM
Return a cell value based on specific combinations of cells in an array rmcnam05 Excel Worksheet Functions 2 October 11th 05 03:28 AM
return array result in cell based on comparing dates Ruthki Excel Worksheet Functions 7 June 30th 05 11:41 PM


All times are GMT +1. The time now is 10:10 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"