In the table below I want to analyse the 'Results' column for the highest value in each sequence of positive numbers between the 0's. For example, in the first 3 rows there are values of 50, 169, 82 before a 0 appears. 169 is the highest value and so I want this value to be returned in the 'Largest Values' column. In row 5 of 'Results', the sequence starts again (after a 0) with a value of 47, but only lasts one row before a 0 appears and so 47 would be returned.
The largest values don't have to be returned at the bottom of their sequence of positive numbers, this is just where I have put them for ease of communication. They could just be outputted starting in row 1 of 'Largest Values' - which ever is the easiest way to do it.
Having tried different formulas, I can't come up with anything sophisticated enough to do the job. Can anyone point me in the right direction?
Thanks.
<colgroup><col span="2"></colgroup><tbody>
</tbody>
The largest values don't have to be returned at the bottom of their sequence of positive numbers, this is just where I have put them for ease of communication. They could just be outputted starting in row 1 of 'Largest Values' - which ever is the easiest way to do it.
Having tried different formulas, I can't come up with anything sophisticated enough to do the job. Can anyone point me in the right direction?
Thanks.
Results | Largest |
Values | |
50 | |
169 | |
82 | 169 |
0 | |
47 | 47 |
0 | |
63 | |
112 | 112 |
0 | |
57 | |
42 | |
322 | |
208 | 322 |
0 | |
0 | |
0 | |
103 | |
28 | |
39 | |
281 | |
249 | 281 |
<colgroup><col span="2"></colgroup><tbody>
</tbody>