+ Reply to Thread
Results 1 to 3 of 3

How to I import a worksheet and have the data flow to formulas?

  1. #1
    Registered User
    Join Date
    11-10-2007
    MS-Off Ver
    365
    Posts
    46

    How to I import a worksheet and have the data flow to formulas?

    Hi,

    I have a large workbook with one tab named "Data". Data in this sheet flows to formulas in other sheets. I have a separate worksheet also named Data that I want to import to the large workbook and have the data flow to the formulas. When I import the data sheet it appears as Data(2). I then tried deleting the original data sheet and renaming the imported sheet to "Data". Now I see that the formulas that reference the data sheet have changed from =Data! to =#ref!.

    Any ideas?

    Thanks

    Charlie

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: How to I import a worksheet and have the data flow to formulas?

    Try this:
    Choose all cells those error
    1- Press Ctrl-G / Special / Formula / check to Errors box only / OK

    Change all formulas in selection to text
    2- Press Ctrl-H;
    ----Find what: =
    ----Replace with: just leave it blank, type nothing
    press Replace All

    Replace #REF with DATA
    3- Ctrl-H again
    ----Find what: #REF
    ----Replace with:=DATA
    Replace All
    Quang PT

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to I import a worksheet and have the data flow to formulas?

    Do not copy the separate sheet over. Instead copy & paste special values into the existing sheet and the formulae with update.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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