PC Review


Reply
Thread Tools Rate Thread

calulate holidays taken and remaining on calendar

 
 
Tom Graham 185185
Guest
Posts: n/a
 
      8th Jan 2010
I'm an extreme novice at this stuff so go easy!

I've got a holiday calendar for 6 people in my department at work, where
either 0.5 or 1 day may be booked in a cell for each working day of the year.
Each day has the julian day in the same column.

I need to do a sum for holidays taken (before the julian day has been
reached) and also for those that have been requested but haven't yet taken
place (ie after the julian day) but i'm struggling.

EG. every tuesday in Jan has 1 holiday booked (1 of these has taken place,
the other 3 are still to come. A calculation is required to add these
together.

This will need to be repeated for several people in the below rows on the
same table.

Thanks in advance.
Tom
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      8th Jan 2010

=SUMPRODUCT(--($A$1:$IV$1<=TODAY()),A2:IV2)

assuming the dates are in A1:IV1 and one of the people's absence is in
A2:IV2.

Adjust the ranges to suit, and use > for leave to go

HTH

Bob

"Tom Graham 185185" <(E-Mail Removed)> wrote in
message news:B515439F-BFF7-4FA1-AB8D-(E-Mail Removed)...
> I'm an extreme novice at this stuff so go easy!
>
> I've got a holiday calendar for 6 people in my department at work, where
> either 0.5 or 1 day may be booked in a cell for each working day of the
> year.
> Each day has the julian day in the same column.
>
> I need to do a sum for holidays taken (before the julian day has been
> reached) and also for those that have been requested but haven't yet taken
> place (ie after the julian day) but i'm struggling.
>
> EG. every tuesday in Jan has 1 holiday booked (1 of these has taken place,
> the other 3 are still to come. A calculation is required to add these
> together.
>
> This will need to be repeated for several people in the below rows on the
> same table.
>
> Thanks in advance.
> Tom



 
Reply With Quote
 
Tom Graham 185185
Guest
Posts: n/a
 
      8th Jan 2010
Cheers, not quite there yet though.

The 'dates' are just the Julian day (1-31) in cells b14:af14 though. and
rather than compare it to 'TODAY' it's the julian day in cell b1.

the formula i've put in based on your recommendation is
=SUMPRODUCT(--($B$10:$AF$14<=B1),B14:AF14)

still coming up with an error though.

any more clues?

"Bob Phillips" wrote:

>
> =SUMPRODUCT(--($A$1:$IV$1<=TODAY()),A2:IV2)
>
> assuming the dates are in A1:IV1 and one of the people's absence is in
> A2:IV2.
>
> Adjust the ranges to suit, and use > for leave to go
>
> HTH
>
> Bob
>
> "Tom Graham 185185" <(E-Mail Removed)> wrote in
> message news:B515439F-BFF7-4FA1-AB8D-(E-Mail Removed)...
> > I'm an extreme novice at this stuff so go easy!
> >
> > I've got a holiday calendar for 6 people in my department at work, where
> > either 0.5 or 1 day may be booked in a cell for each working day of the
> > year.
> > Each day has the julian day in the same column.
> >
> > I need to do a sum for holidays taken (before the julian day has been
> > reached) and also for those that have been requested but haven't yet taken
> > place (ie after the julian day) but i'm struggling.
> >
> > EG. every tuesday in Jan has 1 holiday booked (1 of these has taken place,
> > the other 3 are still to come. A calculation is required to add these
> > together.
> >
> > This will need to be repeated for several people in the below rows on the
> > same table.
> >
> > Thanks in advance.
> > Tom

>
>
> .
>

 
Reply With Quote
 
Tom Graham 185185
Guest
Posts: n/a
 
      8th Jan 2010
Ignore that last one, i've corrected the cell reference now!

cheers Bob Phillips

"Tom Graham 185185" wrote:

> Cheers, not quite there yet though.
>
> The 'dates' are just the Julian day (1-31) in cells b14:af14 though. and
> rather than compare it to 'TODAY' it's the julian day in cell b1.
>
> the formula i've put in based on your recommendation is
> =SUMPRODUCT(--($B$10:$AF$14<=B1),B14:AF14)
>
> still coming up with an error though.
>
> any more clues?
>
> "Bob Phillips" wrote:
>
> >
> > =SUMPRODUCT(--($A$1:$IV$1<=TODAY()),A2:IV2)
> >
> > assuming the dates are in A1:IV1 and one of the people's absence is in
> > A2:IV2.
> >
> > Adjust the ranges to suit, and use > for leave to go
> >
> > HTH
> >
> > Bob
> >
> > "Tom Graham 185185" <(E-Mail Removed)> wrote in
> > message news:B515439F-BFF7-4FA1-AB8D-(E-Mail Removed)...
> > > I'm an extreme novice at this stuff so go easy!
> > >
> > > I've got a holiday calendar for 6 people in my department at work, where
> > > either 0.5 or 1 day may be booked in a cell for each working day of the
> > > year.
> > > Each day has the julian day in the same column.
> > >
> > > I need to do a sum for holidays taken (before the julian day has been
> > > reached) and also for those that have been requested but haven't yet taken
> > > place (ie after the julian day) but i'm struggling.
> > >
> > > EG. every tuesday in Jan has 1 holiday booked (1 of these has taken place,
> > > the other 3 are still to come. A calculation is required to add these
> > > together.
> > >
> > > This will need to be repeated for several people in the below rows on the
> > > same table.
> > >
> > > Thanks in advance.
> > > Tom

> >
> >
> > .
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calendar holidays =?Utf-8?B?ZGFt?= Microsoft Outlook Calendar 1 25th May 2005 08:45 PM
Will calendar show or calulate the number of years for a birthday. =?Utf-8?B?em1hbg==?= Microsoft Outlook Calendar 3 28th Apr 2005 05:14 AM
Re: Insert user specific holidays in calendar similar to national holidays Sue Mosher [MVP-Outlook] Microsoft Outlook Calendar 0 4th Apr 2004 06:04 AM
Days remaining - holidays Gerry Microsoft Excel Worksheet Functions 2 28th Nov 2003 07:51 AM
Holidays in Calendar MemyselfI Microsoft Outlook Calendar 6 16th Nov 2003 05:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 PM.