Forum Discussion

nickbrown2310's avatar
nickbrown2310
Copper Contributor
May 18, 2020
Solved

TREND & FORECAST.ETS formula only having >0

Hi,   Trying to use the TREND function & the FORECAST ETS formula separately so that I have 2 different forecasts.   In the range data I have zeros but I do not want to include these figures in t...
  • JKPieterse's avatar
    JKPieterse
    May 19, 2020
    For the forecast.ets formula you can use this variation:
    =FORECAST.ETS(F10,IF($B$7:$B$30=0,"",$B$7:$B$30),IF($A$7:$A$30=0,"",$A$7:$A$30),,,1)

    However, it looks like the trend function does not like this trick, so to use TREND you'll have to exclude the empty cells form the formula.

Resources