Results 1 to 9 of 9

Extracting a date from a file name.

Threaded View

  1. #1
    Registered User
    Join Date
    03-19-2016
    Location
    Southampton, England
    MS-Off Ver
    2007
    Posts
    9

    Extracting a date from a file name.

    Hi All,

    I have over a 1000 movie files in various file formats. Periodically I use a XLS to create a listing of the file names.
    All of the file names include a date year in the YYYY format.
    The files are not named consistently. Here a few examples:

    Air.Force.One.1997.720p.BRrip.x264.YIFY
    Along.Came.A.Spider.2001.Alex Cross Drama w. Morgan Freeman 122m
    American Sniper (2014) DvD Scr Rip - X264 1080p
    Apartment, The 1960.720p.BRRip.x264-x0r
    Apollo.13.1995.720p.BluRay.x264.YIFY

    What i'd like is a function that can extract the YYYY and place it in a cell next to the file name

    I'm not sure if it helps but the date value is always going to be between 1925 and 2016.

    I apologise for asking this question in two forums but i'm unsure which one would be best suited..
    Last edited by NevilleT; 03-19-2016 at 07:23 AM.

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 text and formatting to date
    By Jietoh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-16-2016, 03:43 PM
  2. Extracting data from file in directory and extracting filename
    By brad999 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2014, 11:21 AM
  3. [SOLVED] Opening file and extracting file name and filepath
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2013, 06:51 AM
  4. Extracting Attachments from outlook based on subject title /file name and between a date
    By himynameisiain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2013, 02:14 PM
  5. Replies: 4
    Last Post: 05-31-2013, 11:20 AM
  6. [SOLVED] extracting date that is part of file name
    By kramtelbuab in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-24-2013, 10:52 PM
  7. Creating a .txt file extracting information from a Excel file saving as .resx file
    By AbdallahHajbed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2012, 09:00 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