+ Reply to Thread
Results 1 to 4 of 4

How to copy formulas to new workbook without referencing original source

  1. #1
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    How to copy formulas to new workbook without referencing original source

    I want to copy a set of formulas I wrote for one workbook and use them in another workbook that is unrelated. But the copy references the original source file. How can I copy just the formulas as they are to use in a new set of calculations? There are about 30 separate formulas I need to replicate. Using the paste formula function does not seem to help.

    Example:

    Original =SUMIF(Data!$N$6:$N$602,"Urban Fashion 2",Data!$F$6:$F$235)
    Copy: =SUMIF('[Sales NEW Analysis 5-6-13 to 23-7-13.xlsb]Data'!$N$6:$N$602,"Urban Fashion 2",'[Sales NEW Analysis 5-6-13 to 23-7-13.xlsb]Data'!$F$6:$F$235)


    Thx

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: How to copy formulas to new workbook without referencing original source

    I would insert an apostrophe (') in front of each formula to convert the data to text. Now copy and paste to the new workbook. Now in the new workbook, remove the apostrophe. If this is something you will be doing regularly, you may wish to save a file with the apostrophes in a template file. Additionally, you may want to automate with some VBA.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to copy formulas to new workbook without referencing original source

    The approach I take with this situation, is to copy the formula from the formula bar, then paste it to the formula bar in the new W/B, then just enter
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    08-14-2012
    Location
    Sydney
    MS-Off Ver
    Microsoft 365
    Posts
    90

    Re: How to copy formulas to new workbook without referencing original source

    Thanks guys for the tips. Although I had hoped there was a simple answer, like a shift key or some such. There are too many formulas to treat one at a time.

    A bit of lateral thought solved it and here's a trick. Copy the address of the original source that appears in the formula and past into Find and Replace then leave the Replace With empty. It then replaces the address with nothing. Vola!

    Should have though of that earlier.

    Thanks for your help anyway.

+ 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. Copy/Paste Referencing Only Original Cell (Conditional Formatting)
    By JONBOY666 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-30-2013, 06:26 PM
  2. Copy graph to new workbook while leaving data in original workbook
    By smjpl in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-10-2012, 12:49 PM
  3. copy and paste without referencing original sheet
    By tinkerist in forum Excel General
    Replies: 3
    Last Post: 04-07-2012, 08:26 PM
  4. [SOLVED] Copy tabs(sheets) from workbook without link to original source
    By Rich Ulichny in forum Excel General
    Replies: 3
    Last Post: 08-24-2005, 09:11 PM
  5. [SOLVED] copy PROTECTED worksheet without referencing original
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2005, 06:05 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