Incorrect date formatting

alce

New Member
Joined
Dec 5, 2019
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I just signed up. Sorry if this question has been addressed before but I couldn't quite get the answer. I'm sure I'll get more familiar with the community as I come more often.

I have a .csv I downloaded with bank transactions for a whole year so around 3500 rows. The import shows the dates as 1032019 for January 3, 2019, and 10102019 for October 10, 2019, for example. However, when I select the column and format the text as either long or short date, the dates would show as 7/27/4725 and something about the date being too many characters long that it can't be displayed, for the October one. How could I fix to show the real transaction date of as 01/03/2019 and 10/10/2019 respectively, to be able to sort by date?

Thank you in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
You could put this into another cell, change G2 to the cell with your date
=DATE(RIGHT(G2,4),LEFT(G2,LEN(G2)-6),MID(G2,LEN(G2)-5,2))
 
Upvote 0
Since your date delimiter is a slash, you could also use this formula (but you will have to manually format the cell to display the date in the form you want)...

=0+TEXT(G2,"0\/00\/0000")
 
Upvote 0

Forum statistics

Threads
1,214,639
Messages
6,120,679
Members
448,977
Latest member
dbonilla0331

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