Wade Smart
2017-07-17 11:26:06 UTC
This spread sheet has several columns of dates
written MM/DD/YYYY. I need to reverse it to
YYYY/MM/DD. This is what I came up with:
=MID(A17,FIND("/",A17)+4,1024)&"/"&IF(LEN(LEFT(A14,FIND("/",A14)-1))=1,LEFT(A14,FIND("/",A14)-2)&"0"&LEFT(A14,FIND("/",A14)-1))&"/"&MID(A17,FIND("/",A17)+1,2)
I created this using one column as my example
not realizing the other columns dates were
created at a later date and formatted differently.
The column I used the format was Number general.
Another column is Number -//1234 with a format
code of #"/"##"/"#### and another of Date
12/31/1999 format.
This formula will not work on the second and third
columns. Any suggestions how to adapt this or
other ideas?
--
Registered Linux User: #480675
Registered Linux Machine: #408606
Linux since June 2005
written MM/DD/YYYY. I need to reverse it to
YYYY/MM/DD. This is what I came up with:
=MID(A17,FIND("/",A17)+4,1024)&"/"&IF(LEN(LEFT(A14,FIND("/",A14)-1))=1,LEFT(A14,FIND("/",A14)-2)&"0"&LEFT(A14,FIND("/",A14)-1))&"/"&MID(A17,FIND("/",A17)+1,2)
I created this using one column as my example
not realizing the other columns dates were
created at a later date and formatted differently.
The column I used the format was Number general.
Another column is Number -//1234 with a format
code of #"/"##"/"#### and another of Date
12/31/1999 format.
This formula will not work on the second and third
columns. Any suggestions how to adapt this or
other ideas?
--
Registered Linux User: #480675
Registered Linux Machine: #408606
Linux since June 2005
--
To unsubscribe e-mail to: users+***@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived
To unsubscribe e-mail to: users+***@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived