
Hey,
so I have a column on the left sample_datetime and a column on the right sample_date where i used “=INT(cell to the left)” to get the date only. but it is not getting a value when the date time format changes. and I’m not sure why this is? ive tried changed the format of the cell (datetime) that doesnt turn out a date value to the same format as the one that does but the cell doesnt change.
any ideas on what i can do? and the reason why it doesnt work
01/12/2010 12:30:00 PM
this is what the one that gets a date value looks like in the function bar
the format of the cell is dd/mm/yyyy h:mm
1/13/1994 11:00:00
this is what the one that does not get a date value looks like in the function bar
the format of the cell is general
You must have your system date format set to “dd/mm/yyyy”. The date “01/12/2010” is “first of December” & “1/13/1994” is “first of thirteenth month” which doesn’t make sense.
You either have to change your date format – which doesn’t sound right – or you need to break apart the date using “mid”, “left”, “right”, etc and build the date using “Date(year, month, day)” function.