ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Moving cells without changing the formulas (https://www.excelbanter.com/excel-discussion-misc-queries/170100-moving-cells-without-changing-formulas.html)

juliejg1

Moving cells without changing the formulas
 
I have a spreadsheet with numerous columns of formulas. I had to take out
the columns A-V which left about 25 columns with formulas. I would like to
move the remaining columns to start in column A but do not want to have to go
through all of the formulas and change their references. The formulas are
quite lengthy and have only some absolute references and also reference other
worksheets. Is there a way to delete columns A-V without the remaining
formulas changing?

Pete_UK

Moving cells without changing the formulas
 
Highlight the 25 columns, then CTRL-H (Find & Replace):

Find What: =
Replace With: xyz=
click Replace all

This will have changed all the formulae to text strings, so now you
can delete columns A to V. Then highlight all 25 columns again, and
CTRL-H:

Find What: xyz=
Replace With: =
click Replace all

This should now change all the text strings back to formulae, with the
original references unchanged.

Hope this helps.

Pete

On Dec 18, 2:07 pm, juliejg1
wrote:
I have a spreadsheet with numerous columns of formulas. I had to take out
the columns A-V which left about 25 columns with formulas. I would like to
move the remaining columns to start in column A but do not want to have to go
through all of the formulas and change their references. The formulas are
quite lengthy and have only some absolute references and also reference other
worksheets. Is there a way to delete columns A-V without the remaining
formulas changing?




All times are GMT +1. The time now is 08:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com