Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Janine
 
Posts: n/a
Default Look Up and Cell Reference - Formula Help Needed

Help - Need Formula
I am working on an employee scheduling matrix. I have a spreadsheet with
days of the week across the columns and start times down the rows. I fill in
the name of the employee coming in at each start time each day of the week.

I would like excel to automatically create a table in another worksheet that
will list days of the week in the columns, employee names in the rows, and
look up each employee's start time for each day and fill it in, in the
appropriate row/column.

Does this make sense? Help!


  #2   Report Post  
Max
 
Posts: n/a
Default

Perhaps something along these lines ..

In Sheet1
-------------
The sample table below is in A1:H6
where employee's initials are entered
depending on their scheduled start times
per day of the week

Time Mon Tue Wed Thu Fri Sat Sun
7:00 AM PT GL MK MK MK MX MK
7:30 AM GL KK KK GL MX KK KK
8:00 AM MK MK GL KK GL GL PT
8:30 AM KK MX PT PT PT MK MX
9:00 AM MX PT MX MX KK PT GL

(It's assumed that only 1 employee would be scheduled
per start time per day of week)

In Sheet2
-------------
You want to populate the table below in A1:H6
with the start times of each employee by day of week,
where the employees initials are listed in A2:AA6

Emp Mon Tue Wed Thu Fri Sat Sun
MK
GL
MX
KK
PT

Put in B2:

=IF(ISNA(MATCH($A2,Sheet1!B:B,0)),"",INDEX(Sheet1! $A:$A,MATCH($A2,Sheet1!B:B
,0)))

Format B2 as Time (Type: "1:30 PM")

Copy B2 across to H2, fill down to H6 to populate the table

This'll return all the start times from Sheet1,
viz, for the sample data in Sheet1, you'll get:

Emp Mon Tue Wed Thu Fri Sat Sun
MK 8:00 AM 8:00 AM 7:00 AM 7:00 AM 7:00 AM 8:30 AM 7:00 AM
GL 7:30 AM 7:00 AM 8:00 AM 7:30 AM 8:00 AM 8:00 AM 9:00 AM
MX 9:00 AM 8:30 AM 9:00 AM 9:00 AM 7:30 AM 7:00 AM 8:30 AM
KK 8:30 AM 7:30 AM 7:30 AM 8:00 AM 9:00 AM 7:30 AM 7:30 AM
PT 7:00 AM 9:00 AM 8:30 AM 8:30 AM 8:30 AM 9:00 AM 8:00 AM

--
Rgds
Max
xl 97
--
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
---
"Janine" wrote in message
...
Help - Need Formula
I am working on an employee scheduling matrix. I have a spreadsheet with
days of the week across the columns and start times down the rows. I fill

in
the name of the employee coming in at each start time each day of the

week.

I would like excel to automatically create a table in another worksheet

that
will list days of the week in the columns, employee names in the rows, and
look up each employee's start time for each day and fill it in, in the
appropriate row/column.

Does this make sense? Help!




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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
Using a formula in a Hyperlink Cell reference sslabbe Excel Discussion (Misc queries) 4 December 10th 04 12:30 AM
I there an easy way to find out if any formula reference a cell? Marc New Users to Excel 1 December 6th 04 10:41 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 10:05 PM.

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

About Us

"It's about Microsoft Excel"