Vlookup by rows and columns

P

puukoi

Hi All
I have workbook (Products) with sheets(January, Febr,March.........)
In row 1 I have date(C1=1,D1=2......)
In column A I have Part numbers.(part1, part2, part3,....)
In another workbook(Reports) I have sheets by weekly. I like to create
formula to find data from "Products". How many produced part1 on the
03. march or part2 on the 01. june ...
Part numbers on the columnA and date on the row20. I hope that not very
absurd question.
 
V

vezerid

Hi,

assuming that in workbook Reports month (January, February,...) is in
A1, month day (1-31) is in A2 and part number is in A3, the following
formula should work:

=INDEX(INDIRECT("'[products.xls]"&A1&"!A1:AE20"),MATCH(A3,INDIRECT("'[products.xls]"&A1&"!A1:A20"),0),MATCH(A2,INDIRECT("'[products.xls]"&A1&"!A1:AE1"),0))

We are assuming also that both files are in the same folder.

Does this help?
Kostis Vezerides
 

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

Top