The formula is copy-pasted below. I’ve been staring at it in the function wizard for a while trying to figure out where the problem is but I’m not seeing it. The parts of the function appear to be working correctly in the function wizard. The first argument of FORECAST
looks like it is correctly returning 03/07/20 + 1
(as of March 7th), the second argument is returning $B$17:$B$29
and the third argument is returning $K$17:$K$29
. I tried putting =FORECAST(TODAY()+1, $K$17:$K$29, $B$17:$B$29
in a separate cell and it returned the expected result. So can anyone help me figure out what is going on with the original formula?
=FORECAST(TODAY()+IF(MOD(WEEKNUM(TODAY(),2),2)=0, 7-WEEKDAY(TODAY(),2), 14-WEEKDAY(TODAY(),2)), ADDRESS(MATCH(TODAY() - IF(MOD(WEEKNUM(TODAY(),2),2)=0, 7+WEEKDAY(TODAY(),2), WEEKDAY(TODAY(),2)), B:B, -1)+1, 2, TRUE(), TRUE()):ADDRESS(MATCH(MAX(B:B), B:B, 0), 2, TRUE(), TRUE()), ADDRESS(MATCH(TODAY() - IF(MOD(WEEKNUM(TODAY(),2),2)=0, 7+WEEKDAY(TODAY(),2), WEEKDAY(TODAY(),2)), B:B, -1)+1,11, TRUE(), TRUE()):ADDRESS(MATCH(MAX(B:B),B:B, 0), 11, TRUE(), TRUE()))