Last active
April 24, 2018 21:57
-
-
Save james4388/203aa2aa549133226e5fe31eea1dec99 to your computer and use it in GitHub Desktop.
Excel ISO-8601 convert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=DATEVALUE(LEFT(A1,10)) | |
+ TIMEVALUE(MID(A1,12,8)) | |
+ IF("Z"=MID(A1,20,LEN(A1)-19),0,(INT(MID(A1,20,LEN(A1)-19)/100)*60+MOD(MID(A1,20,LEN(A1)-19),100))/1440) | |
# Credit http://www.kddart.org/help/kdsmart/html/excel-support.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment