Greetings,
I'm currently working on a file that takes the code of a product and returns the next available production date that could supply the demand of this product.
The file is set up in two sheets: A and B.
In sheet A:
<TBODY>
</TBODY>
In sheet B:
<TBODY>
</TBODY>
The idea is to take the product code, look for it in the second sheet, compare the different productions to the demand and return the date of the production that can supply it.
I've used vlookup and hlookup but they don't do the trick... Please help
Thank you in advance for your attention
I'm currently working on a file that takes the code of a product and returns the next available production date that could supply the demand of this product.
The file is set up in two sheets: A and B.
In sheet A:
Code | Demand | Production Date |
1111 | 1000 | ??????? |
8272 | 2500 | ??????? |
<TBODY>
</TBODY>
In sheet B:
CODE | 01/2013 | 02/2013 | 03/2013 | 04/2013 | 05/2013 | 06/2013 | 07/2013 | 08/2013 | 09/2013 |
1110 | 500 | 200 | 1000 | ||||||
1111 | 600 | 2000 | 500 | ||||||
2222 | 100 | ||||||||
2223 | 200 | ||||||||
3333 | |||||||||
8272 | 100 | 500 | 2500 | ||||||
9999 | 500 |
<TBODY>
</TBODY>
The idea is to take the product code, look for it in the second sheet, compare the different productions to the demand and return the date of the production that can supply it.
I've used vlookup and hlookup but they don't do the trick... Please help
Thank you in advance for your attention