+ Reply to Thread
Results 1 to 4 of 4

Formula to return most recent instance of value?

Hybrid View

  1. #1
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Formula to return most recent instance of value?

    Put this array* formula in B2 of Sheet2:

    =MAX(IF('2011-2016_Orig'!$B$2:$B$16628=A2,'2011-2016_Orig'!$A$2:$A$16628))

    Format the cell as a date, then copy down. Note the final 3 return zero as they are not present in your other sheet - this is interpreted by Excel as the zeroth of January 1900.

    *An array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE), instead of the usual < Enter >.

    Hope this helps.

    Pete

  2. #2
    Registered User
    Join Date
    04-24-2014
    Location
    Saint Louis, United States
    MS-Off Ver
    Microsoft 365 Version 2501
    Posts
    62

    Re: Formula to return most recent instance of value?

    This works perfectly, thank you so so much!

+ 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] Formula to return earliest and latest time.
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-07-2014, 01:35 AM
  2. [SOLVED] formula to look up value and return the earliest date?
    By ea223 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2013, 08:27 PM
  3. Replies: 1
    Last Post: 01-26-2012, 07:16 AM
  4. Can Excel return the earliest date using =IF?
    By jareduk in forum Excel General
    Replies: 7
    Last Post: 04-01-2009, 04:59 AM
  5. Return the earliest day of a month
    By vickyho1008 in forum Excel General
    Replies: 1
    Last Post: 07-07-2008, 04:49 AM
  6. Vlookup to Return Earliest Date
    By marco168 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2007, 11:12 AM
  7. Return one instance using formula or filter
    By Pat in forum Excel General
    Replies: 1
    Last Post: 09-09-2005, 02:05 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