Hello I am having issues with the following:
I have two data sets. Both contain transactions and neither have unique values. Data set 1 contains Truck, and Toll Transaction Date/Time. Data set 2 contains Truck, Order Number, Dispatch Date/Time, and Empty Date/Time.
I am attempting to index the Order Number from Data set 2 if the criteria is met in Data set 1. For example:
=INDEX(Order Number, Match(IF(AND(Truck(Data Set 1)=Truck(Data Set 2), Toll Transaction Date/Time>Dispatch Date/Time, Toll Transaction Date/Time< Empty Date/Time),0)
I am not sure if this is close, but logically in order to index the order number, I would have to ensure that the "IF" conditions are met?
Thank you in advance for the help!
I have two data sets. Both contain transactions and neither have unique values. Data set 1 contains Truck, and Toll Transaction Date/Time. Data set 2 contains Truck, Order Number, Dispatch Date/Time, and Empty Date/Time.
I am attempting to index the Order Number from Data set 2 if the criteria is met in Data set 1. For example:
=INDEX(Order Number, Match(IF(AND(Truck(Data Set 1)=Truck(Data Set 2), Toll Transaction Date/Time>Dispatch Date/Time, Toll Transaction Date/Time< Empty Date/Time),0)
I am not sure if this is close, but logically in order to index the order number, I would have to ensure that the "IF" conditions are met?
Thank you in advance for the help!