Hello There,
Hoping I can get some help on this issue. I have some data in two different sheets and want to do a lookup to pull in the invoice date from sheet 2 into sheet 1 (with certain criteria applied).
I want to pull in the invoice date from sheet 2 into sheet 1. However, there are multiple invoice dats for the same PO Name so I want to pull in the most recent invoice date that is less than the current order date.
I tried to do something using =MAX(INDEX((F1=A2:A11)*B2:B11,)), but not sure how to do it using a lookup to a different sheet. Is this possible? Any insight you can share with be much appreciated. Thank you!
Sheet 1:
Sheet 2:
Hoping I can get some help on this issue. I have some data in two different sheets and want to do a lookup to pull in the invoice date from sheet 2 into sheet 1 (with certain criteria applied).
I want to pull in the invoice date from sheet 2 into sheet 1. However, there are multiple invoice dats for the same PO Name so I want to pull in the most recent invoice date that is less than the current order date.
I tried to do something using =MAX(INDEX((F1=A2:A11)*B2:B11,)), but not sure how to do it using a lookup to a different sheet. Is this possible? Any insight you can share with be much appreciated. Thank you!
Sheet 1:
PO Name | Order Date | Amount |
JJ Order | 1/15/24 | $100 |
EJ Order | 2/15/24 | $200 |
Sheet 2:
PO Name | Invoice Date | Amount |
JJ Order | 1/1/24 | $100 |
EJ Order | 2/1/24 | $200 |
JJ Order | 12/1/23 | $250 |
EJ Order | 1/20/24 | $400 |