+ Reply to Thread
Results 1 to 4 of 4

If DATE(B2) behind NAME(A2) matches TODAY, then return name in D2.

  1. #1
    Registered User
    Join Date
    08-14-2023
    Location
    Tallinn, Estonia
    MS-Off Ver
    2016
    Posts
    4

    Question If DATE(B2) behind NAME(A2) matches TODAY, then return name in D2.

    Hey

    Basically if any cell from B=TODAY(), then it should return name from A to cell D2.
    Tried using =IF(B2=TODAY();A2;""), but it only works for A2 and B2 cells. $B$2 and $A$2, and B:B A:A do not work either.
    One of the formulas worked but it extended my D2 cell longer D2:D8 but I only need info in D2.

    namedate.png

  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,946

    Re: If DATE(B2) behind NAME(A2) matches TODAY, then return name in D2.

    Maybe something like...

    =index(A1:A8,match(today(),B1:B8,0))
    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
    08-14-2023
    Location
    Tallinn, Estonia
    MS-Off Ver
    2016
    Posts
    4

    Re: If DATE(B2) behind NAME(A2) matches TODAY, then return name in D2.

    I believe that worked, thanks a bunch

  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,946

    Re: If DATE(B2) behind NAME(A2) matches TODAY, then return name in D2.

    Happy to help and thanks for the feedback

+ 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. [SOLVED] Return Min Value with Index/Match if Min date is two or one month from today's date
    By fbinaghi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2019, 04:51 PM
  2. Replies: 6
    Last Post: 09-05-2019, 02:10 PM
  3. [SOLVED] How to return yesterdays date unless today is monday then return previous fridays date
    By ciaron178 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2019, 10:15 AM
  4. Find Text Within Table, Return First Row Date, Then Compare to Today's Date
    By EduardStoo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2019, 10:47 AM
  5. [SOLVED] If date matches and room matches, return room info in to cell
    By HonorBray in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-12-2018, 12:09 PM
  6. Replies: 1
    Last Post: 06-09-2016, 03:46 PM
  7. Replies: 9
    Last Post: 10-08-2015, 01:50 PM

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