+ Reply to Thread
Results 1 to 4 of 4

Match the month and day and return the adjacent cell

  1. #1
    Registered User
    Join Date
    04-14-2017
    Location
    Plymouth, minnesota
    MS-Off Ver
    2016
    Posts
    35

    Match the month and day and return the adjacent cell

    I'm looking for a formula that searches a list of dates to match the month and day to today's current month and day then returns the adjacent cell values.

    See attached example.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Match the month and day and return the adjacent cell

    Try this formula in E3 and copy down:

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($B$1:$B$30)/(TEXT($B$1:$B$30,"dd/mm")=TEXT($E$2,"dd/mm")),ROWS($E$3:E3))),"")

  3. #3
    Registered User
    Join Date
    04-14-2017
    Location
    Plymouth, minnesota
    MS-Off Ver
    2016
    Posts
    35

    Re: Match the month and day and return the adjacent cell

    That's perfect, is there a way I can have 2 dates in that formal to find, Match today's date and yesterdays?

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Match the month and day and return the adjacent cell

    Yes, it's:

    IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($B$1:$B$30)/
    ((TEXT($B$1:$B$30,"dd/mm")=TEXT($E$2,"dd/mm"))+(TEXT($B$1:$B$30,"dd/mm")=TEXT($E$2-1,"dd/mm"))),ROWS($E$3:E4))),"")

+ 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] Trying to compare one cell with a list of cells and return data in adjacent cell on match
    By possumbarnes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2019, 10:41 AM
  2. Help, confused with index match return cell adjacent to a value
    By Iceman86 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2018, 09:30 AM
  3. [SOLVED] Almost There! Match values in two columns and return text in adjacent cell
    By mrkake in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2016, 02:14 AM
  4. Multiple criteria match to return adjacent cell value
    By Adam859 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-05-2016, 06:19 PM
  5. Look up a repeated value and return each match from adjacent cell
    By abukou in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-08-2015, 06:11 PM
  6. Find and Match Text in Column Return Adjacent Cell
    By biancam in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2012, 02:45 PM
  7. Index/Match and return adjacent cell or workaround
    By alltimetop100 in forum Excel General
    Replies: 2
    Last Post: 03-02-2011, 08:24 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