• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Comparing 2 dates (in different format)

sdsurzh

Member
Hi,


How do I will compare 2 different format dates?


A1 = 13/02/2012 (DD/MM/YYY/)

B2 = 20100213 (YYYYMMDD)

C2 = TRUE ( I need formula)


Thanks in advance,

Suresh Kumar S
 
Hi Suresh ,


Convert the date which is in dd/mm/yyyy format to the other format , using :


=VALUE(TEXT(A1,"yyyymmdd"))


Now the above value can be compared to B2.


Narayan
 
Back
Top