+ Reply to Thread
Results 1 to 4 of 4

Index Function within the last 28 days

  1. #1
    Registered User
    Join Date
    04-24-2024
    Location
    United Kingdom
    MS-Off Ver
    Microsoft Office 365
    Posts
    6

    Index Function within the last 28 days

    Hello,

    I am currently using this formula tied to an adjacent cell for reference to find the date that the reference cells value occurred.

    =INDEX('16'!A:A,MATCH(F5,'16'!B:B,0))

    The problem I'm having is there's about 2 years worth a data and every time that the value matches an earlier entry it gives the first dates occurrence rather than the one listed in the reference cell.

    Is there anyway I can use the index function but it only find data within the last 28 days?

    I have highlighted the cell in question yellow on the attached sheet. Thanks for your help
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,342

    Re: Index Function within the last 28 days

    What about this?

    =MAXIFS('16'!A:A,'16'!B:B,F5)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-24-2024
    Location
    United Kingdom
    MS-Off Ver
    Microsoft Office 365
    Posts
    6

    Re: Index Function within the last 28 days

    That is perfect thank you, and a lot simpler than the method I was about to attempt!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,342

    Re: Index Function within the last 28 days

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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: 7
    Last Post: 08-19-2019, 07:28 AM
  2. Replies: 13
    Last Post: 09-22-2016, 09:18 AM
  3. DAYS function: correctly calculating the number of days
    By dadpad in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-25-2015, 09:18 PM
  4. Replies: 2
    Last Post: 06-09-2014, 06:53 AM
  5. SUMIF Function if within 30 days, 60 days, etc
    By Geomin3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2013, 05:39 AM
  6. Replies: 5
    Last Post: 03-22-2012, 04:51 AM
  7. INDEX & MATCH 365 Days
    By Harlequin in forum Excel General
    Replies: 2
    Last Post: 08-15-2007, 06:40 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