Summary: Match the values ββand do a vlookup for this new value.
For me, I needed a formula, not a function to search by 2 values. vlookup can only work on one value from what I saw, so my solution was to combine the two values ββfor one primary key.
On the Raw Data tab, I added a Lookup column, which simply concatenated the identifier column with the Timestamp columns that I had.
Then on my comparison tab I had
=VLOOKUP(CONCATENATE(A4, $F$1),'Historical Data'!$A:$G,3,FALSE)

What took the identifier column associated with my search date in $F$1 and vlookup 'in my data tab (Historical data). 
source share