A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

One partial table, one master table - update the partial



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 05:11 PM posted to microsoft.public.excel.misc
boilermaker
external usenet poster
 
Posts: 2
Default One partial table, one master table - update the partial

I've got a listing of 3000 personnel. Personnel in column A, supervisors in
column B.
In a separate worksheet, I have a listing of 400 personnel in column A.
Same names in column A, sheet 1 as in column A, sheet 2, just a shorter
listing in sheet 1.(smaller worksheet).

Short list: Sheet 1
Master list: Sheet 2

How do I get EXCEL to compare sheet 1 with sheet 2, and fill in the
appropriate supervisor in sheet 1?
  #2  
Old May 28th, 2010, 05:24 PM posted to microsoft.public.excel.misc
tim m
external usenet poster
 
Posts: 418
Default One partial table, one master table - update the partial

You can use VLOOKUP to find the supervisors for sheet 1 from sheet 2
In the column next to the personell in the short list try this formula

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

The formula will look at A1 in your short list. It will then go to sheet2
(or the name of your master list) to find the persons name. Once found it
will look at the 2nd column from the name (name 1st column, supervisor 2nd
column) and will return the supervisors name. The FALSE part just tells the
formula that you want an exact match.

See if that works for you.


"boilermaker" wrote:

I've got a listing of 3000 personnel. Personnel in column A, supervisors in
column B.
In a separate worksheet, I have a listing of 400 personnel in column A.
Same names in column A, sheet 1 as in column A, sheet 2, just a shorter
listing in sheet 1.(smaller worksheet).

Short list: Sheet 1
Master list: Sheet 2

How do I get EXCEL to compare sheet 1 with sheet 2, and fill in the
appropriate supervisor in sheet 1?

  #3  
Old May 28th, 2010, 05:27 PM posted to microsoft.public.excel.misc
Luke M[_4_]
external usenet poster
 
Posts: 451
Default One partial table, one master table - update the partial

=VLOOKUP(A2,'Sheet 2'!A:B,2,FALSE)

--
Best Regards,

Luke M
"boilermaker" wrote in message
...
I've got a listing of 3000 personnel. Personnel in column A, supervisors
in
column B.
In a separate worksheet, I have a listing of 400 personnel in column A.
Same names in column A, sheet 1 as in column A, sheet 2, just a shorter
listing in sheet 1.(smaller worksheet).

Short list: Sheet 1
Master list: Sheet 2

How do I get EXCEL to compare sheet 1 with sheet 2, and fill in the
appropriate supervisor in sheet 1?



  #4  
Old May 28th, 2010, 08:33 PM posted to microsoft.public.excel.misc
boilermaker
external usenet poster
 
Posts: 2
Default One partial table, one master table - update the partial

Thank you, Tim and Luke.
I'm darned close, but not quite there. And I now realize why.
One part of the database had a middle initial, yet the other part of the
database did not.
Not a real problem, yet.

The formula worked, but not quite right (I removed the "FALSE" statement).
Most of the supervisors are one row higher than they should be.

Now I need to figure out how to remove the middle initial, and maybe it'll
work as designed.

Thanks again.

Rick (BoilerMaker)
(I could send you the file to look at if you'd like. I'd rather learn by
myself with a little help though, as I have a real problem with other people
doing my job for me)

"Luke M" wrote:

=VLOOKUP(A2,'Sheet 2'!A:B,2,FALSE)

--
Best Regards,

Luke M
"boilermaker" wrote in message
...
I've got a listing of 3000 personnel. Personnel in column A, supervisors
in
column B.
In a separate worksheet, I have a listing of 400 personnel in column A.
Same names in column A, sheet 1 as in column A, sheet 2, just a shorter
listing in sheet 1.(smaller worksheet).

Short list: Sheet 1
Master list: Sheet 2

How do I get EXCEL to compare sheet 1 with sheet 2, and fill in the
appropriate supervisor in sheet 1?



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:34 AM.


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