+ Reply to Thread
Results 1 to 5 of 5

Need help converting text to date for merging date entries

  1. #1
    Registered User
    Join Date
    09-07-2017
    Location
    Oslo, Norway
    MS-Off Ver
    MS W10
    Posts
    4

    Need help converting text to date for merging date entries

    I have retrieved credit card statements from my different cards and try to merge these into one sheet sorted on date.
    However, one of the banks seems to be exporting the date field as a text (at least that's what I assume to be the problem). At least it seems so since I don't manage to make the dates from this provider sort and merge in the list.

    EDIT: I added an attachment. The file shows all 3 cards entries (first 2 columns) in the same sheet. Card1 stays at the top unsorted and card2 and card3 merges and sorts (see bottom of list).

    The card company which seems to use text-dates is in blue and when I click one of the dates the window showing cell values doesn't change. Another trick which I learnt here on the forum (pressing CTRL-SHIFT-~ ) should result in a number in the cell value window. This doesn't happen. Pressing these keys still shows same text/value. So I'm assuming it is just text.

    Capture_gj.PNG

    The card company (in orange label) that seems to give me real dates look like this and will give a number in the cell-value window when pressing CTRL-SHIFT-~ .

    Capture_sas.PNG

    I prefer dates in the list to be in the dd.mm.yyyy format.

    How can I change the textdates for the first card company (card1) above (in blue labels) to real dates so that my list will merge and sort like card2 and card3 does? (see bottom of Excel file)

    Regards
    B
    Attached Files Attached Files
    Last edited by oladunk; 10-03-2017 at 10:06 AM. Reason: Added attachment

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Need help converting text to date for merging date entries

    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  3. #3
    Registered User
    Join Date
    09-07-2017
    Location
    Oslo, Norway
    MS-Off Ver
    MS W10
    Posts
    4

    Re: Need help converting text to date for merging date entries

    Quote Originally Posted by sandy666 View Post
    To attach an Excel file to your post,
    [...
    After that you should see attachment in your post
    Thanks! I added an attachment above.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Need help converting text to date for merging date entries

    Column A is in Text frmat. To Convert it to Date,

    select A1:A352

    Data --> Text to columns

    In the dialogue box

    delimited --> next --> next
    In column data format --> Date --> DMY --> finish

    Now the range A1:A352 will be in date .
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    09-07-2017
    Location
    Oslo, Norway
    MS-Off Ver
    MS W10
    Posts
    4

    Re: Need help converting text to date for merging date entries

    Quote Originally Posted by kvsrinivasamurthy View Post
    Column A is in Text frmat. To Convert it to Date,

    select A1:A352

    Data --> Text to columns

    In the dialogue box

    delimited --> next --> next
    In column data format --> Date --> DMY --> finish

    Now the range A1:A352 will be in date .
    Thanks a lot! That did the trick.

    Wonder if I can do the same in Google Sheets? But I guess I'm in the wrong forum for that.

+ 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] Converting text Date to Excel date
    By vzw1965 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-01-2016, 09:01 AM
  2. [SOLVED] Converting Date Text to Number format to use in a VLOOKUP to polpulate data based by date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-08-2015, 10:43 AM
  3. Converting Text to Date & Sorting on Date
    By andresndor in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2014, 04:48 PM
  4. Converting text string that contains a date and time to a date
    By jmforde in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-12-2013, 02:31 PM
  5. [SOLVED] Converting from Text>Date Serial>Date
    By Schwartz in forum Excel General
    Replies: 17
    Last Post: 04-17-2012, 04:26 PM
  6. Converting Text Date to Actual Date using VBA
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2010, 12:20 PM
  7. Converting date text to date format
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2009, 06:10 AM

Tags for this Thread

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