Forum Discussion
JennyHoA20181
May 29, 2025Brass Contributor
Date Lookup based on multiple columns in separate sheet
Hello all, Hoping someone can support! In the 'Date' tab, I want to add another component to the formula in column C. Currently it brings back the first date from Column X of the 'Activity-Risk' Ta...
Patrick2788
May 29, 2025Silver Contributor
Since this is a large data set, I think the best approach is to perform an initial FILTER to pull relevant records to help make the XLOOKUP more manageable.
=LET(
filtered, FILTER(
HSTACK(AppID, date),
(Activity = "Conversion Support") * (ActivityDetail = "Arrange Engagement Call") +
(ActivityDetail = "Arrange Interview"),
"None"
),
lookup, TAKE(filtered, , 1),
return, TAKE(filtered, , -1),
XLOOKUP(all_app_ID, lookup, return, "", , {1, -1})
)
JennyHoA20181
May 30, 2025Brass Contributor
Thank you Patrick! I get an error that says #SPILL! on my side, could it be my excel version? I am using Xlsb
- Patrick2788May 30, 2025Silver Contributor
The cells below the formula are occupied or you're working in a table is my guess.