-3

I got CSV report that has dateTime stamp on it (2020-10-26T18:32:21Z) MS Excel does not recognize it as the date, is there an easy way to get MS recognize as DATE data type?

Thank you

user117911
  • 79
  • 1
  • 6

1 Answers1

0

With data in A1, try:

=DATEVALUE(LEFT(A1,10))

enter image description here

a slight change would be needed if you also needed the time =DATEVALUE(LEFT(A1,10))+TIMEVALUE(MID(A1,12,8))

Gary's Student
  • 95,722
  • 10
  • 59
  • 99