Identifiying differences between colums

willia09

New Member
Joined
Dec 23, 2009
Messages
1
I've got 2 separate Excel files with a monthly listing of client Stock Portfolio choices. I want to be able to compare the two separate lists and have excel identify the changes between different months (outputs).

I can't use a pivot table because its stock symbols (so no numbers).....any ideas?

Also, if you know how to incorporate into Misc. Access that would be helpful as well.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Sounds like a job for an array formula.

If you have a single-column range name Data, the following array formula returns a list of the unique items in the range:

=INDEX(Data,SMALL(IF(MATCH(Data,Data,0)=ROW(INDIRECT("1:"&ROWS(Data))),MATCH(Data,Data,0),""),ROW(INDIRECT("1:"&ROWS(Data)))))

Remember that at the end of typing an array formula, you do not use just ENTER. You need to end with CTRL+SHIFT+ENTER. You will know if you did it correctly by reveiwing the cell containing the formula. The formula will be enclosed in { }

Happy Holidays,

General Ledger
 
Upvote 0
You could run this code. Change names to suite
Code:
Option Explicit
Sub CompareColumns()
    Dim c As Range
    For Each c In Range("A1", Range("A65536").End(xlUp))
        If c <> Workbooks("Book3").Sheets("Sheet1").Range(c.Address) Then
            c.Interior.ColorIndex = 36
            Workbooks("Book3").Sheets("Sheet1").Range(c.Address).Interior.ColorIndex = 36
        End If
    Next c
End Sub
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top