+ Reply to Thread
Results 1 to 5 of 5

Find today's date in a text string in a column and return this string and....

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Find today's date in a text string in a column and return this string and....

    Hi,

    Can someone please help me to figure out a formula for finding today's date (032715), concatenated in the end on text/number string in column 'G' in the attached spreadsheet (Sample DATA) and return in 'Sheet 2' tab the corresponding value from column 'A' (Campaign ID by Email) and next to it also return strings that contain today's date for 5 Day and 28 Day emails. The report always will contain today's date in 6 digit format (mmddyy), 032715 in this instance.

    Thank you so much!!!

    Sample DATA.xlsb

  2. #2
    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
    52,926

    Re: Find today's date in a text string in a column and return this string and....

    I have pretty much answerd this in your other thread...
    http://www.excelforum.com/excel-form...t-formula.html

    If your question was something else, then please explain?
    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

  3. #3
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Find today's date in a text string in a column and return this string and....

    Hi FDibbins,

    You are great as usual! This formula works well for the pivot table, but ideally, to make the Excel Template "clean" because other people will be using it, I would like this formula to return only the values with today's date from column 'G' in the attachment and corresponding to them values from column 'A', so it would look like below. In addition, the below would be in a different tab "Sheet 2" in the attachment.

    Would it be possible to modify the formula to account for these conditions? The number of rows in "DATA" table varies. And usually there are 4 values for 5 Day email and 4 values for 28 Day email in this report under 'Data' tab.

    Four Campaign IDs for 5 Day email with TODAY’s date stamp:


    Sheet 2
    ColumnA Column B
    5 Day 5day_latencyXXXXXX
    5 Day 5day_latency_RZXXXXXX
    5 Day 5day_retlatencyXXXXXX
    5 Day 5day_retlatency_RZXXXXXX

    Four Campaign IDs for 28 Day email with TODAY’s date stamp:

    Sheet 2
    Column A Column B
    28 Day latencyXXXXXX
    28 Day latency_RZXXXXXX
    28 Day retlatencyXXXXXX
    28 Day retlatency_RZXXXXXX

    MUCH APPRECIATED!!!

    P.S. I added reputation to your profile in the other thread.

  4. #4
    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
    52,926

    Re: Find today's date in a text string in a column and return this string and....

    Perhaps something likethis?
    =IFERROR(IF(DATE(2000+RIGHT(RIGHT(G3,6),2),LEFT(RIGHT(G3,6),2),MID(RIGHT(G3,6),3,2))=TODAY(),DATE(2000+RIGHT(RIGHT(G3,6),2),LEFT(RIGHT(G3,6),2),MID(RIGHT(G3,6),3,2)),""),"")

  5. #5
    Registered User
    Join Date
    11-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: Find today's date in a text string in a column and return this string and....

    The formula works perfectly! I just added another column where I applied this formula. So now pivot table includes this formula, which I modified slightly to return a campaign ID, not just date.

    Thank you! Thank you!

+ 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. Replies: 3
    Last Post: 09-15-2014, 07:56 PM
  2. [SOLVED] Find partial text string within another text string return original text into cell.
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-17-2013, 02:58 PM
  3. [SOLVED] Find Specific Text in Text String and Return Value in Adjacent Column
    By watchouse in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 03:53 PM
  4. Find text in string, return row
    By dweitz in forum Excel General
    Replies: 3
    Last Post: 06-11-2011, 02:06 PM
  5. Replies: 2
    Last Post: 07-23-2010, 10:19 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