A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Comparing data between two columns



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2010, 09:45 PM posted to microsoft.public.excel.misc
ABeezy
external usenet poster
 
Posts: 3
Default Comparing data between two columns

I have a worksheet with two columns that I need to compare data between. I
need to see what is different between one column and the next. There are
number and letter values in the column and about 180+ rows. The information
is scattered throughout the cells so there is no way to filter and check row
by row.

The columns look like this:

July April
MP123456789 MP555555559
MP987654321 MP666 H1258
MP789456123 MP00000 H89
MP987123654 MP123456789

I need something that would tell me that all of the above values are unique
between the two columns except for MP123456789
  #2  
Old May 12th, 2010, 10:01 PM posted to microsoft.public.excel.misc
Martin Fishlock
external usenet poster
 
Posts: 428
Default Comparing data between two columns

Hi:

You can try the countif function and if there are none then it is unique

ie if the codes are in columns a and c and then put the formuae in the
columns b and d.
A B C D
MP123456789 =countif(c:c,a1) MP555555559 =countif(a:a,c1)
MP987654321 =countif(c:c,a2) MP666 H1258 =countif(a:a,c2)
MP789456123 =countif(c:c,a3) MP00000 H89 =countif(a:a,c3)
MP987123654 =countif(c:c,a4) MP123456789 =countif(a:a,c4)

Where there is a number greater than zero means that there is a match.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"ABeezy" wrote:

I have a worksheet with two columns that I need to compare data between. I
need to see what is different between one column and the next. There are
number and letter values in the column and about 180+ rows. The information
is scattered throughout the cells so there is no way to filter and check row
by row.

The columns look like this:

July April
MP123456789 MP555555559
MP987654321 MP666 H1258
MP789456123 MP00000 H89
MP987123654 MP123456789

I need something that would tell me that all of the above values are unique
between the two columns except for MP123456789

  #3  
Old May 13th, 2010, 07:34 AM posted to microsoft.public.excel.misc
Excel_Learner
external usenet poster
 
Posts: 54
Default Comparing data between two columns

You can highlight the unique values by Conditional Formatting as under:

1. Select both the columns,
2. Click on Conditional Formating under Home Tab
3. Select New Rules and select "Format only Unique and duplicate values"
then select Unique from drop-down box and select formating as you desire.

Hope this will work for you.
rgds...

"ABeezy" wrote:

I have a worksheet with two columns that I need to compare data between. I
need to see what is different between one column and the next. There are
number and letter values in the column and about 180+ rows. The information
is scattered throughout the cells so there is no way to filter and check row
by row.

The columns look like this:

July April
MP123456789 MP555555559
MP987654321 MP666 H1258
MP789456123 MP00000 H89
MP987123654 MP123456789

I need something that would tell me that all of the above values are unique
between the two columns except for MP123456789

  #4  
Old May 13th, 2010, 02:14 PM posted to microsoft.public.excel.misc
ABeezy
external usenet poster
 
Posts: 3
Default Comparing data between two columns

Thank you so much! This made it super easy to find unique values!

"Excel_Learner" wrote:

You can highlight the unique values by Conditional Formatting as under:

1. Select both the columns,
2. Click on Conditional Formating under Home Tab
3. Select New Rules and select "Format only Unique and duplicate values"
then select Unique from drop-down box and select formating as you desire.

Hope this will work for you.
rgds...

"ABeezy" wrote:

I have a worksheet with two columns that I need to compare data between. I
need to see what is different between one column and the next. There are
number and letter values in the column and about 180+ rows. The information
is scattered throughout the cells so there is no way to filter and check row
by row.

The columns look like this:

July April
MP123456789 MP555555559
MP987654321 MP666 H1258
MP789456123 MP00000 H89
MP987123654 MP123456789

I need something that would tell me that all of the above values are unique
between the two columns except for MP123456789

  #5  
Old May 13th, 2010, 02:18 PM posted to microsoft.public.excel.misc
ABeezy
external usenet poster
 
Posts: 3
Default Comparing data between two columns

Thank you! This is exactly what I was looking for.

"Martin Fishlock" wrote:

Hi:

You can try the countif function and if there are none then it is unique

ie if the codes are in columns a and c and then put the formuae in the
columns b and d.
A B C D
MP123456789 =countif(c:c,a1) MP555555559 =countif(a:a,c1)
MP987654321 =countif(c:c,a2) MP666 H1258 =countif(a:a,c2)
MP789456123 =countif(c:c,a3) MP00000 H89 =countif(a:a,c3)
MP987123654 =countif(c:c,a4) MP123456789 =countif(a:a,c4)

Where there is a number greater than zero means that there is a match.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"ABeezy" wrote:

I have a worksheet with two columns that I need to compare data between. I
need to see what is different between one column and the next. There are
number and letter values in the column and about 180+ rows. The information
is scattered throughout the cells so there is no way to filter and check row
by row.

The columns look like this:

July April
MP123456789 MP555555559
MP987654321 MP666 H1258
MP789456123 MP00000 H89
MP987123654 MP123456789

I need something that would tell me that all of the above values are unique
between the two columns except for MP123456789

 




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


All times are GMT +1. The time now is 04:29 PM.


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