Hi there. New Year greetings from Spain.
Can you help me with this? I have a column of numbers *normally 500 entries and I would like to be able to calculate the highest number of consecutive entries before a number over a certain amount appears. For example the value is -5.50. So what is the highest consecutive entries before -5.51 (or larger -20.10) appears in the data set.
My data in A looks something like this:
-7.5
0.2
0.0
-0.7
3.6
-0.2
8.6
0.3
0.0
-1.1
5.0
-5.1
-3.2
-6.0
11.1
18.1
-2.70
-5.52
The answer should be 12 (entries) before -6.0 appears in the data.
Many thanks.
Can you help me with this? I have a column of numbers *normally 500 entries and I would like to be able to calculate the highest number of consecutive entries before a number over a certain amount appears. For example the value is -5.50. So what is the highest consecutive entries before -5.51 (or larger -20.10) appears in the data set.
My data in A looks something like this:
-7.5
0.2
0.0
-0.7
3.6
-0.2
8.6
0.3
0.0
-1.1
5.0
-5.1
-3.2
-6.0
11.1
18.1
-2.70
-5.52
The answer should be 12 (entries) before -6.0 appears in the data.
Many thanks.