Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Combining MATCH & LOOKUP formulas

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Combining MATCH & LOOKUP formulas

"Dates" is the range of dates
"Names" is the range of names
"Tbl" is all the other data under Names and to the right of Dates
"Thisday" is the cell with today's date
"Tgt" is the name to find

=index(tbl,match(Thisday-1,Dates,0),match(Tgt,Names,0))

"Txlonghorn76" wrote:

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Combining MATCH & LOOKUP formulas

I am getting a #NAME? error.

"Duke Carey" wrote:

"Dates" is the range of dates
"Names" is the range of names
"Tbl" is all the other data under Names and to the right of Dates
"Thisday" is the cell with today's date
"Tgt" is the name to find

=index(tbl,match(Thisday-1,Dates,0),match(Tgt,Names,0))

"Txlonghorn76" wrote:

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Combining MATCH & LOOKUP formulas

Here is the formula:
=INDEX(Sheet1!B2:F9,MATCH(A1,Sheet1!B3:B9,0),MATCH ("AAA",Sheet1!C2:F2,0))

I am getting 09/09/2008 in the cell.



"Txlonghorn76" wrote:

I am getting a #NAME? error.

"Duke Carey" wrote:

"Dates" is the range of dates
"Names" is the range of names
"Tbl" is all the other data under Names and to the right of Dates
"Thisday" is the cell with today's date
"Tgt" is the name to find

=index(tbl,match(Thisday-1,Dates,0),match(Tgt,Names,0))

"Txlonghorn76" wrote:

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default Combining MATCH & LOOKUP formulas

Duke,

It worked! Thanks!

"Txlonghorn76" wrote:

Here is the formula:
=INDEX(Sheet1!B2:F9,MATCH(A1,Sheet1!B3:B9,0),MATCH ("AAA",Sheet1!C2:F2,0))

I am getting 09/09/2008 in the cell.



"Txlonghorn76" wrote:

I am getting a #NAME? error.

"Duke Carey" wrote:

"Dates" is the range of dates
"Names" is the range of names
"Tbl" is all the other data under Names and to the right of Dates
"Thisday" is the cell with today's date
"Tgt" is the name to find

=index(tbl,match(Thisday-1,Dates,0),match(Tgt,Names,0))

"Txlonghorn76" wrote:

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Combining MATCH & LOOKUP formulas

This is a great resource; definitely worth a look:
http://www.contextures.com/xlFunctions03.html


Regards,
Ryan---

--
RyGuy


"Txlonghorn76" wrote:

Duke,

It worked! Thanks!

"Txlonghorn76" wrote:

Here is the formula:
=INDEX(Sheet1!B2:F9,MATCH(A1,Sheet1!B3:B9,0),MATCH ("AAA",Sheet1!C2:F2,0))

I am getting 09/09/2008 in the cell.



"Txlonghorn76" wrote:

I am getting a #NAME? error.

"Duke Carey" wrote:

"Dates" is the range of dates
"Names" is the range of names
"Tbl" is all the other data under Names and to the right of Dates
"Thisday" is the cell with today's date
"Tgt" is the name to find

=index(tbl,match(Thisday-1,Dates,0),match(Tgt,Names,0))

"Txlonghorn76" wrote:

I am trying to find a formula that matches the "Names" from my summary sheet
to a separate worksheet and if the names match, bring back the most recent
date for that person.

Summary sheet(requires formula):

09/10/2008
Name Yesterday's numbers
AAA
BBB
CCC
DDD

Table to pull data from:

AAA BBB CCC DDD
09/08/2008 26 27 28 29
09/09/2008 30 31 32 33
09/10/2008 34 35 36 37
09/11/2008 38 39 40 41
09/12/2008 42 43 44 45
09/13/2008 46 47 48 49
09/14/2008 50 51 52 53



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
combining LOOKUP and IF functions ntnnj26 Excel Worksheet Functions 6 March 3rd 07 12:20 PM
Combining LOOKUP and COUNTIF functions kate_suzanne Excel Worksheet Functions 2 August 22nd 06 06:59 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Combining formulas Krista Excel Discussion (Misc queries) 11 June 27th 06 03:13 AM
Combining data from worksheets - lookup? Connie Excel Discussion (Misc queries) 3 August 18th 05 07:46 PM


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