+ Reply to Thread
Results 1 to 8 of 8

Find Text & Convert to Date Values

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Thumbs up Find Text & Convert to Date Values

    Hi

    Creating a project tracker with a 3-Week Look Ahead

    As you will see in attached example, we are tracking what we call CPs and its Turn Over (TO) dates

    Currently we are tracking PLANNED Turn Over dates but not ACTUAL dates


    Need assistance to modify

    '=IF(D20="","",IF(D20="X","X",DATEVALUE(RIGHT(D20,LEN(D20)-2))))


    See example
    -- This is currently showing PLANNED CPs per day or week
    -- Want to show both PLANNED & TURNED OVER (TO) dates

    For example - With Date, TO 9/8, it will show "TO 9/8" in its applicable cell
    Attached Files Attached Files
    Last edited by mycon73; 09-13-2022 at 10:55 PM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Find Text & Convert to Date Values

    Column F?
    Please Login or Register  to view this content.
    Last edited by protonLeah; 09-09-2022 at 08:10 PM.
    Ben Van Johnson

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Find Text & Convert to Date Values

    HI protonLeah

    Thanks for giving feedback!

    Although your function works well, need the following:

    In my example, if column D has a date or DOES NOT have TO (for Turn Over), then it's considered a PLANNED CP (mini-project IDs)

    With the function I'm using, it's resulting with #VALUE!

    I want this result to be blank or not give a date

    Primary objective is to distinguish PLANNED vs. ACTUAL completion dates - COMPLETED CPs will have "TO MM/DD" in my 3-Week Look Ahead table
    -- I already have functions to extract inputs from column F to get into table

    Thanks

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Find Text & Convert to Date Values

    I feel that this will produce the output you want in F2 and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Find Text & Convert to Date Values

    Hi JeteMC & Others

    Thanks for giving feedback!

    Your function works well for "TO" conversions to date!!
    -- These dates represents ACTUAL TURN OVER date(s)

    Existing dates WITHOUT "TO" represents PLANNED dates
    -- For these findings, results can be "" or blank

    Request assistance to modify

    Thanks

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Find Text & Convert to Date Values

    JeteMC

    I modified your function to:

    =IF(D20="","",IF(D20="x","X",IF(ISNUMBER(D20),"",DATEVALUE(RIGHT(D20,LEN(D20)-2)))))

    Now, it appears to giving desired results!!!

    Let me test it out a bit more to confirm

    Thanks for the assistance

  7. #7
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Find Text & Convert to Date Values

    JeteMC, protonLeah & Others

    Thanks to your assistance - Modified to the following to get desired results!

    =IF(D20="","",IF(D20="x","X",IF(ISNUMBER(D20),"",DATEVALUE(RIGHT(D20,LEN(D20)-2)))))

    Thanks

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Find Text & Convert to Date Values

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Convert date/time text to date/time values
    By Panos1221 in forum Excel General
    Replies: 11
    Last Post: 11-24-2020, 04:31 PM
  2. [SOLVED] Convert Text Dates to Date Values
    By mycon73 in forum Excel General
    Replies: 10
    Last Post: 02-15-2020, 03:00 PM
  3. [SOLVED] Dates stored as Text and Values - convert entire column to date?
    By happydays886 in forum Excel General
    Replies: 12
    Last Post: 01-05-2018, 12:13 PM
  4. [SOLVED] Find the date and copy the values from the colum of the date find and paste to other sheet
    By nizzcmzph in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-20-2013, 10:03 AM
  5. [SOLVED] Find Text String or Key Word Between Date Ranges & Sum Values
    By mycon73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2013, 07:22 PM
  6. Convert Text Values To Date and Time
    By aftabn10 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2012, 09:50 AM
  7. Macro to Find In Between Date/Time Values and use Text to Prompt Calculations
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-19-2010, 06:37 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