Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Find differenced between two columns...

Currently we are sorting these lists by hand and this should be something
that MS Excel could do... How can we acomplish this?

We have two text columns containing similar data. We want to identify which
values exist in one column but not the other.

Currently we sort each column in ascending order. Then manual check the
value in column 1 against the value in column 2. If column 1 is bigger than
2 we insert a blank cell in column 1. If column 2 is bigger than column 1 we
insert a blank cell in column 2.

Once we are complete, we can see what values are in each column because
there is a value in column 1 and column 2. We delete these rows. This leaves
us with only the unique values for each column...

E.g.

We start with these columns:
#1 #2
A1 A3
DA A2
B4 B3
C1 D9
A2 B5
B9

...after sorting...
#1 #2
A1 A2
A2 A3
B4 B3
B9 B5
C1 B9
DA

....after comparing columns...

#1 #2
A1
A2 A2
A3
B3
B4
B5
B9 B9
C1
DA

....after deleting duplicates...

#1 #2
A1
A3
B3
B4
B5
C1
DA

The final list are all the unique values found in each column.


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Find differenced between two columns...

http://www.cpearson.com/excel/duplicat.htm

demonstrates many approaches for these type problems.

--
Regards,
Tom Ogilvy


"Noozer" wrote in message
news:tiYsf.218334$Gd6.7646@pd7tw3no...
Currently we are sorting these lists by hand and this should be something
that MS Excel could do... How can we acomplish this?

We have two text columns containing similar data. We want to identify

which
values exist in one column but not the other.

Currently we sort each column in ascending order. Then manual check the
value in column 1 against the value in column 2. If column 1 is bigger

than
2 we insert a blank cell in column 1. If column 2 is bigger than column 1

we
insert a blank cell in column 2.

Once we are complete, we can see what values are in each column because
there is a value in column 1 and column 2. We delete these rows. This

leaves
us with only the unique values for each column...

E.g.

We start with these columns:
#1 #2
A1 A3
DA A2
B4 B3
C1 D9
A2 B5
B9

..after sorting...
#1 #2
A1 A2
A2 A3
B4 B3
B9 B5
C1 B9
DA

...after comparing columns...

#1 #2
A1
A2 A2
A3
B3
B4
B5
B9 B9
C1
DA

...after deleting duplicates...

#1 #2
A1
A3
B3
B4
B5
C1
DA

The final list are all the unique values found in each column.




  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Find differenced between two columns...

Good stuff!

Thanks!


"Tom Ogilvy" wrote in message
...
http://www.cpearson.com/excel/duplicat.htm

demonstrates many approaches for these type problems.

--
Regards,
Tom Ogilvy


"Noozer" wrote in message
news:tiYsf.218334$Gd6.7646@pd7tw3no...
Currently we are sorting these lists by hand and this should be something
that MS Excel could do... How can we acomplish this?

We have two text columns containing similar data. We want to identify

which
values exist in one column but not the other.

Currently we sort each column in ascending order. Then manual check the
value in column 1 against the value in column 2. If column 1 is bigger

than
2 we insert a blank cell in column 1. If column 2 is bigger than column 1

we
insert a blank cell in column 2.

Once we are complete, we can see what values are in each column because
there is a value in column 1 and column 2. We delete these rows. This

leaves
us with only the unique values for each column...

E.g.

We start with these columns:
#1 #2
A1 A3
DA A2
B4 B3
C1 D9
A2 B5
B9

..after sorting...
#1 #2
A1 A2
A2 A3
B4 B3
B9 B5
C1 B9
DA

...after comparing columns...

#1 #2
A1
A2 A2
A3
B3
B4
B5
B9 B9
C1
DA

...after deleting duplicates...

#1 #2
A1
A3
B3
B4
B5
C1
DA

The final list are all the unique values found in each column.






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
Find the first value in a row and sum n columns [email protected] Excel Worksheet Functions 5 October 15th 05 09:49 AM
Find min/max in 2 combined columns Tammi Excel Worksheet Functions 3 June 22nd 05 08:19 PM
find the max in different columns gcheatwood Excel Discussion (Misc queries) 1 April 19th 05 07:04 AM
find and delete duplicate entries in two columns or find and prin. campare 2 columns of numbers-find unique Excel Programming 1 November 24th 04 04:09 PM
find columns CG Rosén Excel Programming 3 November 1st 03 06:56 PM


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