S
Sam Harman
Hi, I wondered if any of the excel experts could tell me how to do the
following if it is possible...
Column A is a Time formatted column and Column P is a number formatted
column as per the example below....
A P
13:20 4
13:20 6
13:20 6
13:20 8
13:20 9
13:20 10
13:20 11
13:50 2
13:50 3
13:50 4
13:50 5
13:50 6
13:50 8
14:20 1.25
14:20 1.75
14:20 3
14:20 3
14:20 3
14:20 5
14:20 6
14:20 7
What am I trying to do automatically either with a macro or by
programming is as follows:
Highlight by formatting the bg colour of the cell green the top four
values in column P for each time slot.....so in the example above in
the 13:20 the numbers 4, 6, 6, 8, 9 would all be highlighted as these
are the top four values....
In the 13:50 example 2,3,4 and 5 would be highlighted and in the 14:20
all numbers woulkd be highlighted.......
I somehow need the macro etc to look at the time and when it changes
from one time to the next it goes to column P and highlights the top
four values.......as you will see as some values are duplicated it is
not always gour numbers that get highlighted......
Is this possible?
Thanks in advance
Sam
following if it is possible...
Column A is a Time formatted column and Column P is a number formatted
column as per the example below....
A P
13:20 4
13:20 6
13:20 6
13:20 8
13:20 9
13:20 10
13:20 11
13:50 2
13:50 3
13:50 4
13:50 5
13:50 6
13:50 8
14:20 1.25
14:20 1.75
14:20 3
14:20 3
14:20 3
14:20 5
14:20 6
14:20 7
What am I trying to do automatically either with a macro or by
programming is as follows:
Highlight by formatting the bg colour of the cell green the top four
values in column P for each time slot.....so in the example above in
the 13:20 the numbers 4, 6, 6, 8, 9 would all be highlighted as these
are the top four values....
In the 13:50 example 2,3,4 and 5 would be highlighted and in the 14:20
all numbers woulkd be highlighted.......
I somehow need the macro etc to look at the time and when it changes
from one time to the next it goes to column P and highlights the top
four values.......as you will see as some values are duplicated it is
not always gour numbers that get highlighted......
Is this possible?
Thanks in advance
Sam