M
Matthew White
Hello all,
I need to categorize or group a list of numbers. For example, consider
this list of ten numbers:
1,1,2,2,5,6,7,8,9,9
I need to group them into three groups (A, B, C). A is the lowest 3 or
them, B is the "next lowest" three, and C is the highest 4 of them.
I've had some success using percentilerank, then using an if
statement:
"IF(value>=0.6,"C",IF(value>=0.3,"B","A"))"
to place in the group based on percentilerank, but it breaks down if
my list gets too heavy in one area, such as my 1's in the example.
My real list contains 68 numbers, and I break them up in to groups of
16,16,16,and 20.
Any better ideas?
Thanks,
Matt
I need to categorize or group a list of numbers. For example, consider
this list of ten numbers:
1,1,2,2,5,6,7,8,9,9
I need to group them into three groups (A, B, C). A is the lowest 3 or
them, B is the "next lowest" three, and C is the highest 4 of them.
I've had some success using percentilerank, then using an if
statement:
"IF(value>=0.6,"C",IF(value>=0.3,"B","A"))"
to place in the group based on percentilerank, but it breaks down if
my list gets too heavy in one area, such as my 1's in the example.
My real list contains 68 numbers, and I break them up in to groups of
16,16,16,and 20.
Any better ideas?
Thanks,
Matt