A Microsoft Excel forum. ExcelBanter

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 » ExcelBanter forum » Excel Newsgroups » Excel Discussion (Misc queries)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Seperating duplicate cells



 
 
Thread Tools Display Modes
  #1  
Old June 22nd 05, 10:51 AM
Hayley1982
external usenet poster
 
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
Ads
  #2  
Old June 22nd 05, 11:35 AM
Max
external usenet poster
 
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 <at>yahoo<dot>com
----
"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  
Old June 22nd 05, 11:37 AM
greg7468
external usenet poster
 
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

 




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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 03:29 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 10:23 PM
Protected cells -automatically format to a different color Fred Evans Excel Discussion (Misc queries) 9 December 3rd 04 01: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 04:16 PM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 07:04 PM


All times are GMT +1. The time now is 06:23 PM.


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