I have a data set like below:
money date1 date2
"300" "10/30 " " 11/1"
"400" "10/28 " " 10/31"
"360" "10/28 " " 10/30"
"440" "10/25 " " 10/28"
"620" "10/21 " " 10/28"
I want to extract the days between two dates such as 10/30,10/31,and 11/1 for the first line. In addition, my code should assign a number to each extracted day. This number should be money/(# of days). As an example I would like to obtain 10/30,10/31,and 11/1 and 300/3 (i.e.=100),300/3,300/3 for each one. Does anyone have any idea about this?