Using if

halmirza Posts 1 Registration date Tuesday April 7, 2015 Status Member Last seen April 7, 2015 - Apr 7, 2015 at 06:47 AM
I am trying to use IF condition for the below situation
Copying data from sheet1 to cell's A sheet 2 if cell's "A" sheet 1 equals date from cell's "B" sheet1,Nither blank
My formula is