I am trying to utilize an index collect formula that will cross-reference another sheet. Some of the reference criteria are numbers but two criteria need to narrow the options to a specific date range (i.e. >= DATE1 and < =DATE2). These columns are in date format. The data I am trying to bring back into the cell is a name in text format. The cell with the formula is in text/number format.
This is what my formula looks like currently, but I am getting a #INVALID VALUE error.
=INDEX(COLLECT({Name}, {ID #}, =[ID #], {DATE1}, >=DATE@row, {DATE2}, <=DATE@row), 1)
I was able to include a date criterion in a different index/collect formula elsewhere in the sheet, but that formula was in a date column type. Is there a way to make this work in a text/number formatted column?