+ Reply to Thread
Results 1 to 7 of 7

extracting date from cell in a different spreadsheet

  1. #1
    Registered User
    Join Date
    04-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    56

    extracting date from cell in a different spreadsheet

    Hi all

    I'm not too sure if this is possible or not, but thought I'd ask just

    I have a list of 100,000 cells which go like this [FC 12/06 Review 27/06], [DC 15/06 reviewed 29/06], [LC 13/06 reviewed 27/06]

    this list is sent to me daily with different data in it, so I'm not able to amend anything in that spreadsheet.

    I was wondering is there a way to get the oldest review date and the newest review date for the cells starting with FC, DC and LC separately in a new spreadsheet.

    so I will have the spreadsheet that is sent to me in a folder and this new spreadsheet will extract the data from it every time the code is run.

    I'm a beginner and have no idea on how to do this. please help

    Thank you for taking your time to help me out

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: extracting date from cell in a different spreadsheet

    So, the date is always before the "]" character, right?

    You can make a column with the extracted date to get MIN and MAX

    Something like:
    Please Login or Register  to view this content.
    (Replace A1 with the cell)
    If I have solved your question, please mark the thread as [SOLVED],
    And consider adding reputation

    ?Simplicity is the ultimate sophistication? (Leonardo Da Vinci)

    Regards,
    F?bio Gatti

    https://www.youtube.com/pulodogatti
    https://www.linkedin.com/in/fabiocgatti/
    https://instagram.com/pulodogatti

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: extracting date from cell in a different spreadsheet

    [FC 12/06 Review 27/06]
    which is the date - 12/06 or 27/06?
    I understand that you cant amend the cell,s but can you add a formula/s to it (each time) to extract the different pieces on info?
    How many different types of info are there, and how many per entry?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    04-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    56

    Re: extracting date from cell in a different spreadsheet

    Hi

    I want to explain the I meant the [] to represent the cell (apologies for the misunderstanding).


    I want the reviewed date so the 2nd date


    the spreadsheet is send daily so unless you can get a code in the other spreadsheet (where the code will be) to edit that spreadsheet then yes we can edit.


    as others will be doing this I do'nt want them to be editing the spreadsheet manually.



    there are 3 types of info FC, DC and LC
    Thank you

  5. #5
    Registered User
    Join Date
    04-05-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    56

    Re: extracting date from cell in a different spreadsheet

    Can anyone help please?

  6. #6
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: extracting date from cell in a different spreadsheet


    Hi !

    Attach a before workbook and an after workbook with expected result or
    if separate worksheets just a workbook with accurate before & after worksheets …

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: extracting date from cell in a different spreadsheet

    OK, 27/06 is not really a date as far as excel is concerned, so assuming this would be for 2018, try this as a 1st step to get the dates (adjust the file names and cell refs as needed)
    =--(TEXT(MID(Sheet1!G13,SEARCH("review",Sheet1!G13)+7,5)&"/2018","ddmmyy"))

    I think this should work with the UK date format, if not get back to me and I will do something different.

+ 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] Extracting date from a row to display in a cell
    By loll_l in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-16-2015, 11:54 PM
  2. Extracting Date from cell
    By virtualboy2013 in forum Excel General
    Replies: 2
    Last Post: 07-07-2014, 10:58 AM
  3. [SOLVED] Need help extracting date from cell
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2013, 08:34 PM
  4. Extracting date from cell
    By Zack99 in forum Excel General
    Replies: 8
    Last Post: 12-13-2012, 11:29 AM
  5. Extracting date from cell
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 10-14-2011, 04:24 PM
  6. Extracting Values from XML and populating spreadsheet cell by cell
    By saikrishnan7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2011, 10:49 PM
  7. Replies: 2
    Last Post: 04-02-2008, 10:02 AM

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