A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combining MATCH & LOOKUP formulas



 
 
Thread Tools Display Modes
  #1  
Old September 11th, 2008, 06:26 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
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  
Old September 11th, 2008, 06:32 PM posted to microsoft.public.excel.worksheet.functions
Duke Carey
external usenet poster
 
Posts: 1,027
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  
Old September 11th, 2008, 06:41 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
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  
Old September 11th, 2008, 06:46 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
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  
Old September 11th, 2008, 06:58 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
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  
Old September 12th, 2008, 01:13 AM posted to microsoft.public.excel.worksheet.functions
ryguy7272
external usenet poster
 
Posts: 1,593
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



  #7  
Old September 12th, 2008, 01:55 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
Default Combining MATCH & LOOKUP formulas

Can you guys tell me if there is a way to alter this formula to get MTD
instead of yesterday?

"ryguy7272" wrote:

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



  #8  
Old September 15th, 2008, 08:04 PM posted to microsoft.public.excel.worksheet.functions
Txlonghorn76
external usenet poster
 
Posts: 35
Default Combining MATCH & LOOKUP formulas

Can you tell me if there is a way to add to this formula by asking it to look
at the date and return a sum of that month?

"Txlonghorn76" wrote:

Can you guys tell me if there is a way to alter this formula to get MTD
instead of yesterday?

"ryguy7272" wrote:

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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:31 PM.


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