Hellow Mr. Andrew
I do appreciate your prompt response. The excel I am working on retrieves data from SQL server, it is supposed to be a plug and play. So I should simply throw this excel file on a specific machine and change the data sources accordingly (after creating the required SQL view). While changing the data source, it will prompt an authentication box and then refresh the data automatically. Once refreshed, the formulas and functions get corrupted.
I will try to clarify my case throw the following screen shots:
2,3 and 4 numbers above, are the formulas columns built on the "Original Data Set", which is being refreshed as it retrieves data from SQL view.
Now, when I copy this file and throw on another machine to retrieve data from another SQL server, I change the connection strings manually and then the data is refreshed. The end result, everything is corrupted with the #Ref error.
Definitely, I have just connected the Excel to another data source, and refreshed the data.
First Column Formula is fine (since the function in this one is built upon the same column)
Second Column Formula got corrupted, and ranges have shifted in a weird way - Link
Third Column Formula got corrupted, and ranges have shifted in a weird way as well - Link D
Looking forward to hearing from you,
The first line is before the data set is refreshed, and the second line shows how the error occurs (#Ref error and Ranges shift)