LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default compare columns

This could be done with a simple worksheet function. With data in columns
$A and $B, put the following formula in cell $C$1 and fill down the extent
of the range. This example has data in $A$1:$B25. Cells in column $A that
can be found in column $B will have a blank string ("") in column $C.

=IF(ISNA(MATCH(A1,$B$1:$B$25,0)),A1,"")

--
Regards,
Bill Renaud



 
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
Compare two columns pm Excel Discussion (Misc queries) 7 July 3rd 08 09:59 PM
compare 2 columns BettysAnswer Excel Worksheet Functions 1 January 27th 06 09:46 PM
Compare all following columns when value is same Allison Excel Programming 4 October 9th 04 12:03 AM
Compare columns of value fl Excel Programming 1 August 4th 04 07:46 PM
Compare to columns fl Excel Programming 1 August 4th 04 07:46 PM


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

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"