I have a large column of values representing elevation in metres. Here is an example:
177.5
178.0
180.1
181.9
182.4
182.5
184.0
185.3
I want to create formula in a different column that gives a 1 for every 2.5m interval or the first value after the interval. Here are the the numbers I would be searching for based on the 2.5 interval:
177.5
180.0
182.5
185.0
Since I don't have those exact numbers in my original list, I want the formula to place a 1 in the corresponding column next to the following numbers from the list:
177.5
180.1
182.5
185.3
What kind of formula would I be looking for? I'm not too sure what to call this kind of problem otherwise I'd have an easier time searching for it on stackoverflow.
Something like the below image may work. Note the formula in B2 filling down is:
=IF(A3>=SUM($B$2:B2)*$C$1+$E$1,1,0)