+ Reply to Thread
Results 1 to 5 of 5

extract text to cell if dates match

  1. #1
    Registered User
    Join Date
    06-15-2016
    Location
    BC
    MS-Off Ver
    excel 2013
    Posts
    52

    extract text to cell if dates match

    Hello!

    I have a column that has dynamic dates, and one column to the left of these dates there will be text.
    I want extract that text into another cell, but only if another column which has static dates, matches one of the dynamic dates.

    I have a quick example of what I mean, any help would be appreciated.

    Thank you,
    Kanuck
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: extract text to cell if dates match

    In E2 copied down try...

    =IFERROR(INDEX($A$2:$A$4,MATCH(D2,$B$2:$B$4,0)),"")
    HTH
    Regards, Jeff

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: extract text to cell if dates match

    Try this in E3 ...

    =IFERROR(INDEX($A$2:$A$4,MATCH(D3,$B$2:$B$4,0)),"")

  4. #4
    Registered User
    Join Date
    06-15-2016
    Location
    BC
    MS-Off Ver
    excel 2013
    Posts
    52

    Re: extract text to cell if dates match

    Works perfect thank you!

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: extract text to cell if dates match

    You are very welcome. Happy to help...

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 07-20-2016, 03:52 AM
  2. [SOLVED] Extract dates from text in adjoining cell
    By mlski4751 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2016, 09:19 PM
  3. [SOLVED] How do I extract the dates and paste them in a separate single cell?
    By mango_68 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-02-2014, 09:17 PM
  4. How do I extract dates and place them in a separate cell?l
    By mango_68 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-30-2014, 07:36 PM
  5. How to extract dates and put them in a separate cell?
    By mango_68 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2014, 07:08 PM
  6. Replies: 1
    Last Post: 02-20-2014, 12:24 PM
  7. Replies: 7
    Last Post: 11-22-2011, 09:11 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