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


I have two separate worksheets. Worksheet 1 contains a list of position
#s (personnel). Worksheet 2 contains a list of position #s (Column A)
with individual names (Column B). My task is to compare position #s in
the two worksheets and when they match, copy and paste the corresponding
user name from Worksheet B to Worksheet A adjacent to the appropriate
position #. Any help would be appreciated.


--
leecone
------------------------------------------------------------------------
leecone's Profile: http://www.excelforum.com/member.php...o&userid=31833
View this thread: http://www.excelforum.com/showthread...hreadid=515556

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Compare and Copy

I think you are looking for the VLookup Formula. It looks up a value in a
range of values and returns a corresponding record from the range. If that
is not what you need let me know.
--
HTH...

Jim Thomlinson


"leecone" wrote:


I have two separate worksheets. Worksheet 1 contains a list of position
#s (personnel). Worksheet 2 contains a list of position #s (Column A)
with individual names (Column B). My task is to compare position #s in
the two worksheets and when they match, copy and paste the corresponding
user name from Worksheet B to Worksheet A adjacent to the appropriate
position #. Any help would be appreciated.


--
leecone
------------------------------------------------------------------------
leecone's Profile: http://www.excelforum.com/member.php...o&userid=31833
View this thread: http://www.excelforum.com/showthread...hreadid=515556


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Compare and Copy


Thanks for the response Jim. I too think the VLOOKUP works for the
comparison of values, but the second piece is where I'm stumped

"and when they match, copy and paste the corresponding user name from
Worksheet B to Worksheet A adjacent to the appropriate position #."

Thanks for the help.


--
leecone
------------------------------------------------------------------------
leecone's Profile: http://www.excelforum.com/member.php...o&userid=31833
View this thread: http://www.excelforum.com/showthread...hreadid=515556

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
Compare and Copy CC Excel Discussion (Misc queries) 3 May 29th 08 09:36 PM
compare and copy Arain Excel Discussion (Misc queries) 1 September 18th 06 01:04 PM
compare and copy... sal21 s via OfficeKB.com Excel Programming 0 October 20th 05 12:26 PM
COMPARE AND COPY Tom Excel Programming 2 August 11th 03 12:26 PM
COMPARE AND COPY Tom Ogilvy Excel Programming 0 July 31st 03 04:17 AM


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