+ Reply to Thread
Results 1 to 15 of 15

Binary file downloaded from the bank

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    Mississauga, Ontario
    MS-Off Ver
    Excel for Mac 2011
    Posts
    4

    Binary file downloaded from the bank

    I downloaded a file from the bank with a csv extension. I was able to open it in Excel by double clicking and then save it with an xls extension. I was also able to import it as text. It does not appear to make a difference how the file was opened. The issue is the date format. The left column is the date expressed as an example 12/31/2012. Excel does not seem to recognize this as a date. It will not allow me to change to any other format such as 31-Dec-12.

    Macbook Pro
    Operating system OS X 10.6.8
    Excel for Mac 2011

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Binary file downloaded from the bank

    I appreciate that the data will be sensitive, so can you delete everything except for the date column, save that with a different file name, and then post it to here so that we can see the variations that you get. Do you get some dates, and are some dates recognised incorrectly? i.e. does 7th December show up as 12th July?

    Pete

  3. #3
    Registered User
    Join Date
    09-30-2013
    Location
    Mississauga, Ontario
    MS-Off Ver
    Excel for Mac 2011
    Posts
    4

    Thumbs up Re: Binary file downloaded from the bank

    Post to Forum.xlsI have attached the file called Post to forum. At least that's what I think I did. All of the dates look the same. The only way I am able to change the format is to retype the date. It then seems to accept it and allows me to change the format. But each date needs to be typed separately.
    Last edited by Bain; 09-30-2013 at 12:02 PM.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Binary file downloaded from the bank

    Select the column of dates, goto Data>Text to columns..., on the 3rd step choose MDY from the column data format dropdown, click finish.

    You should now have 'real' dates that you can format as you like.
    If posting code please use code tags, see here.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Binary file downloaded from the bank

    Okay, thanks. It looks like all the dates have been brought in as text values. In your real file, insert a new column B and put this formula in B1:

    =DATE(RIGHT(A1,4),LEFT(A1,2),MID(A1,4,2))

    then copy down to the bottom of your data (just double-click the fill handle). Then fix the values in column B, and then delete column A.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    09-30-2013
    Location
    Mississauga, Ontario
    MS-Off Ver
    Excel for Mac 2011
    Posts
    4

    Re: Binary file downloaded from the bank

    Thank you Norie. That worked. Wonderful.

  7. #7
    Registered User
    Join Date
    09-30-2013
    Location
    Mississauga, Ontario
    MS-Off Ver
    Excel for Mac 2011
    Posts
    4

    Re: Binary file downloaded from the bank

    Thank you Pete. I used the approach suggested by Norie with great success. I appreciate your help.

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Binary file downloaded from the bank

    Copy any empty cell on the spreadsheet, click on the column A (as in your example), Paste Special and select Add then click OK. Format column as date.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Binary file downloaded from the bank

    @AlKey:

    that will only work for those countries which have the regional date setting as mm/dd/yyyy - it doesn't work for me in the UK.

    Pete

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Binary file downloaded from the bank

    Pete

    I'm in the UK.

  11. #11
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Binary file downloaded from the bank

    Quote Originally Posted by Pete_UK View Post
    @AlKey:

    that will only work for those countries which have the regional date setting as mm/dd/yyyy - it doesn't work for me in the UK.

    Pete
    This is strange and I didn't know that. The process is basically to stress data and to turn it into serial number. Does the serial number different in UK than the one used in the USA?

  12. #12
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Binary file downloaded from the bank

    I'm in the UK
    Well, try Alkey's method, then, Norie.

    Pete

  13. #13
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Binary file downloaded from the bank

    Quote Originally Posted by AlKey View Post
    This is strange and I didn't know that.
    I've come across it many times with different date formats.

    Does the serial number different in UK than the one used in the USA?
    No, it's the same. It YOU were to enter a date into a cell as 30/09/2013, what will you get? It will probably be treated as a text value because you don't write your dates like that. Similarly for me if I enter the date as 09/30/2013.

    Excel takes what you have entered and tries to make sense of it - it will be converted into a serial number ONLY if Excel thinks it is a recognised date format (and that it makes sense).

    Hope this helps.

    Pete

  14. #14
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Binary file downloaded from the bank

    Pete

    Oops, thought you meant the Text to columns... apologies.

  15. #15
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Binary file downloaded from the bank

    Quote Originally Posted by Pete_UK View Post
    I've come across it many times with different date formats.



    No, it's the same. It YOU were to enter a date into a cell as 30/09/2013, what will you get? It will probably be treated as a text value because you don't write your dates like that. Similarly for me if I enter the date as 09/30/2013.

    Excel takes what you have entered and tries to make sense of it - it will be converted into a serial number ONLY if Excel thinks it is a recognised date format (and that it makes sense).

    Hope this helps.

    Pete
    Thanks for the explanation. The good thing is that OP is using the same format as US.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sum values if text is found in string of cell from downloaded bank statement
    By riveras in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-06-2013, 12:47 PM
  2. IF functions for cumulative column on downloaded bank statement
    By surfergirl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-31-2013, 09:59 AM
  3. Not able to open downloaded excel file in 2007
    By narendrabr in forum Excel General
    Replies: 6
    Last Post: 10-17-2012, 03:11 AM
  4. Excel 2007 : help with matching downloaded file to a table
    By catherine3 in forum Excel General
    Replies: 0
    Last Post: 11-01-2011, 02:13 PM
  5. Replies: 5
    Last Post: 11-12-2005, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1