#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sabine
 
Posts: n/a
Default On-Call schedule

We have an on-call schedule for support calls and for each day there is a
separate primary, backup, supervisor, and manager responsible for that day.

Date 4/2/2006 4/3/2006 4/4/2006 4/5/2006
Primary Joe Smith
Backup Tom Jones Joe Smith
Supervisor
Manager

Each function (primary, backup, supervisor, and manager) has a different
hourly rate and there are about 10 different people handling these functions
during each two-week period. Right now, we manually key in the daily rate for
each of these employee into a spreadsheet after looking up what function they
had on each of the days

Joe Smith Tom Jones John Tee Greg Miller Jane Walker
04/02/06 60.00 60.00
04/03/06 80.00
04/04/06 60.00
04/05/06
04/06/06
04/07/06
04/08/06
04/09/06

What would be the best way to set this up - vlookups didn't seem to do the
job (too many conditions).

I'd really appreciate any help on this.
Thanks
Sabine
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default On-Call schedule

I would suggest that you arrange your first sheet in a similar way as
the second, with the dates going down the page and five columns - date,
primary, backup, supervisor, and manager. If you want to change the
layout of an existing sheet to this, then you can transpose the data
quite easily.

In a third sheet you can have a simple table listing the hourly rate
for each of the four functions, i.e.:

Primary 60.00
Backup 80.00
Supervisor 100.00
Manager 120.00

Obviously, I'm guessing the rates, but assume this table occupies A1:B4
of Sheet3.

In your second sheet, with the first date being the same as the first
date in Sheet1, enter this formula in cell B2:

=IF(ISNA(MATCH(B$1,Sheet1!$B2:$E2,0)),"",INDEX(She et3!$A$1:$B$4,MATCH(B$1,Sheet1!$B2:$E2,0),2))

This can be copied across for as many names as you have. Then highlight
these cells and copy down for as many dates as you have.

This will give you the four rates as appropriate, and leave blanks
where a person did not work that day - you can change the "" in the
middle of the formula to 0 if you prefer.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sabine
 
Posts: n/a
Default On-Call schedule

Thanks a lot. This worked and will save us a buch of time.


"Pete_UK" wrote:

I would suggest that you arrange your first sheet in a similar way as
the second, with the dates going down the page and five columns - date,
primary, backup, supervisor, and manager. If you want to change the
layout of an existing sheet to this, then you can transpose the data
quite easily.

In a third sheet you can have a simple table listing the hourly rate
for each of the four functions, i.e.:

Primary 60.00
Backup 80.00
Supervisor 100.00
Manager 120.00

Obviously, I'm guessing the rates, but assume this table occupies A1:B4
of Sheet3.

In your second sheet, with the first date being the same as the first
date in Sheet1, enter this formula in cell B2:

=IF(ISNA(MATCH(B$1,Sheet1!$B2:$E2,0)),"",INDEX(She et3!$A$1:$B$4,MATCH(B$1,Sheet1!$B2:$E2,0),2))

This can be copied across for as many names as you have. Then highlight
these cells and copy down for as many dates as you have.

This will give you the four rates as appropriate, and leave blanks
where a person did not work that day - you can change the "" in the
middle of the formula to 0 if you prefer.

Hope this helps.

Pete


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default On-Call schedule

You're welcome - thanks for feeding back.

Pete

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
amortization schedule calc without interest rate known nytcpa Excel Discussion (Misc queries) 1 March 2nd 06 06:25 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Create patient schedule based on master therapist schedule PapaBear Excel Discussion (Misc queries) 8 October 12th 05 04:56 AM
Change formula for Employee Shift Schedule template Pam Soreide Excel Worksheet Functions 1 September 7th 05 03:10 AM
Where can I find a template for a perpetual shift schedule. korcom2002 Excel Discussion (Misc queries) 0 June 15th 05 07:25 PM


All times are GMT +1. The time now is 06:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"