Change text to date format.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,841
Office Version
  1. 365
Platform
  1. Windows
Is it possible to change text like,

Apr 2017
FEB 2017
Feb 2017
To real dates?

<tbody>
</tbody><colgroup><col></colgroup>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Are those in 2 different cells, like A1 is Apr and B1 is 2017 ?

Or both in 1 cell, seperated by a space? Try just =A1+0
 
Upvote 0
Thank you Jonmo1,
They both are in one cell.
Apr 2017
Mar 2017 etc.
I tried, but I got #Value! error.
 
Upvote 0
If =A1+0 gives a #Value! error, that means there is more in that cell than just the text shown.
Check it for leading/trailing spaces etc.

What does this return
=LEN(A1)
 
Upvote 0
Well it should be 8 right?
APR = 3
Space = 1
2017 = 4


So there's something else in there.
Try
=TRIM(A1)+0
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top