Dear Experts,
Need your help to develop a formula,
I have some data in "available Data" table and in other excel sheet I have some material codes in column E, which I want to lookup but the condition is for example if this code 100010 having zero in column C then it must be skipped and return valve must be 45003 and in F3 and 1 in G3, and if any code like 100013 do not have 1 in column C then return value must be 45009 in F4 and 0 in G4. Moreover For code 100015 there are two PO numbers 45005 and 450020 and both having zero in column C, in this case latest value with 450020 must be captured in F6. attached picture can be referred as well. Thank you
Need your help to develop a formula,
I have some data in "available Data" table and in other excel sheet I have some material codes in column E, which I want to lookup but the condition is for example if this code 100010 having zero in column C then it must be skipped and return valve must be 45003 and in F3 and 1 in G3, and if any code like 100013 do not have 1 in column C then return value must be 45009 in F4 and 0 in G4. Moreover For code 100015 there are two PO numbers 45005 and 450020 and both having zero in column C, in this case latest value with 450020 must be captured in F6. attached picture can be referred as well. Thank you
question Book1.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | available Data | This is how I want to extract based on available data | |||||||
2 | material code | PO numbers | Quantity | material code | PO numbers | Quantity | |||
3 | 100010 | 45001 | 0 | 100010 | 45003 | 1 | |||
4 | 100010 | 45002 | 0 | 100013 | 45009 | 0 | |||
5 | 100010 | 45003 | 1 | 100014 | 450011 | 1 | |||
6 | 100013 | 45009 | 0 | 100015 | 450020 | 0 | |||
7 | 100014 | 45007 | 0 | ||||||
8 | 100014 | 450011 | 1 | ||||||
9 | 100014 | 45022 | 0 | ||||||
10 | 100015 | 45005 | 0 | ||||||
11 | 100015 | 450020 | 0 | ||||||
Sheet1 |