Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default comparing two columns

I have a spreadsheet in Excel 2000 that has two columns. Basically I
want to find out which of the lesser-number-of-numbers columns has a
matching number in the larger-number-of-numbers column. It would look
like this

A B
-------- --------
1561465 1561465 <
1654345 4564343
1545485 8452154 <
8452154 1454654
1654652 1365145
1546848 8545212
9546531 2584521
6543546 1564654
5452133 2154542
1777754
8959599
9546531 <

Thanks! for anyone's help

BrianCampbell

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default comparing two columns

We can use conditional formatting:

say the data are in columns A & B

Select A1 and pull-down Format Conditional Formatting...
Select Formula Is and enter:
=(COUNTIF(B$1:B$65536,A1)0) and select a bright background color
copy this cell and paste/special format down the whole column

then

Select B1 and pull-down Format Conditional Formatting...
Select Formula Is and enter:
=(COUNTIF(A$1:A$65536,B1)0) and select a bright background color
copy this cell and paste/special format down the whole column


All the matches will be hi-lighted

--
Gary''s Student


" wrote:

I have a spreadsheet in Excel 2000 that has two columns. Basically I
want to find out which of the lesser-number-of-numbers columns has a
matching number in the larger-number-of-numbers column. It would look
like this

A B
-------- --------
1561465 1561465 <
1654345 4564343
1545485 8452154 <
8452154 1454654
1654652 1365145
1546848 8545212
9546531 2584521
6543546 1564654
5452133 2154542
1777754
8959599
9546531 <

Thanks! for anyone's help

BrianCampbell


  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default comparing two columns

In C1 put this formula and copy down.....

=IF(ISNA(VLOOKUP(B1,A:A,1,FALSE)),"","<")

Vaya con Dios,
Chuck, CABGx3



wrote in message
oups.com...
I have a spreadsheet in Excel 2000 that has two columns. Basically I
want to find out which of the lesser-number-of-numbers columns has a
matching number in the larger-number-of-numbers column. It would look
like this

A B
-------- --------
1561465 1561465 <
1654345 4564343
1545485 8452154 <
8452154 1454654
1654652 1365145
1546848 8545212
9546531 2584521
6543546 1564654
5452133 2154542
1777754
8959599
9546531 <

Thanks! for anyone's help

BrianCampbell



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
Comparing multiple columns daarun New Users to Excel 3 December 23rd 05 01:17 PM
Comparing Columns, Then copying data jdb Excel Discussion (Misc queries) 1 December 16th 05 07:01 PM
Comparing stacked columns [email protected] Charts and Charting in Excel 0 December 6th 05 04:40 AM
comparing columns dfeld71 Excel Discussion (Misc queries) 2 July 14th 05 11:00 AM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM


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

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

About Us

"It's about Microsoft Excel"