+ Reply to Thread
Results 1 to 9 of 9

Formula does not work after refresching data obtained from other excell file

  1. #1
    Registered User
    Join Date
    04-20-2015
    Location
    Den Haag, Nethelands
    MS-Off Ver
    2013
    Posts
    5

    Formula does not work after refresching data obtained from other excell file

    I have a file which is connected to several other excell files; the data from these files is used in calculations. When I refresh this data using "refresh all" my formulas do not work anymore.

    E.g. The formula I entered is:

    " ='FA raw'!C23/'FA raw'!C22! "

    after using "refresh all" the formula has changed to

    " ='FA raw'!#REF!/'FA raw'!#REF! "

    However, the cells which is refered to still exist and have a value.. Why does this happen and how can I prevent it? The connection to the other file has been made by going to the "data" tab, enter a new connection and use"existing connection".

    greetings,

    Robbert

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula does not work after refresching data obtained from other excell file

    Why you need a connection for referring to another workbook?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    04-20-2015
    Location
    Den Haag, Nethelands
    MS-Off Ver
    2013
    Posts
    5

    Re: Formula does not work after refresching data obtained from other excell file

    I have a few different studies that I summarize in one workbook

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula does not work after refresching data obtained from other excell file

    Quote Originally Posted by ikbenrobbert View Post
    I have a few different studies that I summarize in one workbook
    What I am saying is why don't you simply keep the source workbook in open and use = and use your mouse to select the concerned cell. After that you can drag that reference down as needed (But keep an eye on the dollar symbols & cell references).

    Also I don't know why you need refresh all when you want to refresh the links. Alt+E+K Update Values will do it for you

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Formula does not work after refresching data obtained from other excell file

    Hi,

    But if your Sheet reference was accurate then it should look something like this (In Case Of Separate Workbooks) -

    ='[Sheet Name.xlsx]Sheet1'!$A$1 (Workbook/Worksheet/Cell)

    However, you reference does not show all three.. This maybe the cause.. Not sure until I see your workbook..
    Cheers!
    Deep Dave

  6. #6
    Registered User
    Join Date
    04-20-2015
    Location
    Den Haag, Nethelands
    MS-Off Ver
    2013
    Posts
    5

    Re: Formula does not work after refresching data obtained from other excell file

    I see your point. I tried to make an example file which I can share with you, but I do not have the same problem with the example files so it seems to be file specific.

  7. #7
    Registered User
    Join Date
    04-20-2015
    Location
    Den Haag, Nethelands
    MS-Off Ver
    2013
    Posts
    5

    Re: Formula does not work after refresching data obtained from other excell file

    The problem seems to be related to the syntax. Say I have two sheets; "Data" in which I recieve data from another workbook called "Original", and and a sheet "calculations".

    I creat the formulas in "Calculations" by clicking the cells in "Data". Usually the syntax is:

    ='Data'!A1

    But sometimes the syntax is:

    =Table_Original[@Value]

    I don't know why this happens because I create all the formulas by clicking the cells. Anyway, when I changa data in the original workbook and refresh the connection, the first syntax does not give any trouble, but the second syntax does, saying:

    ='Data'!#REF!

    It seems when I change everything to the first type of syntax (just a sheet refrence) the workbook is fine.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula does not work after refresching data obtained from other excell file

    Quote Originally Posted by ikbenrobbert View Post
    =Table_Original[@Value]
    ='Data'!#REF!
    When you use Table references then the source workbook should be kept it Open. Otherwise it will result #Ref. Once you open the source workbook then the formula's will automatically changed to actual table references.

    To get rid of this issue just replace the table references with actual excel cell references

  9. #9
    Registered User
    Join Date
    04-20-2015
    Location
    Den Haag, Nethelands
    MS-Off Ver
    2013
    Posts
    5

    Re: Formula does not work after refresching data obtained from other excell file

    Thanks. That helped a lot

+ 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. [SOLVED] Deleting file obtained from VBA shell to Batch file
    By plasma33 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-28-2014, 09:53 AM
  2. download excell file using excell 2010 not excell 97-2003
    By devexcell in forum Excel General
    Replies: 2
    Last Post: 06-02-2014, 07:03 AM
  3. Sorting data obtained through formulas
    By openroad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2013, 02:56 AM
  4. Replies: 2
    Last Post: 03-07-2012, 03:16 PM
  5. freezing data in a cell which was obtained using a formula
    By Joe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2006, 05:10 PM

Tags for this Thread

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