View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pshepard[_2_] pshepard[_2_] is offline
external usenet poster
 
Posts: 55
Default 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