Unable to Convert Date in Excel
Solved/Closed
awallsy
Posts
3
Registration date
Friday September 18, 2015
Status
Member
Last seen
September 21, 2015
-
Sep 18, 2015 at 01:59 PM
Ambucias Posts 47310 Registration date Monday February 1, 2010 Status Moderator Last seen February 15, 2023 - Sep 22, 2015 at 04:42 PM
Ambucias Posts 47310 Registration date Monday February 1, 2010 Status Moderator Last seen February 15, 2023 - Sep 22, 2015 at 04:42 PM
Related:
- Cannot change date format in excel
- How to change date format in excel - Guide
- Marksheet format in excel - Guide
- How to change author in excel - Guide
- Format factory - Download - Other
- Change computer name cmd - Guide
4 responses
Mazzaropi
Posts
1985
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
May 24, 2023
147
Sep 18, 2015 at 07:23 PM
Sep 18, 2015 at 07:23 PM
awallsy, Good evening.
If your test came as FALSE then ALL your dates are TEXT.
If all dates follow the same pattern that you mentioned, so I'm able to help you to fix it.
Suppose your date are at column A.
Date at A2 = Apr 1 2013
B2 --> Formula
=DATE(RIGHT(A2,4),VLOOKUP(LEFT(A2,3),$E$2:$F$13,2,FALSE);MID(A2,5,LEN(A2)-9))
Month Table
.....E......F
2...Jan...1
3...Feb...2
4...Mar...3
5...Apr...4
6...Mai...5
7...Jun...6
8...Jul....7
9...Aug...8
10..Sep..9
11..Oct..10
12..Nov..11
13..Dec..12
B2 --> Result --> 01/04/2013
I did an example with a formula implemented to help you:
http://speedy.sh/9Q5Cf/18-09-2015-EN-Kioskea-Date-Convert-TEXT-to-REAL-DATE-OK.xlsx
Now that the date are real date you can change a format using a cell menu format. Try it.
IF you prefer there is another formula.
No table.
B2 --> =DATE(RIGHT(A2,4),ROUNDUP(FIND(LEFT(A2,3),"janfebmaraprmaijunjulaugsepoctnovdec")/3,0),MID(A2,5,LEN(A2)-9))
I prefer the first method.
Is more profissional and elegant way.
Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
If your test came as FALSE then ALL your dates are TEXT.
If all dates follow the same pattern that you mentioned, so I'm able to help you to fix it.
Suppose your date are at column A.
Date at A2 = Apr 1 2013
B2 --> Formula
=DATE(RIGHT(A2,4),VLOOKUP(LEFT(A2,3),$E$2:$F$13,2,FALSE);MID(A2,5,LEN(A2)-9))
Month Table
.....E......F
2...Jan...1
3...Feb...2
4...Mar...3
5...Apr...4
6...Mai...5
7...Jun...6
8...Jul....7
9...Aug...8
10..Sep..9
11..Oct..10
12..Nov..11
13..Dec..12
B2 --> Result --> 01/04/2013
I did an example with a formula implemented to help you:
http://speedy.sh/9Q5Cf/18-09-2015-EN-Kioskea-Date-Convert-TEXT-to-REAL-DATE-OK.xlsx
Now that the date are real date you can change a format using a cell menu format. Try it.
IF you prefer there is another formula.
No table.
B2 --> =DATE(RIGHT(A2,4),ROUNDUP(FIND(LEFT(A2,3),"janfebmaraprmaijunjulaugsepoctnovdec")/3,0),MID(A2,5,LEN(A2)-9))
I prefer the first method.
Is more profissional and elegant way.
Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Mazzaropi
Posts
1985
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
May 24, 2023
147
Sep 21, 2015 at 01:49 PM
Sep 21, 2015 at 01:49 PM
awallsy, Good afternoon.
Try to use:
B2 -->
=DATE(MID(A2,FIND(":",A2)-6,4), VLOOKUP(LEFT(A2,3), $E$2:$F$13,2,FALSE), MID(A2,5,LEN(A2)-16))
Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Try to use:
B2 -->
=DATE(MID(A2,FIND(":",A2)-6,4), VLOOKUP(LEFT(A2,3), $E$2:$F$13,2,FALSE), MID(A2,5,LEN(A2)-16))
Is that what you're looking for?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Mazzaropi
Posts
1985
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
May 24, 2023
147
Sep 18, 2015 at 02:54 PM
Sep 18, 2015 at 02:54 PM
awallsy, Good afternoon.
The source of the problem can be varied.
These dates were imported from another application?
These dates may be as text to Excel, so he can not change format other than by formula.
Take a test:
Select a cell containing one of these dates;
Somewhere use the formula: = ISNUMBER (CELL WITH DATE).
If the answer is TRUE, simply means that the field is really a date.
If it is FALSE means that Excel is considering this date as TEXT.
Please let us know the result of the test so we can advise you effectively.
The source of the problem can be varied.
These dates were imported from another application?
These dates may be as text to Excel, so he can not change format other than by formula.
Take a test:
Select a cell containing one of these dates;
Somewhere use the formula: = ISNUMBER (CELL WITH DATE).
If the answer is TRUE, simply means that the field is really a date.
If it is FALSE means that Excel is considering this date as TEXT.
Please let us know the result of the test so we can advise you effectively.
awallsy
Posts
3
Registration date
Friday September 18, 2015
Status
Member
Last seen
September 21, 2015
Sep 18, 2015 at 05:34 PM
Sep 18, 2015 at 05:34 PM
Hello,
Thank you for the response. It came up as false.
Thank you for the response. It came up as false.
Ambucias
Posts
47310
Registration date
Monday February 1, 2010
Status
Moderator
Last seen
February 15, 2023
11,165
Sep 22, 2015 at 04:42 PM
Sep 22, 2015 at 04:42 PM
Marcilio is a wizard!
Sep 21, 2015 at 12:15 PM
I tried both formulas and neither worked, and I think I know why - I just realized that the dates are also showing a time after them as well. For example "Apr 3 2013 4:32PM"