Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple Lookups


Hi all,

I'm new to excel's advanced features and could really do with some help
on this one.

I have the dates for the coming month. I wish to lookup shift patterns
from another sheet.

Sheet 1 has the dates and a column for the results and column for shift
code (which I plan to hide)

We have a four week rotating shift with shifts labelled as such
M1
T1
W1
T1
F1
S1
S1
M2
T2
W2 etc. right up to S4

Question really is how do I get these shifts to be displayed on the
main sheet.

i.e. If I type in M1, I want that shift to be displayed, or M2 then
that shift. I cannot seem to find a straight answer for this.

I look forwards to hearing from you all, thankyou in advance,

Jamie


--
Jamie Dow
------------------------------------------------------------------------
Jamie Dow's Profile: http://www.excelforum.com/member.php...o&userid=26008
View this thread: http://www.excelforum.com/showthread...hreadid=393668

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple Lookups


Please describe what you want to do in more detail.

What do you mean by this?

i.e. If I type in M1, I want that shift to be displayed, or M2 then
that shift. I cannot seem to find a straight answer for this.


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=393668

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple Lookups


Well on sheet one I have the dates.
Sheet 2 are a list of who's working what shift. (this is a set 4 wee
rota)
That list on sheet 2 have a week and day number Week 1 Monday = M1

On the first sheet I want to be able to type in the code above i.e. M
and have the content from sheet 2 displayed next to a date.

Sheet one looks a like this at the moment;

01/08/2005
02/08/2005
03/08/2005

Sheet two looks like this

M1 C, L & I - Day :: A - Night
T1 A,L - Day :: I - Night
W1 L - Day :: I & C - Night
T1 A & L - Day :: I - Night
F1 C - Day :: L - Night
S1 A - Day :: L - Night
S1 I - Day :: L - Night
M2 C & L - Day :: I - Night
T2 etc.etc.

I want to (in column C say) on sheet one, type in the shift code i.e
M1 and next to the date on sheet one have the relevant person
working.

Sheet one would look like this

01/08/2005 C, L & I - Day :: A - Night M1
02/08/2005 A,L - Day :: I - Night T1


Hope this is clearer :

--
Jamie Do
-----------------------------------------------------------------------
Jamie Dow's Profile: http://www.excelforum.com/member.php...fo&userid=2600
View this thread: http://www.excelforum.com/showthread.php?threadid=39366

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple Lookups


=vlookup(c1,sheet2!a1:b1000,2.false)

asuming you type the code in C1 of sheet 1


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=393668

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multiple Lookups


I neglected to mention something yesterday (sorry)

Basically next month I would change the dates and then put in
different shift code.
So the dilemna now is will that vlookup do the same task?

I.e. in the third column first row, I might type in M1 this month a
it's first Monday of rota, it might be W2 Wednesday of second month i
that cell next month.


01/08/05 <shift M1

------

01/09/05 <shift W2

Hope this hasn't confused you too much. Thankyou for your help tho :

--
Jamie Do
-----------------------------------------------------------------------
Jamie Dow's Profile: http://www.excelforum.com/member.php...fo&userid=2600
View this thread: http://www.excelforum.com/showthread.php?threadid=39366

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
Multiple Lookups Kokomojo Excel Worksheet Functions 5 July 17th 09 06:21 PM
multiple lookups & ifs se7098 Excel Worksheet Functions 2 December 19th 08 04:11 PM
sum multiple lookups? paula k Excel Worksheet Functions 6 August 20th 06 10:59 AM
Multiple V Lookups KopRed Excel Worksheet Functions 2 January 16th 06 07:11 AM
Multiple Lookups KG Excel Discussion (Misc queries) 1 June 3rd 05 03:43 AM


All times are GMT +1. The time now is 09:49 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"