I have a large column of data sorted into sectors of varying lengths. I would like assistance in crafting the VBA formula(e) which determine into which percentile the individual datum lies.
For example,
<CODE>Sector Value Percentile
A 1.024% ?
A 3.027% ?
A 4.487% top 33%
B 0.060% ?
B 0.598% ?
B 0.643% top 25%
B 0.160% ?
C 2.927% top 100%</CODE>
In Sector A, 4.487% is in the top 33% (as there are only 3 values), 0.643% in Sector B is in the top 25% and C would be 100% as there is only one value.
I am using Excel 2010 Windows 7 32 bit.
Thanks in advance for any help.</PRE>
For example,
<CODE>Sector Value Percentile
A 1.024% ?
A 3.027% ?
A 4.487% top 33%
B 0.060% ?
B 0.598% ?
B 0.643% top 25%
B 0.160% ?
C 2.927% top 100%</CODE>
In Sector A, 4.487% is in the top 33% (as there are only 3 values), 0.643% in Sector B is in the top 25% and C would be 100% as there is only one value.
I am using Excel 2010 Windows 7 32 bit.
Thanks in advance for any help.</PRE>
Last edited: