excel - Compare two columns -
probably simple question:
have 2 columns:
a containing datetimes formatted as: m/d/yyyy hh:mm:ss am/pm b containing datetimes (but text!)
from view perspective looks same. put formula column c , see if there is/not diffrence between 2 columns , b. how that?
i tried far: =if(a1=b1,”true”,”false”)
doesn't work @ all.
you can use following:
=a1=value(b1)
you don't need if statement return true or false depending on result.
this work if formatting in column matches locale date format. example doesn't work me because uk formatting day/month/year
not month/day/year
, having column d/m/yyyy ...
works me. if formatting different need extract date using string manipulation , datevalue
+ timevalue
Comments
Post a Comment