Forum Discussion
Artik_K
May 06, 2019Copper Contributor
Unwanted change of the formula when increasing the table
I use the Polish version of Excel 365. I want to cumulatively calculating the data in the table (Table tool) row by row. So I use the formulas: in C2: =COUNTBLANK($B$2:$B2) in C3: =COUNTBLANK($B$2...
- May 06, 2019
Artik_K , that's a normal behaviour. Excel remembers what $B3 is in the last row of the table, and when you expand the table it automatically substitutes the reference on the cell in the new last row.
In general with tables it's better to use structured references, in your case like
=COUNTBLANK(INDEX([B],1):[@B])
Artik_K
May 07, 2019Copper Contributor
SergeiBaklan wrote:Artik_K , that's a normal behaviour.
As for me, this is not normal behavior. Excel destroyed my formula. The more so because in XL2007 there was no problem.
However, I really like the solution from INDEX ().
Thank you.
Artik
SergeiBaklan
May 07, 2019Diamond Contributor
Artik_K , yes, I took wrong word. I mean that's by design.