I am trying to use LookUp to return the most recent record in a collection. What I have just now is:
If(
TimeValue(
LookUp(colTimeEntryWeek, Date_ = datDateSTE.SelectedDate, Finish_Time)) > TimeValue(drpStartTimeSTE1.Selected.Value & ":" & drpStartTimeSTE2.Selected.Value), true)
This is a formula to show / hide a label to say If Date in collection matches date input in datDateSTE field then return the finish time. If the time input in Start time boxes is after this Finish time then make it visible. It works fine with only one record in the collection but the issue is when I have more than one record with that date it gets confused on the return value and doesn't base it on the most recent Finish time.
If you need any more info let me know. Thanks.