How can I convert odd date format to date type?

Certified

Board Regular
Joined
Jan 24, 2012
Messages
189
Hi,

I have a schedule with a the following date format -

19-Jul3 is equal to Jul 19th 2019

19-jul2 is equal to Jul 19th 2019

19-jul is equal to Jul 19th 2019

There schedule starts at 2019.

How can I convert this to an actual date type? The numbers at the end are giving problems..
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Is this just text in a cell? Can you post the data with the XL2BB tool?
 
Upvote 0
If you are intending to use Power Query, there are lots of ways of doing it. The below is just using the interface (no manual M Code).
Hard coding 2019 concerns me a bit though, how will you know when it refers to a different year ?

1628489620644.png
 
Upvote 0

Forum statistics

Threads
1,225,563
Messages
6,185,689
Members
453,315
Latest member
funktgf

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