Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Damian
 
Posts: n/a
Default How do I lookup two cells and return a third.

I have data in this format:

Sheet #1
Name Year Amount
Joe 2000 100
Joe 2005 200
Sam 2003 65

And want to return Amount in another worksheet.

Sheet#2
2000 2003 2005
Joe
Sam

How do I do the lookup or match to get the data for Joe for 2000 and 2005 in
the proper cells of Worksheet#2
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

This is an array formula - commit it with Ctrl+Shift+Enter

=INDEX(C1:C3,MATCH("Joe"&"2005",A1:A3&B1:B3,0))

where the names are in column A, the years are in column B and the values
are in column C


"Damian" wrote:

I have data in this format:

Sheet #1
Name Year Amount
Joe 2000 100
Joe 2005 200
Sam 2003 65

And want to return Amount in another worksheet.

Sheet#2
2000 2003 2005
Joe
Sam

How do I do the lookup or match to get the data for Joe for 2000 and 2005 in
the proper cells of Worksheet#2

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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
EXCEL FORMULA RETURN X IF VALUE IN 4 CELLS HAS VALUE RERAA Excel Worksheet Functions 3 August 10th 05 10:12 PM
lookup and return range of cells ark Excel Worksheet Functions 3 August 6th 05 05:18 PM
Return data from multiple cells Redleg40 Excel Worksheet Functions 1 July 19th 05 03:40 PM
Return number of cells filled LMB New Users to Excel 3 April 29th 05 02:55 AM


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