
Signature
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
> My employer uses MS-Outlook to book PCs in the training room. I have
> to submit weekly usage reports for each of the PCs.
[quoted text clipped - 4 lines]
> How can I calculate the daily and weekly usage totals for each of PC1,
> PC2...PC10 ?
Thanks Bob but this will sum the all end times (column D) and not the
usage or the difference between the end time (D) and start time (C).
Is it possible to do this directly without inserting a new column and
doing the interim calculation?
The date is in column B and the second part of my question was to sum
the time differences (usage) for each week where a week can be defined
as beginning on a monday so there are usually 4 mondays per month
> =SUMIF(A:A,"PC1",D:D)
>
[quoted text clipped - 16 lines]
> > How can I calculate the daily and weekly usage totals for each of PC1,
> > PC2...PC10 ?
Bob Phillips - 16 Dec 2006 10:41 GMT
When you said they subtract okay, I assumed you were using a helper column.
It is quite simple to sum them directly
=SUMPRODUCT(--D2:D100-C2:C100)
If you want to limit to dates, then assuming the start of the week date is
F1, then use
=SUMPRODUCT(--(B2:B100>=F1),--(B2:B100<F1+7),--D2:D100-C2:C100)

Signature
---
HTH
Bob
(change the xxxx to gmail if mailing direct)
> Thanks Bob but this will sum the all end times (column D) and not the
> usage or the difference between the end time (D) and start time (C).
[quoted text clipped - 25 lines]
>> > How can I calculate the daily and weekly usage totals for each of PC1,
>> > PC2...PC10 ?