I have a set of test data comprising a TestID, Time, ExtractID and Value in a sheet called Data. The data set is large so I have just included an extract below.
For each TestID there are two ExtractIDs and ExtractIDs may appear against multiple TestIDs. I want to be able to find the highest Value for each ExtractID after the first occurrence of another value. This value will be input by the user in cell A1 of the Dashboard tab.
So, for example, if the user inputs 2 into A1 I would like a list of highest values obtained after the first time 2 has been reached for each ExtractID in each TestID.
What is the best way of achieving this?
Thanks
For each TestID there are two ExtractIDs and ExtractIDs may appear against multiple TestIDs. I want to be able to find the highest Value for each ExtractID after the first occurrence of another value. This value will be input by the user in cell A1 of the Dashboard tab.
So, for example, if the user inputs 2 into A1 I would like a list of highest values obtained after the first time 2 has been reached for each ExtractID in each TestID.
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | TestID | Date/Time | ExtractID | Val | ||
2 | 172766252 | 06/09/2020 13:40:02 | 10301 | 1.98 | ||
3 | 172766252 | 06/09/2020 13:40:02 | 16606 | 2 | ||
4 | 172766252 | 06/09/2020 13:40:03 | 10301 | 1.98 | ||
5 | 172766252 | 06/09/2020 13:40:03 | 16606 | 2 | ||
6 | 172766252 | 06/09/2020 13:40:04 | 10301 | 1.98 | ||
7 | 172766252 | 06/09/2020 13:40:04 | 16606 | 2 | ||
8 | 172766252 | 06/09/2020 13:40:05 | 10301 | 1.98 | ||
9 | 172766252 | 06/09/2020 13:40:05 | 16606 | 2 | ||
10 | 172766252 | 06/09/2020 13:40:06 | 10301 | 1.98 | ||
11 | 172766252 | 06/09/2020 13:40:06 | 16606 | 2 | ||
12 | 172766252 | 06/09/2020 13:40:07 | 10301 | 1.98 | ||
13 | 172766252 | 06/09/2020 13:40:07 | 16606 | 2 | ||
14 | 172766252 | 06/09/2020 13:40:08 | 10301 | 1.98 | ||
15 | 172766252 | 06/09/2020 13:40:08 | 16606 | 2.02 | ||
16 | 172766252 | 06/09/2020 13:40:09 | 10301 | 1.98 | ||
17 | 172766252 | 06/09/2020 13:40:09 | 16606 | 2.02 | ||
18 | 172766252 | 06/09/2020 13:40:10 | 10301 | 1.98 | ||
19 | 172766252 | 06/09/2020 13:40:10 | 16606 | 2.02 | ||
20 | 172766252 | 06/09/2020 13:40:11 | 10301 | 1.98 | ||
21 | 172766252 | 06/09/2020 13:40:11 | 16606 | 2.02 | ||
22 | 172766252 | 06/09/2020 13:40:12 | 10301 | 1.98 | ||
23 | 172766252 | 06/09/2020 13:40:12 | 16606 | 2.02 | ||
24 | 172766252 | 06/09/2020 13:40:13 | 10301 | 1.98 | ||
25 | 172766252 | 06/09/2020 13:40:13 | 16606 | 2.02 | ||
26 | 172766252 | 06/09/2020 13:40:14 | 10301 | 1.98 | ||
27 | 172766252 | 06/09/2020 13:40:14 | 16606 | 2.02 | ||
28 | 172766252 | 06/09/2020 13:40:15 | 10301 | 1.98 | ||
29 | 172766252 | 06/09/2020 13:40:15 | 16606 | 2.02 | ||
30 | 172766252 | 06/09/2020 13:40:16 | 10301 | 1.98 | ||
31 | 172766252 | 06/09/2020 13:40:16 | 16606 | 2.02 | ||
32 | 172766252 | 06/09/2020 13:40:17 | 10301 | 1.98 | ||
33 | 172766252 | 06/09/2020 13:40:17 | 16606 | 2.02 | ||
34 | 172766252 | 06/09/2020 13:40:18 | 10301 | 1.98 | ||
35 | 172766252 | 06/09/2020 13:40:18 | 16606 | 2.02 | ||
36 | 172766252 | 06/09/2020 13:40:19 | 10301 | 1.97 | ||
37 | 172766252 | 06/09/2020 13:40:19 | 16606 | 2.02 | ||
38 | 172766252 | 06/09/2020 13:40:20 | 10301 | 1.97 | ||
39 | 172766252 | 06/09/2020 13:40:20 | 16606 | 2.02 | ||
40 | 172766252 | 06/09/2020 13:40:21 | 10301 | 1.97 | ||
41 | 172766252 | 06/09/2020 13:40:21 | 16606 | 2.02 | ||
42 | 172766252 | 06/09/2020 13:40:22 | 10301 | 1.97 | ||
43 | 172766252 | 06/09/2020 13:40:22 | 16606 | 2.02 | ||
44 | 172766252 | 06/09/2020 13:40:23 | 10301 | 1.97 | ||
45 | 172766252 | 06/09/2020 13:40:23 | 16606 | 2.02 | ||
46 | 172766252 | 06/09/2020 13:40:24 | 10301 | 1.97 | ||
47 | 172766252 | 06/09/2020 13:40:24 | 16606 | 2.02 | ||
48 | 172766252 | 06/09/2020 13:40:25 | 10301 | 1.97 | ||
49 | 172766252 | 06/09/2020 13:40:25 | 16606 | 2.02 | ||
50 | 172766252 | 06/09/2020 13:40:26 | 10301 | 1.97 | ||
51 | 172766252 | 06/09/2020 13:40:26 | 16606 | 2.02 | ||
52 | 172766252 | 06/09/2020 13:40:27 | 10301 | 1.97 | ||
53 | 172766252 | 06/09/2020 13:40:27 | 16606 | 2.02 | ||
54 | 172766252 | 06/09/2020 13:40:28 | 10301 | 1.97 | ||
55 | 172766252 | 06/09/2020 13:40:28 | 16606 | 2.02 | ||
56 | 172766252 | 06/09/2020 13:40:29 | 10301 | 1.98 | ||
57 | 172766252 | 06/09/2020 13:40:29 | 16606 | 2.02 | ||
58 | 172766252 | 06/09/2020 13:40:30 | 10301 | 1.98 | ||
59 | 172766252 | 06/09/2020 13:40:30 | 16606 | 2.02 | ||
60 | 172766252 | 06/09/2020 13:40:31 | 10301 | 1.98 | ||
61 | 172766252 | 06/09/2020 13:40:31 | 16606 | 2.02 | ||
62 | 172766252 | 06/09/2020 13:40:32 | 10301 | 1.98 | ||
63 | 172766252 | 06/09/2020 13:40:32 | 16606 | 2.02 | ||
64 | 172766252 | 06/09/2020 13:40:33 | 10301 | 1.98 | ||
65 | 172766252 | 06/09/2020 13:40:33 | 16606 | 2.02 | ||
66 | 172766252 | 06/09/2020 13:40:34 | 10301 | 1.98 | ||
67 | 172766252 | 06/09/2020 13:40:34 | 16606 | 2.02 | ||
68 | 172766252 | 06/09/2020 13:40:35 | 10301 | 1.98 | ||
69 | 172766252 | 06/09/2020 13:40:35 | 16606 | 2.02 | ||
70 | 172766252 | 06/09/2020 13:40:36 | 10301 | 1.98 | ||
71 | 172766252 | 06/09/2020 13:40:36 | 16606 | 2.02 | ||
72 | 172766252 | 06/09/2020 13:40:37 | 10301 | 1.98 | ||
73 | 172766252 | 06/09/2020 13:40:37 | 16606 | 2.02 | ||
Data |
What is the best way of achieving this?
Thanks