I have an excel where I need to compare between date columns & update remarks.
These date columns are coming from different sources & are not in proper format.
Some are in dd-mm-yy format , some in dd/MM/yyyy format & few in dd/MM/yyyy hh:mm:ss , we dont know the format in which dates will come.
So using excel formula to compare between these type of columns I’m not able to get proper results.
P.S : I tried with Cdate(cellvalue).tostring(dd/MM/yyyy) and also try excact parse but didnt work everytime and showed string is not valid date time or conversion from string to date is not possible.
Could you please let me know the best way to handle this to work on any kind of format or even to handle null values?
Thanks for the reply.
I wouldnt know which formats I will be getting in the input files.
My goal is to have a unified date format (dd/MM/yyyy) in all date columns so that I can compare easily.