Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 8
Default COMPARE AND COPY

I need the ability to take a part number from column C and find it in
column A and when it finds a match, copy the contents from the
corresponding cell in column B and paste it in the cell in column D
next to the corresponding part number in column C. An example would
be finding part number 00323 in cell C6 and matching it to the part
number in cell A7 and copying PTS from cell B7 to cell D6 or finding
part number 00350 in cells C8, C9, and C10 and matching with the same
part number in cell A9 and copying ACC from cell B9 to cells D8, D9
and D10.

Thanks for any and all help.

Tom




A B C D E
PART_NBR2 SPC Part Number. WC

1 00063 LSI 00069 126
2 00144 BKS 00069 127
3 00207 PAR 00159 126
4 00227 LSI 00159 127
5 00293 LSI 00276 109
6 00307 LSI 00323 700
7 00323 PTS 00349 126
8 00349 ACC 00350 113
9 00350 ACC 00350 113
10 00358 LSI 00350 121
11 00359 LSI 00372 126
12 00361 LSI 00372 127
13 00399 BKS 00378 126
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default COMPARE AND COPY

Enter in D6 =VLOOKUP(C6,A1:B13,2,FALSE)

Array enter in D8:D10 =VLOOKUP(C8:C10,A1:B13,2,FALSE)

Alan Beban

Tom wrote:
I need the ability to take a part number from column C and find it in
column A and when it finds a match, copy the contents from the
corresponding cell in column B and paste it in the cell in column D
next to the corresponding part number in column C. An example would
be finding part number 00323 in cell C6 and matching it to the part
number in cell A7 and copying PTS from cell B7 to cell D6 or finding
part number 00350 in cells C8, C9, and C10 and matching with the same
part number in cell A9 and copying ACC from cell B9 to cells D8, D9
and D10.

Thanks for any and all help.

Tom




A B C D E
PART_NBR2 SPC Part Number. WC

1 00063 LSI 00069 126
2 00144 BKS 00069 127
3 00207 PAR 00159 126
4 00227 LSI 00159 127
5 00293 LSI 00276 109
6 00307 LSI 00323 700
7 00323 PTS 00349 126
8 00349 ACC 00350 113
9 00350 ACC 00350 113
10 00358 LSI 00350 121
11 00359 LSI 00372 126
12 00361 LSI 00372 127
13 00399 BKS 00378 126


  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Tom is offline
external usenet poster
 
Posts: 8
Default COMPARE AND COPY

Thanks, that worked great.

I inserted a column in front of Column A and now i need to take the
list, that is now in Column B and look for a match in the list that is
now in Column D and if it doesn't find a match, then paste the words,
NO MATCH, in Column A next to the corresponding part number in column
B.
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 AJM1949 Excel Discussion (Misc queries) 2 April 6th 06 07:07 AM
Compare and copy Mary Excel Worksheet Functions 2 January 24th 06 04:22 AM
COMPARE AND COPY Tom Ogilvy Excel Programming 0 July 31st 03 04:17 AM


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