A1:<Enter> Date
A2:<Enter> Location Number
A3:<Return> Score 1
A4:<Return> Score 2
Data:
Column B: Location Numbers
Column C: Dates
Column D: Scores
If I enter a date in A1 and a location number in A2, I need a formula to look through the data in columns B, C and D and return the two most recent scores prior to the date entered. Data are continuously added to columns B, C, and D, so the the number of data rows increases throughout the year.
For example if I enter 6/29/2011 in A1 and enter location number 234 in A2, I need corresponding scores returned for the two dates closest to, but not later than 6/29/2011. So if the data contain scores for dates of 3/15/2011, 5/17/2011 and 7/2/2011 for location 234, I need the scores for 3/15 and 5/17 returned.
Thanks,
Bookmarks