Double lookup formula

  • Thread starter Thread starter Frank Kabel
  • Start date Start date
F

Frank Kabel

Hi
enter the following array formula (entered with
CTRL+SHIFT+eNTER) in cell B2 on your first sheet:
=INDEX('sheet2'!$C$1:$C$100,MATCH(1,('sheet2'!
$A$1:$A$100=B$1)*('sheet2'!$B$1:$B$100=$A2),0))

and copy this down / to the right
 
Hi Tarzan,

If there are more than one rows with the same valve # and same date, do
you want the quantities to be summed up as well ?

If so,use something like

=SUMPRODUCT((Sheet2!B2:B100=Sheet1!A2)*(Sheet2!A2:A100=Sheet1!B1)*(Sheet2!C2:C100))

Change references accordingly.

Regards

Govind.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top