Hi friends, here is my task, appreciate your help.
Table_A: | ||
Code | Date | |
111 | 1/1/2014 | |
111 | 1/2/2014 | |
111 | 1/3/2014 | |
111 | 1/4/2014 | |
111 | 1/5/2014 | |
111 | 2/1/2014 | |
111 | 2/2/2014 | |
111 | 2/3/2014 | |
111 | 2/4/2014 | |
111 | 2/5/2014 | |
Table_B: | ||
Code | Jan | Feb |
111 | 1000 | 2000 |
Need Result As: | ||
Code | Date | SplitByNoOfWorkDays |
111 | 1/1/2014 | 200 |
111 | 1/2/2014 | 200 |
111 | 1/3/2014 | 200 |
111 | 1/4/2014 | 200 |
111 | 1/5/2014 | 200 |
111 | 2/1/2014 | 400 |
111 | 2/2/2014 | 400 |
111 | 2/3/2014 | 400 |
111 | 2/4/2014 | 400 |
111 | 2/5/2014 | 400 |
Royal Thomas