Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mr. Smiley
 
Posts: n/a
Default Differences between two columns.

Does anyone out there know a simpleway to compare the values in two different
columns on an Excel spreadhseet and pick out all of the cells in the first
number that have a value that the second column doesn't have? Thanks.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Say your two columns are A and C (of the same worksheet).

Put this in B1 and drag down to the length of column A:

=isnumber(match(a1,c:c,0))

Apply data|filter|autofilter to column B.

True = there's a match
false = no match

Chip Pearson has lots of ways to work with duplicates/uniques at:
http://www.cpearson.com/excel/duplicat.htm

Mr. Smiley wrote:

Does anyone out there know a simpleway to compare the values in two different
columns on an Excel spreadhseet and pick out all of the cells in the first
number that have a value that the second column doesn't have? Thanks.


--

Dave Peterson
  #3   Report Post  
paige
 
Posts: n/a
Default

i use the formula =exact() for this.

"Mr. Smiley" wrote:

Does anyone out there know a simpleway to compare the values in two different
columns on an Excel spreadhseet and pick out all of the cells in the first
number that have a value that the second column doesn't have? Thanks.

  #4   Report Post  
Dan
 
Posts: n/a
Default

What if the columns are on different worksheets of the same workbook?

"paige" wrote:

i use the formula =exact() for this.

"Mr. Smiley" wrote:

Does anyone out there know a simpleway to compare the values in two different
columns on an Excel spreadhseet and pick out all of the cells in the first
number that have a value that the second column doesn't have? Thanks.

  #5   Report Post  
Jay
 
Posts: n/a
Default

Does anyone out there know a simpleway to compare the values in two
different columns on an Excel spreadhseet and pick out all of the
cells in the first number that have a value that the second column
doesn't have? Thanks.


One way is to use conditional formatting.

Suppose the first column is A and the second is B.

Select A1 and use
Format Conditional formatting Formula is
Then put for the formula
=COUNTIF(B:B, A1)=0
Then click
Format Patterns
And choose a background color of your choice, followed by clicking OK and
OK again.

Finally, with A1 still selected, click the paintbrush and then spread the
paint down the list of values in column A; this paints the conditional
formatting onto those cells.
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
Columns FemIce Excel Discussion (Misc queries) 1 September 28th 05 09:29 AM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Compare 2 columns to see differences Bugaglugs Excel Worksheet Functions 4 July 13th 05 02:55 AM
Hidden Columns in Shared Workbooks Rotary Excel Discussion (Misc queries) 1 July 9th 05 12:28 AM
Counting differences in numbers across columns Ted Metro Excel Worksheet Functions 3 March 11th 05 09:50 PM


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