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.
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"))
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...