Excel will alert you to the fact that the formula is inconsistent with the other formulae in the column , assuming you have checked this error-checking option , but there is no reason why you cannot do it.
If used correctly every time you enter data into the last cell in a table the table adds another row so you last row is now second to last and so on and so on.
@Hui: I just want the same formula in the last row as in all other rows.
I'm not sure if I was very clear: I would like to know if it is possible to make the range of table (and by that I specially mean where the last row of the table is) by incorporating a formula in the "resize table")
In my example it would mean replace the "14" (=value of the last row) by a formula refering to the value which is in I2.
I half-succeded when entering =Indirect("$A$1:$G$"&$I$2) in the resize table window, however as soon as the table is updated, the formula disappear and the range comes back to =$A$1:$G$20 (see the print screen "before" and "after")
The reason is that I have a table with formulas taking information from a matrix (monthly financial review) in an other sheet. My table transform the matrix information into a database style. I would like the table to add automatically rows as new data (=a new month) are entered in the matrix (the cell I2 in my example would detect the number of month with information and tell how many rows long the table should be). Hope my explanation is clear