Burrgogi
Active Member
- Joined
- Nov 3, 2005
- Messages
- 495
- Office Version
- 2010
- Platform
- Windows
I have a spreadsheet that I created long ago. One of the cells contains this formula which I need to fix:
It's referencing the wrong row, so I need to correct it to this:
In essence, all the row numbers need to be decreased by 1.
If it was just this single cell, it would be alright to do manually but it compares 2024 data with 2023 data so I've got 12 months to fix. Plus the data goes back to 2016 with the same comparisons so there are a total of 110 formulas that I need to fix like this.
I had the idea of replacing the equal sign with the '#' symbol. Basically convert the formula to a text string so I could do a simple text string 'find & replace' operation.
But I'm lost as to how to fix this in the most efficient manner.
Excel Formula:
=SUM(B12-B11)/ABS(B11)
It's referencing the wrong row, so I need to correct it to this:
Excel Formula:
=SUM(B11-B10)/ABS(B10)
In essence, all the row numbers need to be decreased by 1.
If it was just this single cell, it would be alright to do manually but it compares 2024 data with 2023 data so I've got 12 months to fix. Plus the data goes back to 2016 with the same comparisons so there are a total of 110 formulas that I need to fix like this.
I had the idea of replacing the equal sign with the '#' symbol. Basically convert the formula to a text string so I could do a simple text string 'find & replace' operation.
But I'm lost as to how to fix this in the most efficient manner.