Prevent a formula to be updated in an excel report

Using the dollar sign, it allows me to lock the cell reference but sometimes, when I delete a column or a row, the formula will be updated in spite that I put the dollar sign. It happens that for some tables, I need to lock totally the cell reference, no matter what I am doing, in such situation, I am using the indirect function.

formula excel

 

When I use the formula ?

When I need to lock completely some particular cells.

 

How to use the formula ?

The formula in this topic is with "," so depending of the operating system of your PC, the formula should have ";" instead of ",".

 

How is/are the formula(s) ?

=INDIRECT()

If I put this formula with the $ sign:

=SUM($B$2:$D$2)

And I am going to delete the column C, excel will update it automatically like that:

=SUM($B$2:$C$2)

So if I don’t want that, I put the indirect formula:

=SUM(INDIRECT("B2:D2"))

formula excel

Interesting Topics