Hi I had a list of patient with different types of treatment. Each treatment type having a waiting time. I need to find out the Average of waiting time which is below the range.
Example. here Prophylactic should be below 1 day Curative below 14 days and Palliative be below 2 day. I need to find the average how many is in the range for each treatment type.
Wait Time | Intent Type |
2.00 | .1. Prophylactic |
7.00 | .1. Prophylactic |
4.00 | .1. Prophylactic |
9.00 | .2. Curative |
0.00 | .2. Curative |
0.00 | .2. Curative |
3.00 | .2. Curative |
7.00 | .3. Palliative |
8.00 | .3. Palliative |
2.00 | .3. Palliative |
3.00 | .3. Palliative |
1.00 | .3. Palliative |
Output expected: Prophylactic : 0% equation (0/3*100)
Curative: 100% equation (4/4*100)
Palliative: 40% equation (2/5*100)