M
Mighty Magpie
Hi,
If any of the following makes any sense, I would be grateful if somone could
offer me some advice as to sorting out the problem
TIA
Time spent might be attributed to more than one task in one day e.g. 2 hours
on task A, 5 hours on Task B etc
I want one cell on 'Sheet B' to look at all the times spent on a certain
task and then for it to add those times together so as to show how much time
was spent on that task
I then want another cell to do the same for another of the tasks etc etc
On SHEET A the following applies
Row J = named Start Time (formatted to 0000)
Row H = named Finish time (formatted to 0000)
Cell AK5 named MAN HOURS =AZ5
Cell AL5 named ACTUAL TIME SPENT (Minutes) =AY5
Cell AQ5 named FROM (hours) =INT(J5/100)
Cell AR5 names FROM (minutes) =J5-(AQ5*100)
Cell AT5 named TO (hours) =INT(K5/100)
Cell AU5 named TO (minutes) =K5-(AT5*100)
Cell AW5 named BASE MINUTES =(AT5*60+AU5)-(AQ5*60+AR5)
Cell AX5 named ACTUAL MINUTES =IF(AW5<=0,AW5+1440,AW5)
Cell AY5 named SINGLE TIME =IF(J5>0,(IF(ISBLANK(K5),5,AX5)),"")
Cell AZ5 named MAN HOURS =IF(ISBLANK(J5),"",AY5*COUNT(E5:F5))
Cell AK3 showing the totals in Hours =INT(SUBTOTAL(9,AK5:AK14942)/60)
Cell AL3 showing the totals in Hours =INT(SUBTOTAL(9,AL5:AL15000)/60)
A39 on Sheet B ='Sheet A'!AK3
It looks awfully complex to me
Cheers
If any of the following makes any sense, I would be grateful if somone could
offer me some advice as to sorting out the problem
TIA
Time spent might be attributed to more than one task in one day e.g. 2 hours
on task A, 5 hours on Task B etc
I want one cell on 'Sheet B' to look at all the times spent on a certain
task and then for it to add those times together so as to show how much time
was spent on that task
I then want another cell to do the same for another of the tasks etc etc
On SHEET A the following applies
Row J = named Start Time (formatted to 0000)
Row H = named Finish time (formatted to 0000)
Cell AK5 named MAN HOURS =AZ5
Cell AL5 named ACTUAL TIME SPENT (Minutes) =AY5
Cell AQ5 named FROM (hours) =INT(J5/100)
Cell AR5 names FROM (minutes) =J5-(AQ5*100)
Cell AT5 named TO (hours) =INT(K5/100)
Cell AU5 named TO (minutes) =K5-(AT5*100)
Cell AW5 named BASE MINUTES =(AT5*60+AU5)-(AQ5*60+AR5)
Cell AX5 named ACTUAL MINUTES =IF(AW5<=0,AW5+1440,AW5)
Cell AY5 named SINGLE TIME =IF(J5>0,(IF(ISBLANK(K5),5,AX5)),"")
Cell AZ5 named MAN HOURS =IF(ISBLANK(J5),"",AY5*COUNT(E5:F5))
Cell AK3 showing the totals in Hours =INT(SUBTOTAL(9,AK5:AK14942)/60)
Cell AL3 showing the totals in Hours =INT(SUBTOTAL(9,AL5:AL15000)/60)
A39 on Sheet B ='Sheet A'!AK3
It looks awfully complex to me
Cheers