Hi All,
I'm new here and needed some help with excel formula related to index match with 2 criteria and after found the item, get the nearest date base the 2 criteria row date. As this outgoing sheet is continuously updating from day 1. There are some item that will be send out again after return from previous sending. But my formula only able to get the first instance date after it match the field Model and Serial. But this isn't what I want, since I want to find the nearest return date based on the send out date.
Outgoing sheet tab:
Column A : Date which send out item.
Column E and F are model and serial no. respectively.
Column J : return date (index and match from incoming sheet tab)
Incoming sheet tab:
Column A : Date which send out item.
Column E and F are model and serial no. respectively.
Below is the formula on the outgoing tab sheet I had written after extensively goggling. It check for model and serial no. field if empty, display empty. And if not empty, match the date return but it return the first date instead of the nearest date. I can't figure how to insert in the IF to show display valid date if found return date later than send out date.
=IF(AND(E266<>"",F266<>""),IF(ISNA(INDEX(Incoming!A:A,MATCH(E266&F266,Incoming!E:E&Incoming!F:F,0))),"",(INDEX(Incoming!A:A,MATCH(E266&F266,Incoming!E:E&Incoming!F:F,0)))),"")
Hope someone can help me with this... Much appreciated in advance !
Regards,
Kwang Yeow
I'm new here and needed some help with excel formula related to index match with 2 criteria and after found the item, get the nearest date base the 2 criteria row date. As this outgoing sheet is continuously updating from day 1. There are some item that will be send out again after return from previous sending. But my formula only able to get the first instance date after it match the field Model and Serial. But this isn't what I want, since I want to find the nearest return date based on the send out date.
Outgoing sheet tab:
Column A : Date which send out item.
Column E and F are model and serial no. respectively.
Column J : return date (index and match from incoming sheet tab)
Incoming sheet tab:
Column A : Date which send out item.
Column E and F are model and serial no. respectively.
Below is the formula on the outgoing tab sheet I had written after extensively goggling. It check for model and serial no. field if empty, display empty. And if not empty, match the date return but it return the first date instead of the nearest date. I can't figure how to insert in the IF to show display valid date if found return date later than send out date.
=IF(AND(E266<>"",F266<>""),IF(ISNA(INDEX(Incoming!A:A,MATCH(E266&F266,Incoming!E:E&Incoming!F:F,0))),"",(INDEX(Incoming!A:A,MATCH(E266&F266,Incoming!E:E&Incoming!F:F,0)))),"")
Hope someone can help me with this... Much appreciated in advance !
Regards,
Kwang Yeow