G
Gordon Buchanan
Below is an extract from an excel spreadsheet I am
currently working on. There are three columns, one with
standard hours (Stnd Hrs.) one with Overtime hours (Ovtm
Hrs.) and one with an Overtime Code (Ovtm Code).
Sunday
03-Aug-03
Stnd Hrs. Ovtm Hrs. Ovtm Code
7 2 A
7 3 B
5 3 C
5 3 C
3 6 F
4 2 D
5 6 B
4 3 A
0 3 F
0 6 C
What I require is to be able to relate the (Ovtm Code)
value in one cell to the (Ovtm Hrs) value in the preceding
cell on the same row. I then require to total up the
(Ovtm Hrs.) value for each (Ovtm Code) value. I would
like to then display these new values on a second sheet.
As laid out below.
Sickness Holiday Maternity Leave Lateness Union Duties
(A) (B) (C) (D) (E)
5 9 9 2 0
The first row contains the (Ovtm Code)description, the
second row contains the acutal (Ovtm Code) and the third
row conains the totalled up (Ovtm Hrs.) for that
particular (Ovtm Code).
Hope someone could be of help to me.
Many Thanks
Gordon Buchanan
currently working on. There are three columns, one with
standard hours (Stnd Hrs.) one with Overtime hours (Ovtm
Hrs.) and one with an Overtime Code (Ovtm Code).
Sunday
03-Aug-03
Stnd Hrs. Ovtm Hrs. Ovtm Code
7 2 A
7 3 B
5 3 C
5 3 C
3 6 F
4 2 D
5 6 B
4 3 A
0 3 F
0 6 C
What I require is to be able to relate the (Ovtm Code)
value in one cell to the (Ovtm Hrs) value in the preceding
cell on the same row. I then require to total up the
(Ovtm Hrs.) value for each (Ovtm Code) value. I would
like to then display these new values on a second sheet.
As laid out below.
Sickness Holiday Maternity Leave Lateness Union Duties
(A) (B) (C) (D) (E)
5 9 9 2 0
The first row contains the (Ovtm Code)description, the
second row contains the acutal (Ovtm Code) and the third
row conains the totalled up (Ovtm Hrs.) for that
particular (Ovtm Code).
Hope someone could be of help to me.
Many Thanks
Gordon Buchanan