• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Auto update formulat of a new copy of previous sheet.

imla

Member
I have a workbook that start with one sheet and grow every day (I use move and copy... to create a new copy of previous sheet) my question is:

in sheet(i) where i>1, I have a lot of formulat (~50) depend to sheet(i-1) so when I mad a copy of sheet(i) to generate sheet(i+1) what I whant is in sheet(i+1) all formula will be auto updated to refference sheet(i) not sheet(i-1) without breking the formult or using custom user function or macro or any sort of INDIRECT...etc.

for example: in sheet(3) cell B2 I have a formulat = sheet(2)'!$A1-$A1

if from sheet(3) I create the sheet(4) I want the formulat in cell B2 to be = sheet(3)'!$A1-$A1.

I think that there is a methos that I can use do that!?

link of sample file :

http://www.mediafire.com/?t3bx6k1ccb8uaw5
 
Hi, imla!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s) -if any posted below-, maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


Particularly in your case I'm afraid that you can't. Despite of this you have two options, one hard and one simple:

a) the hard, create a procedure (macro, VBA code) that do the job of changing formula references

b) the simple, select all cells in new sheet, change and replace Ctrl-H (I guess), and do it manually.


Regards!
 
Thanks SirJB7 I will read the green sticky etc..

about your answer

a) is the easy solution and not what I want.

b) who can change ~50 formula every day? thats hard!


I have a friend that some one show him how to do it; but too bad he forgot how to do it!?
 
Hi, imla!

With the easy solution you'd only have to do one replace operation. Select all cells in new worksheet, Ctrl-H (replace), in Find textbox write "Sheet(i-2)", in Replace With textbox write "Sheet(i-1)", and click on the Change All button. Am I missing something?

Regards!
 
Hi, imla!

Glad you solved it. Thanks for your feedback. And welcome back whenever needed or wanted.

Regards!
 
Back
Top