Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hayley1982
 
Posts: n/a
Default Seperating duplicate cells

I have two columns (column a & column b) column A has a list of 29,000
chassis numbers, column B has a list of 11,000 chassis numbers, i need a way
to create a new column that shows a list of all the chassis numbers that do
not match between columns a & b
  #2   Report Post  
Max
 
Posts: n/a
Default

One way ..

Assuming the data is in cols A (29K) and B (11K),
from row1 down

Put in D1:
=IF(ISERROR(SMALL(E:E,ROWS($A$1:A1))),"",INDEX(A:A ,MATCH(SMALL(E:E,ROWS($A$1
:A1)),E:E,0)))

Put in E1:
=IF(ISNUMBER(MATCH(A1,B:B,0)),"",ROW())

Select D1:E1, copy down to E29000

Col D will return all chassis #s in col A which do not match with those in
col B, neatly bunched at the top

Put in F1:
=IF(ISERROR(SMALL(G:G,ROWS($A$1:A1))),"",INDEX(B:B ,MATCH(SMALL(G:G,ROWS($A$1
:A1)),G:G,0)))

Put in G1:
=IF(ISNUMBER(MATCH(B1,A:A,0)),"",ROW())

Select F1:G1, copy down to G11000

Col F will return all chassis #s in col B which do not match with those in
col A, neatly bunched at the top

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Hayley1982" wrote in message
...
I have two columns (column a & column b) column A has a list of 29,000
chassis numbers, column B has a list of 11,000 chassis numbers, i need a

way
to create a new column that shows a list of all the chassis numbers that

do
not match between columns a & b



  #3   Report Post  
greg7468
 
Posts: n/a
Default


Hi Hayley,

assuming your data is in A1;A29000 and B1:B11000

In C1 put this formula


=IF(B1=VLOOKUP(B1,A1:A29000,1),"match",B1)

This will give either a match or the chassis number if there is no
match

you can then sort the data in column C numerically ascending to give
all the chassis numbers to the top

Or you could autofilter custom column C and show values not equal to
match

Don't forget column A will have to be in numerical order for VLOOKUP to
work.

HTH.


--
greg7468


------------------------------------------------------------------------
greg7468's Profile: http://www.excelforum.com/member.php...fo&userid=9031
View this thread: http://www.excelforum.com/showthread...hreadid=381158

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
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 12:59 PM
how can I duplicate or copy a workbook then divide selected cells. macros excel... duplication and calculat Excel Discussion (Misc queries) 1 November 29th 04 03:16 PM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 06:04 PM


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