#1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Tough one

Okay, I have 2 columns containing a lot of the same data, but they alos have
different data. Essentially I am trying to match up the ones that match, and
have a record somewhere else in the sheet of the ones that did not have
partners, and what columns they were from. Here is an example.

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N
Now I need columns B and C to match up the ones that are the same, without
chaning the data in the rest. Column 'C' can move, but all the others must
stay the same. Any suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Tough one

You have me quite puzzled. Are we talking about a row sort or not? Perhaps
"before" and "after" sample shots would help your explanation.

"Ben" wrote:

Okay, I have 2 columns containing a lot of the same data, but they alos have
different data. Essentially I am trying to match up the ones that match, and
have a record somewhere else in the sheet of the ones that did not have
partners, and what columns they were from. Here is an example.

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N
Now I need columns B and C to match up the ones that are the same, without
chaning the data in the rest. Column 'C' can move, but all the others must
stay the same. Any suggestions.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Tough one

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N

What I need it to look like is this...

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100202928 100202928 76 1B31C1 82.08 N
223 100203272 100203272 8 1B08C2 28.48 N

I can do it individually, but there are 4000 comcodes that I have to match,
and I do not have that kind of time with this project. Essentially I need
the Comcode column to match to the Item_I column, however, some will not have
matches. I also neeed the other data to stay locked in place with respect to
the Item_I column. Sorry it is not that clear, it is rather complicated and
it is hard for me to explain.

"Kevryl" wrote:

You have me quite puzzled. Are we talking about a row sort or not? Perhaps
"before" and "after" sample shots would help your explanation.

"Ben" wrote:

Okay, I have 2 columns containing a lot of the same data, but they alos have
different data. Essentially I am trying to match up the ones that match, and
have a record somewhere else in the sheet of the ones that did not have
partners, and what columns they were from. Here is an example.

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N
Now I need columns B and C to match up the ones that are the same, without
chaning the data in the rest. Column 'C' can move, but all the others must
stay the same. Any suggestions.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Tough one

Hi Ben,

How about VLookup? Something like this should work:

VLookup(I2, $J$2:$J$8000, 1, False)

You need to insert this in a separate column. I assumed that Item_I is
in column I and starts at index 2 (therefore I2). Also, you may have to
adjust 8000 to whatever the actual number of rows is. Insert it in any
column in row 2 , and drag it down to the last row. If there is a
match, VLookup will return the Comcode, or else #N/A.

Hope that helps.
Steve
www.stkomp.com

Ben wrote:
LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N

What I need it to look like is this...

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100202928 100202928 76 1B31C1 82.08 N
223 100203272 100203272 8 1B08C2 28.48 N

I can do it individually, but there are 4000 comcodes that I have to match,
and I do not have that kind of time with this project. Essentially I need
the Comcode column to match to the Item_I column, however, some will not have
matches. I also neeed the other data to stay locked in place with respect to
the Item_I column. Sorry it is not that clear, it is rather complicated and
it is hard for me to explain.

"Kevryl" wrote:

You have me quite puzzled. Are we talking about a row sort or not? Perhaps
"before" and "after" sample shots would help your explanation.

"Ben" wrote:

Okay, I have 2 columns containing a lot of the same data, but they alos have
different data. Essentially I am trying to match up the ones that match, and
have a record somewhere else in the sheet of the ones that did not have
partners, and what columns they were from. Here is an example.

LOC_I ITEM_I COMCODE ONHAND_Q PRIM_WH_SEC_C $$ on Hand REEL
223 100047018 100047018 360 1C07E1 280.8 N
223 100050442 100202928 76 1B31C1 82.08 N
223 100202928 100203272 8 1B08C2 28.48 N
223 100203272 100414770 143 1B25F1 180.18 N
223 100203348 100959279 553 1A06D1 474.7 N
086 100203363 100959899 4 P024B3 10.2 N
Now I need columns B and C to match up the ones that are the same, without
chaning the data in the rest. Column 'C' can move, but all the others must
stay the same. Any suggestions.


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
a tough question - calculating a number out of an alphanumeric code usingexcel Excel Discussion (Misc queries) 2 August 3rd 06 06:07 PM
Tough: Vlookup, Match, Sumproduct? To create list of persistence SteveC Excel Discussion (Misc queries) 1 June 5th 06 03:34 PM
Tough number crunch! Arty Morty Excel Discussion (Misc queries) 3 March 1st 06 02:16 AM
Still could use help on a tough VLOOKUP KenRamoska Excel Worksheet Functions 1 June 22nd 05 04:35 PM
Tough problem with rotas Scott Cheesman Excel Discussion (Misc queries) 0 April 2nd 05 10:51 AM


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