I am trying to get excel to return a date from a list of orders from certain companies. This list has the same companies just different dates and i need excel to return the latest date.
=INDEX(Orders!B313:B419,MATCH(1,(Orders!A313:A419="*"&F3&"*")*(Orders!B313:B419>N3),1))
F3 is the name of the company and i'm using the "*" because on the orders page it has more information in the line. This may be an incorrect way to do it but I've used it in the past.
N3 is the 2nd to last order and i'm looking to find the last order. I did press CTL Shift Enter when i tried this.
Any help would be great. Thanks
=INDEX(Orders!B313:B419,MATCH(1,(Orders!A313:A419="*"&F3&"*")*(Orders!B313:B419>N3),1))
F3 is the name of the company and i'm using the "*" because on the orders page it has more information in the line. This may be an incorrect way to do it but I've used it in the past.
N3 is the 2nd to last order and i'm looking to find the last order. I did press CTL Shift Enter when i tried this.
Any help would be great. Thanks