Comparing columns of ata in 2 different sheets to see if they contain equal values

Jwan622

New Member
Joined
Jul 17, 2013
Messages
40
I have the following columns of data:
Sheet 1:

Name Date
Stock A 1/3/2013
Stock B 1/3/2012
Stock B.3 null
Stock C 4/5/2013
Stock D 6/2/2013
Stock D.1 null
Stock E 7/21/2013
Stock F 9/28/2013
...




Sheet 2
Stock A 1/3/2013
Stock A.3 4/3/2011
Stock B 1/3/2012
Stock C 4/5/2013
Stock D 6/2/2013
Stock D.5 7/8/2013
Stock E 7/21/2013
Stock F 9/28/2013
Stock F.3 11/21/2013
...


How do I compare if the dates are the same on both pages for each stock? Basically, I just want check if Stock A has the same date info on both sheets. Both sheets have stocks that are different from the stocks on the other sheet, but I don't care about the stocks that they have in common. The differences in stock names is just getting in the way when I try to check equivalency using the Exact function. What do I do here?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
you are not explaining this clearly - but =countif(sheet2!a1:a20,a1) will tell you how many times Stock A 1/3/2013 occurs on sheet 2
 
Upvote 0

Forum statistics

Threads
1,216,123
Messages
6,128,975
Members
449,480
Latest member
yesitisasport

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