+ Reply to Thread
Results 1 to 10 of 10

Find Max and lookup previous non-blank date

  1. #1
    Registered User
    Join Date
    06-28-2020
    Location
    Okc, Ok
    MS-Off Ver
    O365
    Posts
    5

    Find Max and lookup previous non-blank date

    Excel help.png

    I want to find the date of my max score in a log I am making.
    Column A is the Date. I don't want to unnecessarily repeat it. I just want to Ctrl+; to dump it in at the start.
    Column B is individual scores, but, what I am tracking is the combined score of the last 10 innings.
    Column C is a running list of the last 10.
    I'm thinking I should be able to use Max(C:C) to find the high score, and use that in an xlookup to find the date I achieved that score, but, I'm finding the formula to look for the previous non-blank field to be elusive. Any help is greatly appreciated.
    Last edited by Sifuedition; 06-28-2020 at 02:20 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Find Max and lookup previous non-blank date

    Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-28-2020
    Location
    Okc, Ok
    MS-Off Ver
    O365
    Posts
    5

    Re: Find Max and lookup previous non-blank date

    The actual xlsx
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-28-2020
    Location
    Okc, Ok
    MS-Off Ver
    O365
    Posts
    5

    Re: Find Max and lookup previous non-blank date

    Quote Originally Posted by alansidman View Post
    Please read the yellow banner at the top of this page on how to attach a file.
    After attaching the image, I could not get it to let me attach the spreadsheet also, so I had to make it a separate post.

  5. #5
    Registered User
    Join Date
    06-28-2020
    Location
    Okc, Ok
    MS-Off Ver
    O365
    Posts
    5

    Re: Find Max and lookup previous non-blank date

    Well, this has been really useful.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Find Max and lookup previous non-blank date

    Holiday Weekend in US. All volunteers here. Patience is what is needed when posting here as when you are awake, many others around the world are sleeping. Also, maybe you have not explained yourself clearly enough for others to dip a toe into the waters. Want to try and expand with examples using your uploaded data.

  7. #7
    Registered User
    Join Date
    06-28-2020
    Location
    Okc, Ok
    MS-Off Ver
    O365
    Posts
    5

    Re: Find Max and lookup previous non-blank date

    The thread has been open for a week and contains both a screenshot and the .xlsx. I do understand it's all volunteers and there may not even be a solution for what I'm trying to do. There are 97 views with no comments. I'm not attempting to "insult" anyone, because there has been zero interaction to even judge, which was the frustration I expressed.

    As per my screenshot, each day I practice, I place the date in column A for the first score on that date. Max(C:C) will show me my high score. I am trying to use something like an xlookup to find the date associated with that score. However, the date will not necessarily be on the same row, since I am only placing it in column A once for that date.

    If it helps to see my intent, I will gladly fill in some "dummy" data to illustrate my question better. Just let me know if that will help. Thank you for at least responding.

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Find Max and lookup previous non-blank date

    It will never hurt to supply a simulated mocked up solution. Personally, I cannot see through to a solution, so I will step aside and hopefully someone will step in.

  9. #9
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Find Max and lookup previous non-blank date

    So, as far as I can see from your data there are 4 groups of 10:
    B8:B17, B9:B18, B10:B19, B11:B20.

    Shouldn't there be corresponding dates in A8 through A11 ??
    If so (and assuming these dates are populated) then the following formula in A6 I think does what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Make sure that A6 is formatted as a date.

    If the above assumptions are wrong then you need to provide an example with more than just one date to chose from

    Hopefully this helps, let us know.

    Geoff

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Find Max and lookup previous non-blank date

    Quote Originally Posted by Sifuedition View Post
    Attachment 684352
    I want to find the date of my max score in a log I am making.
    ...I'm finding the formula to look for the previous non-blank field to be elusive. Any help is greatly appreciated.
    In WS I can see only one date value, is it do you want to populate in A6?
    I guess there are more date from row 21.
    I yes, try this solution in A6:

    Please Login or Register  to view this content.
    Quang PT

+ 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: 3
    Last Post: 10-02-2018, 11:05 PM
  2. Lookup previous date from timestamp
    By robonuk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-30-2018, 05:03 PM
  3. How to autofill row A with previous date at the first blank cell using VBA
    By Omarbo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2016, 07:37 PM
  4. [SOLVED] Find last max. value in list and count all previous non-blank cells in adjacent column
    By zeegerman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-25-2015, 05:01 PM
  5. [SOLVED] Find certain word, copy and paste cell in previous row if previous row is blank
    By steven_e in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 12:53 PM
  6. Replies: 0
    Last Post: 05-30-2013, 07:50 PM
  7. [SOLVED] Find last previous non blank value and summarise previous 6 months
    By Lady_Shaz in forum Excel General
    Replies: 7
    Last Post: 12-11-2012, 06:20 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