Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
multiple sheet looks up and match
Sheet1 looks like below
A B C D G Cust# Date Cust # Date Amount 1256 500 2456 1000 2566 2000 Sheet2 A B C Cust# Amount Match Function ? 1256 500 2456 1000 2566 2000 I need a formula to match Cust# & $ value of Sheet2 against Sheet1. Thanks, Dinesh |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
multiple sheet looks up and match
One way
In Sheet2, In B2, normal ENTER: =INDEX(Sheet1!E$2:E$100,MATCH(A2&"",INDEX(Sheet1!A $2:A$100&Sheet1!C$2:C$100,),0)) Copy down Any good? Hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "dinesh" wrote: Sheet1 looks like below A B C D G Cust# Date Cust # Date Amount 1256 500 2456 1000 2566 2000 Sheet2 A B C Cust# Amount Match Function ? 1256 500 2456 1000 2566 2000 I need a formula to match Cust# & $ value of Sheet2 against Sheet1. Thanks, Dinesh |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
multiple sheet looks up and match
There are two Cust# columns in Sheet1 - column A and column C. The last
column is labelled as column G (Amount) in sheet1, paste as an array formula into cell C2 of sheet2 by entering with CTRL+SHIFT+ENTER: =IFERROR(INDEX(Sheet1!$A$1:$G$100,MATCH(1,(Sheet1! $A$1:$A$100=$A2)*(Sheet1!$G$1:$G$100=$B2),0),7),IN DEX(Sheet1!$A$1:$G$100,MATCH(1,(Sheet1!$C$1:$C$100 =$A2)*(Sheet14!$G$1:$G$100=$B2),0),7)) this formula matches the customer# and matches the amount. -- If this post helps click Yes --------------- Peggy Shepard "Max" wrote: One way In Sheet2, In B2, normal ENTER: =INDEX(Sheet1!E$2:E$100,MATCH(A2&"",INDEX(Sheet1!A $2:A$100&Sheet1!C$2:C$100,),0)) Copy down Any good? Hit the YES below -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "dinesh" wrote: Sheet1 looks like below A B C D G Cust# Date Cust # Date Amount 1256 500 2456 1000 2566 2000 Sheet2 A B C Cust# Amount Match Function ? 1256 500 2456 1000 2566 2000 I need a formula to match Cust# & $ value of Sheet2 against Sheet1. Thanks, Dinesh |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
multiple sheet looks up and match
Sorry, I assumed the return "amount" col was in col E earlier
=INDEX(Sheet1!E$2:E$100 ... Just change it to point to col G instead in the earlier expression: =INDEX(Sheet1!G$2:G$100 .. It should work fine .. -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
multiple sheet looks up and match
Hi,
Confusing question - still not clear about what do you want as an output in column C of sheet 2. If you want the amount there, then you can use this formula =SUMPRODUCT((Sheet1!$A$2:$C$4=Sheet2!A2)*(Sheet1!$ G$2:$G$4=Sheet2!B2)*(Sheet1!$G$2:$G$4)) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "dinesh" wrote in message ... Sheet1 looks like below A B C D G Cust# Date Cust # Date Amount 1256 500 2456 1000 2566 2000 Sheet2 A B C Cust# Amount Match Function ? 1256 500 2456 1000 2566 2000 I need a formula to match Cust# & $ value of Sheet2 against Sheet1. Thanks, Dinesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
multiple sheet lookup or match | Excel Worksheet Functions | |||
Find a Match in Multiple Places & Return Multiple Values | Excel Worksheet Functions | |||
MATCH Multiple Criteria & Return Previous / Penultimate Match | Excel Worksheet Functions | |||
Index & Match functions - multiple criteria and multiple results | Excel Worksheet Functions | |||
Help me, compare 2 sheet and extract the match data into the new sheet. | Excel Discussion (Misc queries) |