Greetings,
I have the following data stored in worksheet #1 called 'Validation' which I want to use in my formula. "Iteration" Title is Column 1, Row 1.
Iteration Start Date End Date
1 1/1/2010 2/6/2010
2 2/7/2010 2/27/2010
3 2/28/2010 3/20/2010
In worksheet #2, I am using the following formula in G12:
=IF(AND(G11>=Validation!B2,G11<=Validation!C2),Validation!A2,"")
This formula is working fine if my date range in cell G12 falls between 1/1/2010 and 2/6/2010. The cell gets properly filled with 1.
What I want to do though is check ALL rows (date ranges) in the Validation worksheet. So I want to return 1 if the range is met for row 1, but I want to return 2 if the range is met for row 2, etc. Other than writing a very long formula that repeats what I have for every row, I'm not sure if there is an easier way to accomplish this. Do I need a Lookup? I'm not sure what to do here.
Thanks for the help!
Hopefully I've made sense here.
Drew
Bookmarks