Hello everyone,
I need a formula that will retrieve a Term Code from a helper sheet based on the date that a row is processed and insert it into a worksheet. The helper sheet has the Term Codes and it has columns for Start and End dates that apply to each Term Code. For example, the Term Code "2217" is valid for the period 8/23/21 - 1/9/22. Term Code "2223" is valid for the period 1/10/22-5/8/22.
I want the Term Code to populate automatically based on a Process Date in a separate worksheet. In my example, the Process Date is 12/14/21. If the formula works correctly, this date is within the range for Term Code 2217 and should return "2217" in the Process Term column.
Is there a formula that can look at a date range and extract the correct Term Code based on the Process Date?
Thanks for considering this, Jill Freuden, WSU