Closed Thread
Results 1 to 2 of 2

Finding date that corresponds to highest value in range in table

  1. #1
    Registered User
    Join Date
    12-05-2021
    Location
    South Africa
    MS-Off Ver
    2010
    Posts
    7

    Question Finding date that corresponds to highest value in range in table

    I have a table in which I record COVID mortalities which I am using for a research project. I have succeeded in finding the peak value for each wave wave of the pandemic, using the start and end date of each wave.
    1. My E-page contains the date under column A, the total number of mortalities under column B and the difference between the current date and the day before in column C.
    2. the cell AQ3 contains the date on which the wave started and AW3 contains the date when the wave ended.
    3. The following formula extracts the highest value between the two dates (in this case the value is 44 and appears in the cell =E!C682)
    =MAX(INDIRECT(CELL("address",INDEX(E!$A:$C,MATCH(AQ3,E!$A:$A,0),3))):INDIRECT(CELL("address",INDEX(E!$A:$C,MATCH(AW3,E!$A:$A,0),3))))
    4. I now want the date which corresponds to that value, i.e., I want the value in Cell =E!A682
    5. I tried the formula =INDEX(E!$A:$A,MATCH(AZ3,E!$C:$C,0)), but because the number 44 occurs more than once in the table, the date is incorrect.

    I am trying to find a way to change the above MATCH formula so that it only finds the match between the two dates in AQ3 and AW3.
    Alternatively, I want to find the date in the cell in column A which corresponds to the cell in column C where I extracted the value of "44". The correct date should be 02-Dec-2021 and not 23-Nov-2021 as this falls before the start of the fourth wave (29 November)
    Below is how the raw data appears in my page E

    A B C
    671 21-Nov-2021 89574 2
    672 22-Nov-2021 89584 10
    673 23-Nov-2021 89628 44
    674 24-Nov-2021 89657 29
    675 25-Nov-2021 89771 114
    676 26-Nov-2021 89783 12
    677 27-Nov-2021 89791 8
    678 28-Nov-2021 89797 6
    679 29-Nov-2021 89822 25
    680 30-Nov-2021 89843 21
    681 01-Dec-2021 89871 28
    682 02-Dec-2021 89915 44
    683 03-Dec-2021 89944 29
    684 04-Dec-2021 89965 21

    Any help would be highly appreciated.
    Thanks
    Arnau
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,890

    Re: Finding date that corresponds to highest value in range in table

    Administrative Note:

    You were asked to attach a workbook to yur original post, not start a new thread.


    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...-in-table.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding date that corresponds to highest value in range in table
    By Arnauvw in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-05-2021, 07:48 AM
  2. [SOLVED] Return the Value from the Range that corresponds to Max Date.
    By T.I. in forum Excel General
    Replies: 8
    Last Post: 02-26-2021, 04:54 PM
  3. [SOLVED] Finding Highest value in a column between specific date range
    By orshims in forum Excel General
    Replies: 15
    Last Post: 01-21-2015, 03:21 PM
  4. Trying to put data in a table that corresponds to a date
    By superdaw in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-17-2014, 06:49 AM
  5. [SOLVED] Help with finding highest value in a range
    By kochark in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-21-2014, 11:29 AM
  6. Replies: 3
    Last Post: 05-19-2014, 05:19 PM
  7. Replies: 5
    Last Post: 11-07-2012, 02:15 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