Forum Discussion

Olivier33's avatar
Olivier33
Copper Contributor
May 05, 2020

copy a formula from an other file without changing the adressing

Hello, first sorry for my bad english

 

So I have a big excell workbook with many formula that I use to generate different sheet. Before I give the final document to the people that need it, I copy paste the values. I usually keep one page with the formula, but I didn't this time.

 

So I loose all my formula. I tried to find an old version of my file to copy the formula, but excell create link to the other workbook. That's not what I want, but he is smart isn't he?

 

So my question is: is there anyway to copy the formula but ask excell not to keep the old reference but just to copy the formula letter by letter. I know that I can do this cell by cell, but this will be, really, really long...

 

Thank you!

3 Replies

  • roraima07's avatar
    roraima07
    Copper Contributor

    Olivier33 I have run into a similar issue in the past.  My solution was as follows:

     

    - look at the syntax of one of the formulae--it usually has the name of the original workbook, complete with the folder path, embedded in it

    - select all the cells in the entire worksheet

    - replace the name of the original workbook with nothing.  Be careful to note the EXACT syntax, else you will run into problems

     

    Hope this helps!

     

    • Olivier33's avatar
      Olivier33
      Copper Contributor

      Tx

      I tried something like that but it didn't go well... I should probably try again. I was wondering if there was some way to say to excell: please copy all the formula on this sheet without changing the adressing, but maybe it doesn't exist.

       

      Thank you again

      roraima07 

      • roraima07's avatar
        roraima07
        Copper Contributor

        Olivier33 Not to my knowledge.

         

        If you would like me to look into this matter further, you may send me an example of a formula copied from the old location and I can see if there is something else you should try.

         

Resources