ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   copy & paste formulas while referring to same cells (https://www.excelbanter.com/excel-discussion-misc-queries/73231-copy-paste-formulas-while-referring-same-cells.html)

Schoolson

copy & paste formulas while referring to same cells
 
I'm trying to copy a group of calculations (say A1 to A10) to another
location in the same workbook (say D11 to D20) while having the cells
referred to by the calculations stay the same.

For ex., I want the calculation 'B1+C1' in cell 'A1' to still refer to 'B1'
& 'C1' when it is moved to 'D11' (usually the calc would refer to cells 'B11'
& 'C11'). Can I do this without having to use $'X'$'#' ?. Is there a
keyboard shortcut?

Thanks

Dave Peterson

copy & paste formulas while referring to same cells
 
I don't know of a keyboard shortcut to do the copy, but you could change the
relative address to absolute address by hitting the F4 key.

I like to change my formulas to text:
select the range
edit|replace
what: = (equal sign)
with: $$$$$
replace all

Then copy|paste those text strings.

Then change the $$$$$ back to = signs (in both spots)

Schoolson wrote:

I'm trying to copy a group of calculations (say A1 to A10) to another
location in the same workbook (say D11 to D20) while having the cells
referred to by the calculations stay the same.

For ex., I want the calculation 'B1+C1' in cell 'A1' to still refer to 'B1'
& 'C1' when it is moved to 'D11' (usually the calc would refer to cells 'B11'
& 'C11'). Can I do this without having to use $'X'$'#' ?. Is there a
keyboard shortcut?

Thanks


--

Dave Peterson


All times are GMT +1. The time now is 03:28 PM.

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