I have a worksheet set up for calculating water flow and rainfall depths. However, I need the duration of the rainfall (from first non-zero reading to last non-zero reading for rainfall). However, the flow continues long after the rain has stopped (the 0s under both columns don't matter until after the last non-zero reading)sort of like:
date & time flow rainfall depth1/1/10 0:00 0 01/1/10 0:05 1 11/1/10 0:10 3 01/1/10 0:15 0 11/1/10 0:20 4 01/1/10 0:25 2 11/1/10 0:30 2 21/1/10 0:35 0 11/1/10 0:40 2 01/1/10 0:45 1 01/1/10 0:50 0 0
4/14/2010 1:39:48 PM
ah, easy.=((MAX(IF(RAINFALL>0,ROW(RAINFALL),"ERROR"))-MIN(IF(RAINFALL>0,ROW(RAINFALL),"ERROR")))*5/60
4/14/2010 5:52:22 PM