Hello all!. I need to count consecutive numbers, but with a condition.
i suppose this would be done in one or two steps, the example spreadsheet is attached.
I have two columns.
one for temperature M26:M43826, the other is relative humidity N26:N43826.
Part1
What i want to do is,
for every value that is >=5 and <40 for M26:M43826 AND >=80 in column N26:N43826
should be designated a value 1 in cells Q26:Q43826
if either of those two criteria are not met, then a value of 0 should be assigned in Q26:Q43826
Part2
ask excel to count the number of maximum consecutive cells in Q26:Q43826 and insert into P:15.
I'll use a small section of the dataset to use as an example
lets say in the column Q27-Q34 we get the following values:. In P:15, the value should be 3
0
1
1
1
0
0
1
0
thanks for the help
-Bismo
Bookmarks