Needed some help with the INDEX match formula, here goes..
Have an excel with two sheets, - Data sheet contains an inventory master of sorts where.. we can see each item being displayed with multiple batches in with each of their own quantities depending on where they're stored.. - Sheet 1 is an order form in which my end user would like to get the exact batch of a product on the basis of two criterias.. Criterias being - product number and qty match to fullfill..
Data - Current Inventory
Item Quantity Batch
ABD 10 11223a
ABD 15 24589r
DFG 5 T45678
DFG 67 ghytu8
FGH 10 thnh67
FGH 10 huip78
Sheet 1 - Order form
Item Quantity Batch
ABD 8
DFG 4
DFG 10
FGH 10
I have now tried the following formula for INDEX/MATCH in the batch field for sheet 2 but it does not seem to work.. please advise..
=INDEX(Data!C12550:R19719,MATCH(1,(Data!C12550:C19719=Sheet1!A2)*(Data!D12550:D19719=Sheet1!B2),0),7)
Note in the actual sheet the batch numbers in sheet 1 lie on the 7th Column thus the column referenced at the end is 7..
Thank you.