Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Trish Rice
 
Posts: n/a
Default URGENT - Merge/compare workbooks

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE HELP!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ken Hudson
 
Posts: n/a
Default URGENT - Merge/compare workbooks

Hi Trish,
Assume that, on Sheet1, the emp ID is in column A, the employment date is in
column B, and column C is empty.
Assume that, on Sheet2, the emp ID is in column A and the training dates are
in column B.
Enter this formula in cell C1 on Sheet1. You'll need to adjust the $B$5
reference to reflect the last row of data on Sheet2. Then copy the formula
down.

=VLOOKUP(A1,Sheet2!$A$1:$B$5,2,FALSE)

HTH
--
Ken Hudson


"Trish Rice" wrote:

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE HELP!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Trish Rice
 
Posts: n/a
Default URGENT - Merge/compare workbooks

Thanks Ken! That's got me on the right track, but it only merged the header
in row 1, not the data in rows 2 through 5. Any thoughts?

"Ken Hudson" wrote:

Hi Trish,
Assume that, on Sheet1, the emp ID is in column A, the employment date is in
column B, and column C is empty.
Assume that, on Sheet2, the emp ID is in column A and the training dates are
in column B.
Enter this formula in cell C1 on Sheet1. You'll need to adjust the $B$5
reference to reflect the last row of data on Sheet2. Then copy the formula
down.

=VLOOKUP(A1,Sheet2!$A$1:$B$5,2,FALSE)

HTH
--
Ken Hudson


"Trish Rice" wrote:

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE HELP!

  #4   Report Post  
Posted to microsoft.public.excel.misc
Ken Hudson
 
Posts: n/a
Default URGENT - Merge/compare workbooks

Please post back a sample of each worksheet so I can see the layouts.
--
Ken Hudson


"Trish Rice" wrote:

Thanks Ken! That's got me on the right track, but it only merged the header
in row 1, not the data in rows 2 through 5. Any thoughts?

"Ken Hudson" wrote:

Hi Trish,
Assume that, on Sheet1, the emp ID is in column A, the employment date is in
column B, and column C is empty.
Assume that, on Sheet2, the emp ID is in column A and the training dates are
in column B.
Enter this formula in cell C1 on Sheet1. You'll need to adjust the $B$5
reference to reflect the last row of data on Sheet2. Then copy the formula
down.

=VLOOKUP(A1,Sheet2!$A$1:$B$5,2,FALSE)

HTH
--
Ken Hudson


"Trish Rice" wrote:

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE HELP!

  #5   Report Post  
Posted to microsoft.public.excel.misc
Trish Rice
 
Posts: n/a
Default URGENT - Merge/compare workbooks

Ken-
It's basically the same as your assumptio:

Sheet 1
Column A Column B Column C
UNID DOE (blank)
101 1/1/2004
102 3/4/2000
103 6/7/2004
104 8/9/2002

Sheet 2
Column A Column B Column C
UNID Training (blank)
101 Y
102 N
103 Y
104 Y

I have Sheet 1 & sheet 2 in the same workbook.

Thanks!
-Trish


"Ken Hudson" wrote:

Please post back a sample of each worksheet so I can see the layouts.
--
Ken Hudson


"Trish Rice" wrote:

Thanks Ken! That's got me on the right track, but it only merged the header
in row 1, not the data in rows 2 through 5. Any thoughts?

"Ken Hudson" wrote:

Hi Trish,
Assume that, on Sheet1, the emp ID is in column A, the employment date is in
column B, and column C is empty.
Assume that, on Sheet2, the emp ID is in column A and the training dates are
in column B.
Enter this formula in cell C1 on Sheet1. You'll need to adjust the $B$5
reference to reflect the last row of data on Sheet2. Then copy the formula
down.

=VLOOKUP(A1,Sheet2!$A$1:$B$5,2,FALSE)

HTH
--
Ken Hudson


"Trish Rice" wrote:

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE HELP!



  #6   Report Post  
Posted to microsoft.public.excel.misc
Ken Hudson
 
Posts: n/a
Default URGENT - Merge/compare workbooks

Okay, so put this formula in cell C2 on Sheet1.

=VLOOKUP(A2,Sheet2!$A$2:$B$5,2,FALSE)

Change the number 5 in the $B$5 part of the entry to the last row number on
sheet2.

It will use the ID from cell A2 on sheet1, go to Sheet2, find the ID in
column A, and return the corresponding entry from column B on Sheet2.

The you'll need to copy the formula in cell C2 down the rest of the rows in
column C.


--
Ken Hudson


"Trish Rice" wrote:

Ken-
It's basically the same as your assumptio:

Sheet 1
Column A Column B Column C
UNID DOE (blank)
101 1/1/2004
102 3/4/2000
103 6/7/2004
104 8/9/2002

Sheet 2
Column A Column B Column C
UNID Training (blank)
101 Y
102 N
103 Y
104 Y

I have Sheet 1 & sheet 2 in the same workbook.

Thanks!
-Trish


"Ken Hudson" wrote:

Please post back a sample of each worksheet so I can see the layouts.
--
Ken Hudson


"Trish Rice" wrote:

Thanks Ken! That's got me on the right track, but it only merged the header
in row 1, not the data in rows 2 through 5. Any thoughts?

"Ken Hudson" wrote:

Hi Trish,
Assume that, on Sheet1, the emp ID is in column A, the employment date is in
column B, and column C is empty.
Assume that, on Sheet2, the emp ID is in column A and the training dates are
in column B.
Enter this formula in cell C1 on Sheet1. You'll need to adjust the $B$5
reference to reflect the last row of data on Sheet2. Then copy the formula
down.

=VLOOKUP(A1,Sheet2!$A$1:$B$5,2,FALSE)

HTH
--
Ken Hudson


"Trish Rice" wrote:

I have two worksheets with a common unique identifier for each employee. One
worksheet has the date of employment, and the other worksheet has a list of
training courses that have been completed by each employee. I need to
identify employees hired within a date range and check to see if they have
all completed their courses. This would be fairly easy if I could merge the
spreadsheets and sort by date of employment. I've been told that the best way
to handle this is to do a comparative analysis using vlookup, but I can't
find any info on that process.

PLEASE 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
Links auto update on some workbooks but not others Tasza Excel Worksheet Functions 1 October 25th 05 01:04 AM
URGENT!!! shared workbooks A.G.M ash Excel Discussion (Misc queries) 5 May 27th 05 02:53 AM
URGENT!!! shared workbooks A.G.M ash Excel Worksheet Functions 1 May 26th 05 10:17 PM
Consolidate different sheets to different workbooks markx Excel Worksheet Functions 3 April 26th 05 03:30 PM
Workbooks...I'll try this again... Markster Excel Discussion (Misc queries) 10 December 7th 04 10:12 PM


All times are GMT +1. The time now is 11:35 PM.

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"