Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael Lockwoo
 
Posts: n/a
Default Offset Type Lookup


Hello all,

I'm working on an excel sheet that will extrapolate data from a
roster.

The idea is for when the name is entered, the corresponding shift and
location is automatically populated in to the field.

The crux of the problem lies in the lay out of the data is necessarily
stacked, Shift on one row, Location on the second row. Extracting the
row is a cinch, a simple Vlookup. THe problem comes when I try extract
the corrolating Location below it, I can't. I've tried the Offset
function, but I can't seem to get it to work for me, I won't accept
dynamic references.

There's probably a very simple Macro for it, but my skills aren't
advanced enough to dabble into the creation of my own macros..

Any assisance would be very much appreciated, I'm tearing my hair out
from this one.

Michael J. Lockwood


--
Michael Lockwoo


------------------------------------------------------------------------
Michael Lockwoo's Profile: http://www.excelforum.com/member.php...o&userid=31811
View this thread: http://www.excelforum.com/showthread...hreadid=525979

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Offset Type Lookup

.. Shift on one row, Location on the second row

Venturing a guess here based on the above,
how about trying HLOOKUP ?
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Michael Lockwoo"
<Michael.Lockwoo.255omm_1143173403.2218@excelfor um-nospam.com wrote in
message news:Michael.Lockwoo.255omm_1143173403.2218@excelf orum-nospam.com...

Hello all,

I'm working on an excel sheet that will extrapolate data from a
roster.

The idea is for when the name is entered, the corresponding shift and
location is automatically populated in to the field.

The crux of the problem lies in the lay out of the data is necessarily
stacked, Shift on one row, Location on the second row. Extracting the
row is a cinch, a simple Vlookup. THe problem comes when I try extract
the corrolating Location below it, I can't. I've tried the Offset
function, but I can't seem to get it to work for me, I won't accept
dynamic references.

There's probably a very simple Macro for it, but my skills aren't
advanced enough to dabble into the creation of my own macros..

Any assisance would be very much appreciated, I'm tearing my hair out
from this one.

Michael J. Lockwood


--
Michael Lockwoo


------------------------------------------------------------------------
Michael Lockwoo's Profile:

http://www.excelforum.com/member.php...o&userid=31811
View this thread: http://www.excelforum.com/showthread...hreadid=525979



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Offset Type Lookup

Michael

I am slightly unsure of your data layout. But have assumed this

ColA ColB
NAME HEADING DATA HEADING
name 1 shift
location
name2 shift
location
...

The lookup will get your shift linked to a name but you also need
location.
I think an Index Match could do what you need
=INDEX(B2:B7,1+MATCH(A21,A2:A7,0))
lookup value in A21
The 1+ moves you down a row

hth RES
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael Lockwoo
 
Posts: n/a
Default Offset Type Lookup


Thanks for the response!

I'll certainly give it a try. THe only thing is, being a duty roster,
alot of the data would be redundant.

Michael J. Lockwood


--
Michael Lockwoo


------------------------------------------------------------------------
Michael Lockwoo's Profile: http://www.excelforum.com/member.php...o&userid=31811
View this thread: http://www.excelforum.com/showthread...hreadid=525979

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
Lookup and offset Elliott Excel Discussion (Misc queries) 0 February 23rd 06 10:23 PM
multiple results display after filter function Morphyus C via OfficeKB.com Excel Worksheet Functions 1 August 11th 05 03:17 PM
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
help with offset function Mexage Excel Worksheet Functions 0 May 24th 05 05:18 PM
Lookup Function Problem seve Excel Discussion (Misc queries) 9 February 28th 05 02:46 AM


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