Refreshing Data Query when column name changes

Copper Contributor

Opened new work book.

Went to the data tab and clicked on recent sources.

Selected "http://www thefinancials com/syndicated/Free/EX_Interest_TBills html"

Selected connect.

On Navigator window selected table, then selected load.

Next I select the Query Menu, then I select edit.

The "Power Query Editor" opens.

The right side of the window shows Query Settings.

I click on the X next to Changed Type. ( this was done in so that when I opened the file the next day, the data would load even though the column names have changed)

I close the "Power Query Editor" and keep changes.

Back at the Query Menu, I select properties. On the Query Properties window, usage tab, I put a check mark in "Refresh data when opening the file", then select "OK".

 

The imported data from the website is on "sheet2" of the workbook.

 

I switch to "sheet1" and insert the following formula in cell A1, =sheet2!B3. In cell B1, I insert, =sheet2!C3. 

 

Here in lies the problem. Today the information on sheet1 is correct but tomorrow when the data is refreshed, the data in A1 will be in B1 and A1 will show #REF!

 

Part of this is because on "sheet1", cell A1 changes to =sheet2!C3 when the file is opened the next day. I am going to try including the "$" in the source cell to see if this will work tomorrow.

 

Any other suggestions would be appreciated.

 

 

 

1 Reply
Does it help to select the table and click the Properties button on the data tab of the ribbon and choose the last option "Overwrite existing cells with new data, clear unused cells"?