+ Reply to Thread
Results 1 to 6 of 6

How to copy sheet and keep references to that sheet?

  1. #1
    Registered User
    Join Date
    04-10-2008
    Posts
    5

    How to copy sheet and keep references to that sheet?

    Hello everyone
    Copy "SheetA", and you get "Sheet A (2)". But i want all of the formulas in second, just copied, sheet to reference first one. So what in "SheetA" was =W1 in "Sheet A (2)" should be =SheetA!W1. Is this posible?

    If not, is there any easy way to add a prefix to selected range of formulas. I tried Find/Replace, but it ignores the formula and i end up with just a plane piece of text.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,076

    Re: How to copy sheet and keep references to that sheet?

    You MAY be able to use Find/Replace, replacing all = to =SheetA! depending on the formulas.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    04-10-2008
    Posts
    5

    Re: How to copy sheet and keep references to that sheet?

    Quote Originally Posted by Special-K View Post
    You MAY be able to use Find/Replace, replacing all = to =SheetA! depending on the formulas.
    I tried it, it works if you click "Replace", and keep on clicking it to replace all of them. But if you click "Replace all" i get "formula contains error bla bla bla...". Strange.

    EDIT: you were right if it's a simple =W1, then it works, but anything else fails, obviously. So Find/Replace works only for =cell number.
    Last edited by the-trooper; 07-28-2014 at 08:52 AM.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to copy sheet and keep references to that sheet?

    Select the data in SheetA and copy. Then in the other sheet Paste Link. The formulae will be adjusted.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    04-10-2008
    Posts
    5

    Re: How to copy sheet and keep references to that sheet?

    Quote Originally Posted by newdoverman View Post
    Select the data in SheetA and copy. Then in the other sheet Paste Link. The formulae will be adjusted.
    No, this links to the cell i copied, that is not what i need.

  6. #6
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: How to copy sheet and keep references to that sheet?

    Try with this attachments
    Attached Files Attached Files

+ 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. Replies: 1
    Last Post: 02-09-2014, 05:49 PM
  2. Replies: 1
    Last Post: 01-30-2014, 02:55 PM
  3. Automatically change references on sheet copy
    By scaffdog845 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2012, 07:49 AM
  4. Copy Formula That References Another Sheet
    By JR573PUTT in forum Excel General
    Replies: 9
    Last Post: 02-16-2006, 06:24 PM
  5. [SOLVED] relative sheet references ala sheet(-1)!B11 so I can copy a sheet.
    By RonMc5 in forum Excel General
    Replies: 9
    Last Post: 02-02-2005, 09:06 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