+ Reply to Thread
Results 1 to 8 of 8

Copy and Paste cells with formulas without formula adjustment

  1. #1
    Registered User
    Join Date
    05-28-2010
    Location
    Frankfurt
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copy and Paste cells with formulas without formula adjustment

    I would like to copy a range of cells (interactively) which contains formulas with references to other cells. By default, the references in the target cells will be adjusted by the relative offset of the destination cell to the source cell (unless the reference is absolut, i.e. $A$1).
    I'm looking for a way, that this adjustment is not applied without using absolut references in the source cells, i.e. copy literally.
    Paste Special only allows me to either select 'formula' (with adjustment) or 'value' (but I need the formulas!) - so 'paste special -> literally' would be nice...

    Is there a way to achieve this?

    Many thanks in advance!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copy and Paste cells with formulas without formula adjustment

    Welcome to the forum.

    The only way to do this from the user interface is to copy and paste in the formula bar. Otherwise you need a macro.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    09-23-2008
    Location
    Mexico
    Posts
    200

    Re: Copy and Paste cells with formulas without formula adjustment

    Try replacing = with something like #, copy/paste, replace # with =

  4. #4
    Forum Contributor
    Join Date
    05-28-2010
    Location
    Antwerp, Belgium
    MS-Off Ver
    Office 365
    Posts
    170

    Re: Copy and Paste cells with formulas without formula adjustment

    maybe try like this:

    copy the formula to notepad, then replicate it the amount of times you need (let's say you wanna spread it to 10 cells, then replicate it 10 times), copy the text from notepad, then paste it back to excel.

  5. #5
    Registered User
    Join Date
    05-28-2010
    Location
    Frankfurt
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copy and Paste cells with formulas without formula adjustment

    Quote Originally Posted by Armando Montes View Post
    Try replacing = with something like #, copy/paste, replace # with =
    Nice idea (like all the others!) - I will try this!

  6. #6
    Registered User
    Join Date
    05-28-2010
    Location
    Frankfurt
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copy and Paste cells with formulas without formula adjustment

    Many thanks! What is the right/best function to copy with a macro?

  7. #7
    Registered User
    Join Date
    05-31-2012
    Location
    Canada
    MS-Off Ver
    Excel 2011
    Posts
    32

    Re: Copy and Paste cells with formulas without formula adjustment

    Quote Originally Posted by Armando Montes View Post
    Try replacing = with something like #, copy/paste, replace # with =
    Genius.


  8. #8
    Registered User
    Join Date
    07-16-2012
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Copy and Paste cells with formulas without formula adjustment

    Well, it's pretty helpful to know that there isn't way to do what I was trying to do - thanks!

    I did find a reasonable work-around, though, for my very specific case. Certain 'delete cells' actions will shift the formulas without auto-adjusting the references. So I copied the formulas to new cells to point the references where they needed to point, then deleted the intervening cells.

    (I am dealing with columns of data where the 'meaning' of each column varies but there are relationships between the columns that require formulas to decipher. New data will be analyzed in the future, but the format will be unchanged, so it's worthwhile spending the time to set up the spreadsheet to decode this mess once and then be able to just drop in new data in the future.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1