try
=IF(VLOOKUP(VALUE(TEXT(B6,"yyyymm")),A:A,1),1,2)
or
=IF(MATCH(VALUE(TEXT(B7,"yyyymm")),A:A,-1),1,2)
--
Don Guillett
SalesAid Software
"carl" wrote in message
...
I have data from 2 sources. I would like to match up the data that is
tagged
with the same month and year data. For example:
data set 1
Date Product
200503 ABC
data set 2
ColA ColB ColC
Date Product
3/18/2005 ABC TRUE
5/15/2006 ABC FALSE
I am trying to find a formula to place in Col C of data set 2 that will
return true if the month and year are the same. Is it possible ?
Thank you in advance.