In cells K2:K9 I have values but sometimes there are blanks . For example in this particular case only have values on cells K4:K6 (K4=925, K5=755, K6=900).
The formula {=TREND(K4:K6)} works fine and returns 872.5 for the first value on L4...BUT I don't know which cells from K2:K9 will be populated.
I already tried {=TREND(IF(K2:K9<>" ",K2:K9))} but it returns 432.083 on L4 which means that its treating the blank cells as zeros.
Any ideas on how I can rewrite the CSE formula to not take into account the blank cells?
Thanks in advance,
Ben
The formula {=TREND(K4:K6)} works fine and returns 872.5 for the first value on L4...BUT I don't know which cells from K2:K9 will be populated.
I already tried {=TREND(IF(K2:K9<>" ",K2:K9))} but it returns 432.083 on L4 which means that its treating the blank cells as zeros.
Any ideas on how I can rewrite the CSE formula to not take into account the blank cells?
Thanks in advance,
Ben