LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup question

One way is to use a multi-criteria index/match, array-entered

In Sheet2,
Paste this into C1's formula bar,
then press CTRL+SHIFT+ENTER to array-enter the formula:
=INDEX(Sheet1!C$1:C$9,MATCH(1,(Sheet1!A$1:A$9=A1)* (Sheet1!B$1:B$9=B1),0))
Copy C1 down. Adapt the ranges to suit the actual extents of your data.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,500 Files:358 Subscribers:55
xdemechanik
---
"Lorderon" wrote:
I have 2 worksheets "Sheet1" and "Sheet2"
"Sheet1" contains my raw data which is:
Col A Col B Col C
Dog 1 Adata
Cat 2 Bdata
Bird 3 Cdata
Dog 4 Ddata
Cat 5 Edata
Bird 6 Fdata
Dog 7 Gdata
Cat 8 Hdata
Bird 9 Idata


"Sheet2" contains my work data and I need to fill in Col C on this worksheet:
Col A Col B Col C
Dog 4 Ddata
Cat 5 Edata
Bird 6 ???
Dog 1 ???
Cat 8 ???
Bird 3 ???
Dog 7 ???
Cat 8 ???
Bird 6 ???


So, how to get the correct result (that is fill-in the "???" items)? I
already fill-in the first 2 items (expected result) on Col C, meaning it
needs to find the data
in Sheet1 that matches Col A and Col B on Sheet2, then copy the result in Col
C on Sheet2.

How? Pls help. Thanks!

 
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
Question regarding lookup Susan Excel Discussion (Misc queries) 3 July 15th 08 03:02 PM
Lookup or If, then Question Stephanie Excel Discussion (Misc queries) 1 June 24th 08 12:10 AM
Yet another lookup question diaare Excel Worksheet Functions 2 May 11th 07 10:20 PM
LOOKUP Question shakey1181 Excel Discussion (Misc queries) 4 May 31st 06 01:59 PM
LOOKUP question Bob S Excel Worksheet Functions 1 January 12th 06 01:23 PM


All times are GMT +1. The time now is 08:31 AM.

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"