If I have my “wording” wrong in my title and/or questions, I apology in advance. Although, I have a basic knowledge of Excel functions like sum, count, max and min, etc.; I have a very limited knowledge of advanced functions or formulas.
I have a workbook (see attached) with a function in C2 that equals the current date: =Today(). In C3, I would like a function to look at the date in C2 then match that date to the date I have in Column F that starts with 1/1/2015 in F3 going thru 12/31/2015 in F367. Once the date in C2 is matched, the function would return a value from in a range from J3:J367. As an example, using today’s date July 27, 2015, the value would be 208.
I’ve been spinning my wheels for over a week researching the best solution to this. I currently have an Index (array) function that works:
{=INDEX($J$3:$J$367,MIN(IF(($C$2=$F$3:$F$367),MATCH(ROW($J$3:$J$367),ROW($J$3:$J$367)))))}
However, my question with my limited knowledge of the advanced functions, is this the best approach? I’m not sure the advantage or disadvantages versus other potential Lookup and Reference Functions that that are available (e.g., VLOOKUP, etc.).
I would greatly appreciate any thoughts or comments using the current solution.