how to split "date@time" format. Please help

Mvirone81

New Member
Joined
Jan 11, 2016
Messages
3
Hello,
I have in column C a long list of date and time in the following format:
01/05@0558

<tbody>
</tbody>
Where 01/05 is the date and 0558 are the 5:58 AM

How can I split the format in two different columns and with the correct date (mm/dd/yyyy) and time (hh:mm) notation?

Thank you so much,

MV
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
01/05 is not a date - the year is missing.
 
Upvote 0
To get the date (it will assume the current year)
=LEFT(A1,5)+0
Format the cell in your desired Date Format

To get the time
=TEXT(RIGHT(A1,4),"00\:00")+0
Format the cell in your desired Time format
 
Upvote 0
The year is not required to be entered with a date in Excel. When it's omitted, the current year is assumed.
Did OP mention he needs current year?
 
Last edited:
Upvote 0
To get the date (it will assume the current year)
=LEFT(A1,5)+0
Format the cell in your desired Date Format

To get the time
=TEXT(RIGHT(A1,4),"00\:00")+0
Format the cell in your desired Time format


Thank you very much. Super Helpful
 
Upvote 0
Did OP mention he needs current year?
Nope.

I'm just clarifying that the lack of a specified year does NOT mean the given value is NOT a date.
Just following the rules of Excel (this is an Excel forum after all), if the year is omitted, then current is assumed.

Just think like a conversation with a friend.
If you said "Hey, lets meet on January 20th"
Would you expect your friend to say "Which year?" ?
 
Last edited:
Upvote 0
@Jonmo1
What's the connection between what Excel interprets and what OP needs? What if his workbook is sales workbook of 2006? Then all dates are of 2006. See the idea?
 
Upvote 0
@Jonmo1
The year can be interpreted only from context - and Excel is not a judge.
 
Upvote 0

Forum statistics

Threads
1,216,616
Messages
6,131,757
Members
449,670
Latest member
ryanrodgers2014

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