I have a table that lists names and dates in the rows next to each of them. Names in B3:B105 (range named "Name") and the Dates in C3:L105(range named "Requests") the entire range is B3:L105 (named "DaysOff").
I want to be able to enter a date (in cell N5) and have any name(s) be returned that matches the date.
(if possible I'd also like to be able to enter a range of dates and have the names be returned, but one at a time would suffice for now)
This is what i have so far but it keeps coming up blank.
=IF(ISERROR(INDEX(Requests,SMALL(IF(DaysOff=$N$5,ROW(Name)),ROW(3:105)),2)),"",INDEX(Requests,SMALL(IF(Name=$N$5,ROW(Name)),ROW(3:105)),2))
I want to be able to enter a date (in cell N5) and have any name(s) be returned that matches the date.
(if possible I'd also like to be able to enter a range of dates and have the names be returned, but one at a time would suffice for now)
This is what i have so far but it keeps coming up blank.
=IF(ISERROR(INDEX(Requests,SMALL(IF(DaysOff=$N$5,ROW(Name)),ROW(3:105)),2)),"",INDEX(Requests,SMALL(IF(Name=$N$5,ROW(Name)),ROW(3:105)),2))