+ Reply to Thread
Results 1 to 6 of 6

How to get Excel to show the date aligned to a max value in a column.

Hybrid View

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    Orkney UK
    MS-Off Ver
    Excel 2007
    Posts
    15

    Angry How to get Excel to show the date aligned to a max value in a column.

    I have 2 columns of data one has the days of the month and the second is daily rainfall. At month end I have Excel select the max rainfall from column 2. How do I get Excel to select the date that goes with the max rainfall amount?
    Any help appreciated
    KJ
    Last edited by akj1944; 10-17-2012 at 03:51 PM.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: How to get Excel to show the date aligned to a max value in a column.

    Something like:

    =INDEX(A:A,MATCH(MAX(B:B),B:B,0))
    Gary's Student

  3. #3
    Registered User
    Join Date
    10-14-2012
    Location
    Orkney UK
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to get Excel to show the date aligned to a max value in a column.

    Thanks for your help.
    Job done.
    KJ

  4. #4
    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,813

    Re: How to get Excel to show the date aligned to a max value in a column.

    =INDEX(date-range, MATCH(max-rain, rain-range,0))


    Regards, TMS
    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


  5. #5
    Registered User
    Join Date
    10-14-2012
    Location
    Orkney UK
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to get Excel to show the date aligned to a max value in a column.

    Thanks for your help. Job done
    KJ

  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,813

    Re: How to get Excel to show the date aligned to a max value in a column.

    You're welcome.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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