Number of Contact Hours per Time Period

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Number of Contact Hours per Time Period

bdates

I have a file with the following format.

 

ID         Service_Date                 Elapsed_Time

 

1          28-JUL-2009                  1.00

2          24-AUG-2009                 3.43

3          23-JUL-2009                  1.50

4          09-SEP-2009                 2.50

5          24-SEP-2009                 0.92

 

Elapsed time is in hours.  I need to place the elapsed time for each client ID in one of 13 weeks that comprise a quarter.  The data above represent the quarter

beginning with July 1, 2009 and ending with September 30, 2009.  If each week is a variable, the final format would be:

 

ID         Week1  Week2  Week3  Week4  Week5  Week6  Week7  Week8  Week9  Week10  Week11  Week12  Week13

 

1                                              1.00

2                                                                                              3.43

3                                              1.50

4                                                                                                                                      2.50

5                                                                                                                                                                 0.92

 

 

I’ve been unable to find a solution in the archives or on Reynald’s site.  If anyone has a solution, I’d appreciate it.  Thank-you.

 

Brian

 

Brian G. Dates

Director of Evaluation and Research

Southwest Counseling Solutions

1700 Waterman

Detroit, MI     48209

313-841-7442

[hidden email]

 

Leading the Way in Building a Healthy Community