I am trying to assign custom Month value to a DATE based on the criteria if the date falls in between Start and End Date.
Criteria:
Start Date End Date Custom Month Value
1/6/2014 2/2/2014 Jan-14
2/3/2014 3/2/2014 Feb-14
3/3/2014 4/6/2014 Mar-14
4/7/2014 5/4/2014 Apr-14
5/5/2014 6/1/2014 May-14
Desired Output:
DATE Custom Month Value
1/11/2014 Jan-14
3/1/2014 Feb-14
5/4/2014 Apr-14
The Criteria date ranges from 2000 to 2015.
Would appreciate any advise on an optimal approach to achieve these results (without using if-else).
Many Thanks
Bookmarks