I would like to know how to divide the subject to 4 different ranges/level. Each level has a certain range. Following is the data.
Std Name Subject Percentage
2 Vinay eng 50
2 Vinay math 60
2 Vinay hindi 70
2 Rohan eng 70
2 vas mat 50
2 dheer eng 35
2 dheer math 90
2 dheer hindi 80
2 Bhas eng 90
2 Bhas math 35
2 Bhas hindi 50
The four bucket ranges are as follows. <=35, 35-50, 50-75, >75
Expected output:
Std Subject 0-35 35-50 50-75 >75
2 Eng 25% 25% 25% 25%
2 Mat 25% 25% 25% 25%
2 Hin 0% 25% 25% 25%
P.s Values of the ranges are percentage of students scored in that range.
Thanks in advance