A 'week' is not well defined; but if you mean a week as any 7 days (not a
calendar week) then
=IF(B1-A1>7*12,"More than 12 weeks","less")
will work
You can put anything within the quotes.
If you want a blank rather than "less", use
=IF(B1-A1>7*12,"More than 12 weeks","")
best wishes
--
Bernard Liengme
http://people.stfx.ca/bliengme
Microsoft Excel MVP
"excelitous" <(E-Mail Removed)> wrote in message
news:E262489A-3F6F-4959-AFB5-(E-Mail Removed)...
> Hi can any one help me. I need to find out which dates within one column
> are
> less than 12 weeks apart from dates in another column.
> For example:
>
> Column A 12/03/2009 14/03/2009
> Column B 14/04/2009 16/06/2009
> I have two columns with 2000 records in and need to identify these records