I’m sure this is a pretty easy question for the experts, but it has me stumped. The attached sheet shows what I’m trying to do – basically within a series of data, count the number of weeks from the first non-zero value to the last non-zero value.
Let me introduce the twist – the data series may have zero values within (ie between the first non-zero value and the last non-zero value), but these intermediary ones must be counted – it’s only the outliers that must not be counted.
I think the attached sheet explains it better than I can describe it here. If anyone has any ideas on how I can get the desired count for the number of weeks, I would be most grateful.
Thanks.