Greetings to all on this forum. I am trying to develop a formula that picks rainfall cessation date from series of daily rainfall data. I have done a formula which picks the start of rainfall once a sum of 51mm has been recorded from the start of the year. However, for cessation (offset) date, it should be the last recorded 51(mm) before rainfall recedes for the year. Meaning from the 31st December till date of cessation, the sum of rainfall should not exceed 51(mm).
Cell Formulas | ||
---|---|---|
Range | Formula | |
I2 | I2 | =INDEX($A$3:$A$368,MATCH(51,$D$21:$D$367,1)+1) |
D3:D154 | D3 | =SUM('RAW DATA'!$D$3:D3) |
E3:E154 | E3 | =SUM('RAW DATA'!$E$3:E3) |
F3:F154 | F3 | =SUM('RAW DATA'!$F$3:F3) |
H2 | H2 | =INDEX($A$3:$A$369,MATCH(51,$D$3:$D$367,1)+1) |
H3 | H3 | =INDEX($A$3:$A$369,MATCH(51,$E$3:$E$367,1)+1) |
H4 | H4 | =INDEX($A$3:$A$369,MATCH(51,$F$3:$F$367,1)+1) |
A3:A62 | A3 | =C3-DATE(YEAR(C3),1,1)+1 |
A63:A154 | A63 | =C64-DATE(YEAR(C64),1,1)+1 |