Sundance_Kid
Board Regular
- Joined
- Sep 2, 2017
- Messages
- 155
- Office Version
- 365
- Platform
- Windows
Hi,
I have data with a list of dates spanning 10 years.
I want to do a lookup to determine which category does the date fall under.
So I will have a table to lookup into like this
01/04/2010 - 31/03/2011 - Year 1
01/04/2011 - 31/03/2012 - Year 2
and so on, it will bring me up to Year 10 I think.
If I have a date, lets say 25/03/2012, I want the lookup to return Year 2. Also, if the date was either 01/04/2012 or 31/03/2012 I would also like it to return Year 2, so the date is between or on the two dates.
Is there a quick formula to use considering there will be around 10 potential 1 year periods a date may fall into.
Thank you
I have data with a list of dates spanning 10 years.
I want to do a lookup to determine which category does the date fall under.
So I will have a table to lookup into like this
01/04/2010 - 31/03/2011 - Year 1
01/04/2011 - 31/03/2012 - Year 2
and so on, it will bring me up to Year 10 I think.
If I have a date, lets say 25/03/2012, I want the lookup to return Year 2. Also, if the date was either 01/04/2012 or 31/03/2012 I would also like it to return Year 2, so the date is between or on the two dates.
Is there a quick formula to use considering there will be around 10 potential 1 year periods a date may fall into.
Thank you