I am copying dates from an external database to Excel in column A. When I do, dates appear in the format of "mm/dd/yy" (so today shows as 01/28/24). If B2 = today's date and I run the IF statement that says =B2=A2, the return is FALSE even though both A2 and B2 have 01/28/24 in the cells. When I manually type 01/28/24 in A2, all of a sudden B2 returns TRUE.
Why is this happening and how can I fix without re-typing all the dates in column A?
Why is this happening and how can I fix without re-typing all the dates in column A?