+ Reply to Thread
Results 1 to 7 of 7

Most recent date

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    Leeds, England
    MS-Off Ver
    2010
    Posts
    24

    Most recent date

    Please help…

    Please see attached -

    I need Column G to equal the most recent date that appears in columns A, C and E. If A, C or E are blank G needs to be blank as well. C and/or E could have a value of N/A. The problem seems to occur when more than one of A, C or E contains the value of N/A (such as rows 8, 9 and 10).
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Most recent date

    in G2
    =IF(MAX(A2,IF(C2="N/A",0,C2)=0,IF(E2="N/A",0,E2))=0,"",MAX(A2,IF(C2="N/A",0,C2)=0,IF(E2="N/A",0,E2)))
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Most recent date

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Most recent date

    Try this in G2, entered as an array formula with CTRL+SHIFT+ENTER

    Please Login or Register  to view this content.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Most recent date

    Quote Originally Posted by Olly View Post
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Doesn't work for row 6

    UPDATE: Oops! Yes it does! It's mine that doesn't :-)

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Most recent date

    Quote Originally Posted by Special-K View Post
    Doesn't work for row 6

    UPDATE: Oops! Yes it does!
    Yup, as per requirement:
    Quote Originally Posted by HUW GARSTON View Post
    If A, C or E are blank G needs to be blank as well.

  7. #7
    Registered User
    Join Date
    06-25-2014
    Location
    Leeds, England
    MS-Off Ver
    2010
    Posts
    24

    Re: Most recent date

    Many thanks all!

+ 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] Returning the date for the most recent value.
    By cajunlibra in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2016, 05:28 PM
  2. Replies: 2
    Last Post: 01-04-2016, 03:40 AM
  3. Look Up Most Recent Date
    By SpiritedAway in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2014, 09:15 AM
  4. [SOLVED] Help - Date of most recent Mon, Wed, or Fri
    By SMCC in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2013, 11:34 AM
  5. NON blank corresponding value of most recent date
    By freefe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2013, 10:01 PM
  6. Pull data from web within date range or recent date
    By Tlandress in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-28-2013, 01:44 PM
  7. Most recent date
    By janer4jc in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2008, 07:19 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