+ Reply to Thread
Results 1 to 6 of 6

Dates copied from webpage not recognised by excel

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Dates copied from webpage not recognised by excel

    Hi

    I copied some columns of dates form a website into an excel workbook. Unfortunately excel does not recognise the text and therefore I can’t sort the columns from oldest to newest.
    I have tried the operations suggested here http://office.microsoft.com/en-001/e...003056131.aspx as I though spaces might be the problem but with no success.
    Can anyone help?
    Thanks
    Attached Files Attached Files

  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,723

    Re: Dates copied from webpage not recognised by excel

    You have the non-breaking space character (with a code of 160) at the start of your values in column A - this is common when you download things from a website. Put this formula in B1:

    =DATEVALUE(SUBSTITUTE(A1,CHAR(160),""))

    Format the cell as a date, and then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Dates copied from webpage not recognised by excel

    Hi,

    I have an Idea.
    Follow the instruction:-

    1. Using Text to column, split the details into 3 columns (Date, Month, Year)
    2. Remove the spl character in Date column (first column).
    3. change the month (values) into numbers use this formula - =MONTH(DATEVALUE("01 " &C2&" 2004"))
    4. Use the formula "=DATE(D2, E2, B2)" and then sort accordingly.

    -Nanju
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Dates copied from webpage not recognised by excel

    try this
    =--MID(A1,2,LEN(A1)-1)

    Format the cell as a date, and then copy down.

  5. #5
    Registered User
    Join Date
    08-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Dates copied from webpage not recognised by excel

    Cheers. That did the trick.

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

    Re: Dates copied from webpage not recognised by excel

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, I would like to inform you that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Numeric copied from webpage can't be recognised by Excel
    By Turk in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-13-2024, 02:46 PM
  2. Excel Dates copied from CSV file dont show as Dates
    By vew32 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2013, 09:30 AM
  3. Copying a webpage - it doesn´t work as just fractions get copied
    By brecki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2012, 05:26 PM
  4. [SOLVED] Is this formula 100*(PRODUCT(1+C3:N3/100)-1) recognised by Excel
    By Chwee Mee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-17-2006, 06:50 AM
  5. [SOLVED] Delete the formulas of webpage, copied & pasted on excel sheet
    By Mustafa Abedin in forum Excel General
    Replies: 1
    Last Post: 06-19-2005, 10:05 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