I'm trying to build a formula that will look up a customers name depending on a trailer number & timestamp. The timestamp would be automatically input when the trailer is processed at our depot, so the timestamp of the process & delivery would never match. I have attached a basic sheet, but the gist of it is below.
Trl1 delivered to Fred at 15:55 on 27/06/18 but we didn't process the trailer until 14:43 on 28/06/18. Is there a way I could get excel to find the previous customer from the point of processing? Trl1 will possibly be used several times a day so it would need to lookup the last possible customer available, sometimes over multiple days.
I can't get the excel file to upload but a screenshot should hopefully be attached.
Maybe I'm asking Excel to be too complex here.
Bookmarks