+ Reply to Thread
Results 1 to 2 of 2

Relative forumlas when copying between workbooks

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Relative forumlas when copying between workbooks

    I am using Excel 2013 for this issue NOT Excel 2010 (as I am at work)

    I have a formula in WS3 of WB1 referencing cellb4 of ws1
    Please Login or Register  to view this content.

    I want to copy this formula (in bulk across a row referencing various rows and columns) into WB2 but have it refer to the same cell in the same sheet just in WB2 not WB1.

    Can anyone help with this rather than me copying the WEB ref and find replacing it with Sheet1! everytime?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Relative forumlas when copying between workbooks

    Select your cells, and then run the first macro below, which will convert the formulas to strings that will not update when copied and pasted. Copy those cells and paste them into the other workbook. Then run the second macro on both the copied cells and the pasted cells to convert them to valid formulas. Note that the second workbook must have the correct sheet structure to allow the formulas to actually be entered and work....

    Please Login or Register  to view this content.
    Note, too, that your formula

    =+Sheet1!D4

    doesn't need the +

    =Sheet1!D4
    Bernie Deitrick
    Excel MVP 2000-2010

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Issue with relative references between workbooks
    By froment in forum Excel General
    Replies: 2
    Last Post: 01-07-2017, 04:03 AM
  2. Replies: 1
    Last Post: 10-10-2012, 10:23 AM
  3. Excel 2007 : Copying relative formula to every other row?
    By tigersprite in forum Excel General
    Replies: 2
    Last Post: 08-17-2010, 04:32 AM
  4. Copying workbooks to a new folder retaining relative links
    By mangoeater2 in forum Excel General
    Replies: 1
    Last Post: 06-08-2010, 11:00 AM
  5. Relative links between workbooks
    By Glio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2007, 12:04 PM
  6. Need Help With Copying Relative Formula
    By Kia in forum Excel General
    Replies: 1
    Last Post: 01-03-2006, 09:15 PM
  7. copying relative macro
    By remco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2005, 09:04 PM

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