Bank download date issue (mm-dd-yyyy vs dd-mm-yyyy)

muzikman69

New Member
Joined
Jun 19, 2007
Messages
30
I am wonder if anyone else has run into issues when downloading mass banking transaction tables which are in the mm-dd-yyyy format.

My issue is that my Excel (2007) is recognizing these dates as being dd-mm-yyyy; hence errors after the 12th day of a month and the wrong month on top of that. I am unable to split the text of the cell up and do a mass re-order of the dd/mm/yyyy numbers as it has already been converted to the date serial number format. (40459 eg).


The issue is complicated because as soon as the transactions are downloaded from the bank excel is converting the field from text/number to the date serial number; which essentially means I do not have the raw text to manipulate.

Any ideas?



A couple examples:
Raw Data -- Excel Date -- Actual Date
08/03/2010 -- Mar 8, 2010 -- Aug 3, 2010
08/04/2010 -- Apr 8, 2010 -- Aug 4, 2010
08/04/2010 -- Apr 8, 2010 -- Aug 4, 2010
08/09/2010 -- Sep 8, 2010 -- Aug 9, 2010
08/09/2010 -- Sep 8, 2010 -- Aug 9, 2010
08/09/2010 -- Sep 8, 2010 -- Aug 9, 2010
08/09/2010 -- Sep 8, 2010 -- Aug 9, 2010
08/10/2010 -- Oct 8, 2010 -- Aug 10, 2010
08/11/2010 -- Nov 8, 2010 -- Aug 11, 2010
8/16/2010 -- Error -- Aug 16, 2010
8/20/2010 -- Error -- Aug 20, 2010
etc.....
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
If you format the receiving column as Text beforehand, does that stop the date being converted to an Excel date serial?
 
Upvote 0
Yes that does work if I do as explained in next paragraph:

I just opened the (CSV) file as a text document, and then copied the text over to Excel, and did a delimited text to columns which worked fine.

If I open the CSV directly with Excel the conversion happens automatically, and does not allow for that column to be specified as text.


My goal is to not have to do the CSV-->Text-->Excel-->Text-to-columns every time I download banking transactions if possible.


Cheers,
Graeme
 
Upvote 0
Peter,

If I recall correctly the solution may have been as simple as closing Excel and starting fresh with opening a new instance. However I can't recall off the top of my head. I don't seem to run into that issue anymore, I suspect my bank changed their format back some time ago. (??)

The work-around is to open it as a TXT file and paste it in, and then do your own text-to-columns (which is a pain).


Sorry I can't help more,

Cheers,
Graeme




Graeme,
I am having the same problem
did you figure out a solution?

Peter
 
Upvote 0
There are other ways but if you put this in a spare column and Drag/Fill Down
Code:
=IF(A2="","",IF(ISTEXT(A2),DATE(MID(SUBSTITUTE(A2,"/",REPT(" ",255)),2*255,255),LEFT(SUBSTITUTE(A2,"/",REPT(" ",255)),255),MID(SUBSTITUTE(A2,"/",REPT(" ",255)),255,255)),DATE(YEAR(A2),DAY(A2),MONTH(A2))))

Then Copy and Paste Special > Values

Excel Workbook
ABCD
1Raw DataExcel DateActual Date*
208/03/2010Mar 8, 2010Aug 3, 2010Aug 3 2010
308/04/2010Apr 8, 2010Aug 4, 2010Aug 4 2010
408/04/2010Apr 8, 2010Aug 4, 2010Aug 4 2010
508/09/2010Sep 8, 2010Aug 9, 2010Aug 9 2010
608/09/2010Sep 8, 2010Aug 9, 2010Aug 9 2010
708/09/2010Sep 8, 2010Aug 9, 2010Aug 9 2010
808/09/2010Sep 8, 2010Aug 9, 2010Aug 9 2010
908/10/2010Oct 8, 2010Aug 10, 2010Aug 10 2010
1008/11/2010Nov 8, 2010Aug 11, 2010Aug 11 2010
118/16/2010ErrorAug 16, 2010Aug 16 2010
128/20/2010ErrorAug 20, 2010Aug 20 2010
Sheet2
 
Last edited:
Upvote 0
=DATE(RIGHT(TEXT(a2,"dd/mm/yyyy"),4),MID(TEXT(a2,"dd/mm/yyyy"),4,2),LEFT(TEXT(a2,"dd/mm/yyyy"),2)) solves the problem.

Rotimi
 
Last edited:
Upvote 0
@ Akinrotimi
... solves the problem.
Are you sure?

Excel Workbook
ABCDEF
1Raw DataExcel DateActual DateOne way Akinrotimi
208/03/2010Mar 8, 2010Aug 3, 2010Aug, 3 2010Mar, 8 2010
308/04/2010Apr 8, 2010Aug 4, 2010Aug, 4 2010Apr, 8 2010
408/04/2010Apr 8, 2010Aug 4, 2010Aug, 4 2010Apr, 8 2010
508/09/2010Sep 8, 2010Aug 9, 2010Aug, 9 2010Sep, 8 2010
608/09/2010Sep 8, 2010Aug 9, 2010Aug, 9 2010Sep, 8 2010
708/09/2010Sep 8, 2010Aug 9, 2010Aug, 9 2010Sep, 8 2010
808/09/2010Sep 8, 2010Aug 9, 2010Aug, 9 2010Sep, 8 2010
908/10/2010Oct 8, 2010Aug 10, 2010Aug, 10 2010Oct, 8 2010
1008/11/2010Nov 8, 2010Aug 11, 2010Aug, 11 2010Nov, 8 2010
118/16/2010ErrorAug 16, 2010Aug, 16 2010#VALUE!
128/20/2010ErrorAug 20, 2010Aug, 20 2010#VALUE!
Sheet1
 
Upvote 0

Forum statistics

Threads
1,216,066
Messages
6,128,571
Members
449,458
Latest member
gillmit

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