LRATOZ
Board Regular
- Joined
- Aug 17, 2014
- Messages
- 59
- Office Version
- 2016
- Platform
- Windows
Hi,
I have a list of weather data where I have thousands of row.
The first column shows the date and a second column shows a value (Let's say temperature)
I want to find out on which date the maximum value happened.
I am using a formula like this:
=INDEX(A40:A54,MATCH(D40,B40:B54,0),1)
Here is a practical and small example without any useful content (Just for demonstration purposes:
Now, as you can see, I have two values of "85" in the Value-column but the INDEX MATCH formula lists the first date that this occurred.
My preference would be to see the latest date when this value occurred. So, in the "Result"-cell I would like to see "13-01-21" instead of "07-01-2021"; Is this feasible by using the INDEX MATCH function?
I would like to prefer to see a solution using the INDEX MATCH function as I got a basic understanding of this function.
Many thanks in advance!
Cheers,
Luke
I have a list of weather data where I have thousands of row.
The first column shows the date and a second column shows a value (Let's say temperature)
I want to find out on which date the maximum value happened.
I am using a formula like this:
=INDEX(A40:A54,MATCH(D40,B40:B54,0),1)
Here is a practical and small example without any useful content (Just for demonstration purposes:
Date | Value | Find | Result | ||
1/01/2021 | 37 | 85 | 7/01/2021 | ||
2/01/2021 | 25 | ||||
3/01/2021 | 68 | ||||
4/01/2021 | 25 | ||||
5/01/2021 | 63 | ||||
6/01/2021 | 54 | ||||
7/01/2021 | 85 | ||||
8/01/2021 | 16 | ||||
9/01/2021 | 28 | ||||
10/01/2021 | 95 | ||||
11/01/2021 | 15 | ||||
12/01/2021 | 46 | ||||
13/01/2021 | 85 | ||||
14/01/2021 | 24 | ||||
15/01/2021 | 69 |
Now, as you can see, I have two values of "85" in the Value-column but the INDEX MATCH formula lists the first date that this occurred.
My preference would be to see the latest date when this value occurred. So, in the "Result"-cell I would like to see "13-01-21" instead of "07-01-2021"; Is this feasible by using the INDEX MATCH function?
I would like to prefer to see a solution using the INDEX MATCH function as I got a basic understanding of this function.
Many thanks in advance!
Cheers,
Luke