Dineshkumar
Dineshkumar

Reputation: 1548

How to convert String with GMT Values to Date in Excel?

I have a list of date values like, November 23, 2016 4:21:02 PM GMT-06:00. How to sort this in Excel? I would like to know the possible formula (or how to make one) to get the date out of it.

Upvotes: 1

Views: 1572

Answers (1)

Scott Craner
Scott Craner

Reputation: 152585

use this formula:

=INT(--LEFT(A1,FIND("GMT",A1)-1))

Then format the date as you would like.

enter image description here

Upvotes: 2

Related Questions