Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default Linking two VLOOKUP functions - Excel 2003

Worksheet 1 has one VLOOKUP function that provides an employee ID number
after it has been placed in a cell (via the drop-down list selection of the
last name) which comes from an external data source via an SQL query.

Worksheet 2 contains other employee related data (personnel reviews) that I
want to be able to pull into Worksheet 1 by using this employee ID number to
reference (VLOOKUP?) the same Employee ID number from Worksheet 2 which is
also provided by another external data source and also via an SQL query.

I'm trying to compare the two sets of external data (referenced by the
employee ID number - common to both external data sets) and display this on
Worksheet 1.

In a nutshell I want to use the employee ID number on Worksheet 1 to look at
Worksheet 2, search for a match of employee ID number and to place the most
current personnel review date for that staff member.

I believe using VLOOKUP functions should do this but I'm not sure how to tie
this all together. I appreciate any help that may be offered. If further
information is needed please advise.

Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Linking two VLOOKUP functions - Excel 2003

search for a match of employee ID number and to
place the most current personnel review date for
that staff member.


So you want the most recent date that matches the employee ID. If the data
is sorted or grouped together so that the most recent date for an ID is the
*first* entry for that ID then you could use a basic VLOOKUP since that will
*always* find the first instance of the ID.

If the data is not sorted in that manner then you can use an array** MAX IF
formula:

A1 = lookup ID

=MAX(IF(ID_range=A1,Date_range))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Format as Date

--
Biff
Microsoft Excel MVP


"watermt" wrote in message
...
Worksheet 1 has one VLOOKUP function that provides an employee ID number
after it has been placed in a cell (via the drop-down list selection of
the
last name) which comes from an external data source via an SQL query.

Worksheet 2 contains other employee related data (personnel reviews) that
I
want to be able to pull into Worksheet 1 by using this employee ID number
to
reference (VLOOKUP?) the same Employee ID number from Worksheet 2 which is
also provided by another external data source and also via an SQL query.

I'm trying to compare the two sets of external data (referenced by the
employee ID number - common to both external data sets) and display this
on
Worksheet 1.

In a nutshell I want to use the employee ID number on Worksheet 1 to look
at
Worksheet 2, search for a match of employee ID number and to place the
most
current personnel review date for that staff member.

I believe using VLOOKUP functions should do this but I'm not sure how to
tie
this all together. I appreciate any help that may be offered. If further
information is needed please advise.

Mike



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
linking sheets to summary Excel 2003 Dave Excel Discussion (Misc queries) 0 May 13th 08 10:04 PM
Excel List functions and linking cells Andys Mitten Excel Discussion (Misc queries) 2 November 1st 07 12:14 PM
Linking an Excel 2003 document copied to a Word 2003 document jfg Excel Discussion (Misc queries) 7 July 26th 07 10:16 PM
Difficulty linking cells in Excel 2003 Bruno Excel Worksheet Functions 2 August 21st 06 09:52 PM
Excel 2003 cells not linking littik Excel Discussion (Misc queries) 1 May 31st 06 01:34 PM


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