Hello all,
The subject says it all,
I need to convert the dates in column A to georgian
i'm using the formula =--a1
even tried =DATEVALUE(a1)
it works for some cells, but not with others.
Can you tell me why and how to fix it?
Thanks
Hello all,
The subject says it all,
I need to convert the dates in column A to georgian
i'm using the formula =--a1
even tried =DATEVALUE(a1)
it works for some cells, but not with others.
Can you tell me why and how to fix it?
Thanks
You have strings that are dd/mm/yyyy instead of the expected mm/dd/yyyy.
Use this in B1, and copy down:
=DATE(RIGHT(A1,4),MID(A1,FIND("/",A1)+1,FIND("/",A1,FIND("/",A1)+1)-FIND("/",A1)-1),LEFT(A1,FIND("/",A1)-1))
This can be simplified if you always have two digit days and two digit months:
=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))
Bernie Deitrick
Excel MVP 2000-2010
Likely because your system date is set to mm/dd/yyyy.
Hence, 12/10/17 will evaluate to Dec 10 2017.
But it looks like texts are in dd/mm/yyyy format.
Try below formula.
=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))
Note that above will not work if you have d/m/yyyy text in column A (ex: 13/1/2017).
In that case you'll need additional calculation steps.
?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
― Robert A. Heinlein
Thank you guys for your big help. that did fix my issue, to be honest, I didn't use the formula, I just changed the system data as @CK76 mentioned and all the #value! was gone. Thanks alot.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks