O
office
I have 10 people working for me, they all average 40ish hours a week.
There normal working week is Mon to Fri 7am until 5pm this is all rate 0
If they work overtime during the week (before 7am & after 5pm) its called
rate 1
If they work overtime at the weekend its called rate 2
I log there timesheet hours on a weekly basis using a spread sheet.
I have a rate column in which enter 0, 1, or 2 depending on when they worked
and then the hours at that rate.
Each of the people working for me have an unique personnel number this is in
cell A4 - A14 on my hours sheet.
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=0)*(Sheet1!V$3:V$123))
Rate 0 column cells
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=1)*(Sheet1!V$3:V$123))
Rate 1 column cells
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=2)*(Sheet1!V$3:V$123))
Rate 2 column cells
These are the formulae I'm using at the moment on my hours sheet.
The problem is that this formula only looks from row 3 to 123, I want it to
look at the whole sheet and ignore any empty rows.
Most of the time $123 is not correct and I always have to change it.
sometimes there will only be $27 entries from all the timesheets and other
times there can be as many as $209.
Is there anyway I can get excel to automatically find this number its self
or just look at the rows that have something in them.
I've tried using ranges with no luck.
Thanx for any help.
Rick
There normal working week is Mon to Fri 7am until 5pm this is all rate 0
If they work overtime during the week (before 7am & after 5pm) its called
rate 1
If they work overtime at the weekend its called rate 2
I log there timesheet hours on a weekly basis using a spread sheet.
I have a rate column in which enter 0, 1, or 2 depending on when they worked
and then the hours at that rate.
Each of the people working for me have an unique personnel number this is in
cell A4 - A14 on my hours sheet.
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=0)*(Sheet1!V$3:V$123))
Rate 0 column cells
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=1)*(Sheet1!V$3:V$123))
Rate 1 column cells
=SUMPRODUCT((Sheet1!B$3:B$123=A4)*(Sheet1!F$3:F$123=2)*(Sheet1!V$3:V$123))
Rate 2 column cells
These are the formulae I'm using at the moment on my hours sheet.
The problem is that this formula only looks from row 3 to 123, I want it to
look at the whole sheet and ignore any empty rows.
Most of the time $123 is not correct and I always have to change it.
sometimes there will only be $27 entries from all the timesheets and other
times there can be as many as $209.
Is there anyway I can get excel to automatically find this number its self
or just look at the rows that have something in them.
I've tried using ranges with no luck.
Thanx for any help.
Rick