+ Reply to Thread
Results 1 to 2 of 2

Finding a date in a text string and comparing it to a date range

  1. #1
    Registered User
    Join Date
    02-17-2012
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Finding a date in a text string and comparing it to a date range

    We are required to update our active records every 10 days with status notes. The date is entered at the beginning of the note. There is not a consistent format for the dates.

    I’m looking for is a way to check the date at the beginning of each txt string. I want to see if it falls within the range of today() and today()-10. Anything older than 10 days, I want a “Y” and within the 10 days range, blank.

    Listed below are a few note examples. The first 3 notes are past due.

    Text String 1: 10/26- example data 1
    Text String 2: 10/26/12 example data 2
    Text String 3: 10/26/12 example data 3
    Text String 4: 10/29 example data 4
    Text String 5: 10/29 - example data 5
    Last edited by ABARAN1000; 11-05-2012 at 04:04 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Finding a date in a text string and comparing it to a date range

    Post an Excel example without confidentional information, and with the desired result.

    I bet you get better result if you post it.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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