Hi
I have product by customer (product x customer) spread sheet where I need to identify the top 10% items and bottom 10% items (by values) and give them some colour. A sample array is given below in line on this query. A sample spread sheet with the same data is uploaded to bit.ly/1Ts5AZk
The actual spread sheet has 1000s of lines and so a VBA is kindly requested to shade the top and bottom 10%s
I'm using Excel 2010 on a win 2000 machine. I have tried to search Mr Excel, but couldn't find a proper VBA... so even pointers to the right thread would be most appreciated. Any help would be most appreciated.
Sample :
<tbody>
</tbody>
...and so on ....
Thanks and regards
Subu
I have product by customer (product x customer) spread sheet where I need to identify the top 10% items and bottom 10% items (by values) and give them some colour. A sample array is given below in line on this query. A sample spread sheet with the same data is uploaded to bit.ly/1Ts5AZk
The actual spread sheet has 1000s of lines and so a VBA is kindly requested to shade the top and bottom 10%s
I'm using Excel 2010 on a win 2000 machine. I have tried to search Mr Excel, but couldn't find a proper VBA... so even pointers to the right thread would be most appreciated. Any help would be most appreciated.
Sample :
Product | customer | Kilos | $ / KG | comments | comments |
product 1 | customer 1 | 10 KG | 2.00 | => bottom 10% (out of 10 cases) in av. sale price | => say colour red |
product 1 | customer 2 | 20 KG | 2.10 | No colour | |
product 1 | customer 3 | 30 KG | 2.70 | No colour | |
product 1 | customer 4 | 50 KG | 3.10 | No colour | |
product 1 | customer 5 | 60 KG | 4.00 | No colour | |
product 1 | customer 6 | 60 KG | 2.50 | No colour | |
product 1 | customer 7 | 70 KG | 8.00 | => top 10% (out of 10 cases) in Av. Sale price | => colour Green |
product 1 | customer 8 | 80 KG | 8.00 | - do - | => colour Green |
product 1 | customer 9 | 90 KG | 3.00 | No colour | |
product 1 | customer 10 | 100 KG | 5.00 | No colour | |
product 2 | customer 1 | 100KG | 13.10 | No colour | |
product 2 | customer 2 | 200KG | 12.10 | No colour | |
product 2 | customer 3 | 300KG | 12.70 | No colour | |
product 2 | customer 4 | 500KG | 12.00 | => bottom 10% (out of 10 cases) in av. sale price | => colour red |
product 2 | customer 5 | 600KG | 14.00 | No colour | |
product 2 | customer 6 | 600KG | 12.50 | No colour | |
product 2 | customer 7 | 705KG | 18.00 | => top 10% (out of 10 cases) in Av. Sale price | => colour Green |
product 2 | customer 8 | 801KG | 18.00 | - do - | => colour Green |
product 2 | customer 9 | 904KG | 13.00 | No colour | |
product 2 | customer 10 | 185KG | 15.00 | No colour |
<tbody>
</tbody>
...and so on ....
Thanks and regards
Subu