+ Reply to Thread
Results 1 to 7 of 7

Find max and display cell reference

  1. #1
    Registered User
    Join Date
    11-05-2022
    Location
    australia
    MS-Off Ver
    2016
    Posts
    2

    Find max and display cell reference

    Hello, Need some help with a formula.

    I have a bunch of dates in my spreadsheet, Using the max function I want to find the soonest date to now (that's easy) but actually i need the data that's 1 cell to the right of it.
    I'm fairy new to excel but have tried paring a max with a offset but no joy.

    Alternatively instead of showing the date of max, can the result just show which the address instead?

    For example : Say I'm writing this formula in B1 =max(a1,a2,a3)

    A1, June 3
    A2, June 4
    A3, June 5

    The soonest is June 5, but the result I want to display in B1 is A3, not June 5.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Find max and display cell reference

    Maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Find max and display cell reference

    Or (Absolute):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or (Relative):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-05-2022
    Location
    australia
    MS-Off Ver
    2016
    Posts
    2

    Re: Find max and display cell reference

    Hi TMS , I couldn't make either of those work. I can't upload a picture or workbook for some reason, perhaps because I'm on a work laptop, but I'll try to explain better

    A1=Jun-10 B1= 5
    A2=Jun-11 B2 = 10
    A3=Jun-12 B3= 15
    A4=MAX(A1:A3)

    My Result at A4 is of course Jun-12, but i want A4 to Display A3 which shows which cell has the correct one. Or the number 15, which has the data I'm actually looking for
    Last edited by mmmdonuts123; 11-05-2022 at 08:03 PM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Find max and display cell reference

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Find max and display cell reference

    Note: you need real dates in cells A1:A3.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Find max and display cell reference

    Thanks for the rep.

+ 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. Display value in formula instead of reference to cell
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-06-2014, 03:38 PM
  2. Use a specific cell reference to find and overwrite that row(Find and Copy).
    By Abbadon486 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2014, 11:57 AM
  3. Highlight Cell if Reference is Blank but Display 0
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2014, 11:50 AM
  4. Find and display the last occurance in two columns and display related cell
    By willia97 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 08:14 PM
  5. Display data reference from another worksheet based on cell reference
    By Drew123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2011, 03:52 PM
  6. Reference Different Workbook And find and display
    By pollardhimself in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-01-2009, 02:41 PM
  7. Replies: 6
    Last Post: 06-30-2009, 04:02 PM
  8. [SOLVED] Formula to display cell reference (ex.. B7)
    By Irv in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2006, 05:45 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