Micorsoft Data Query shifting nearby formula cell references

krazyderek

Board Regular
Joined
Feb 17, 2005
Messages
60
I have a two data query's that are set to auto update when you open the workbook.
Both query's are going to the same sheet

Query 1 is in columns A:I
Query 2 is in columns J:Q

Columns R:W calculate some values based on the data from both queries, i then used auto fill to populate the formula's down 10000 cells in columns R:W

When the query's refresh using the automatic refresh on open they affect the cell references in the calculating cells.

For example, if i have 200 rows of data from the query, then close and open the workbook, and it grabs another 150 rows of data from the query's i would expect that the calculating cells in columns R:W to continue to reference the cells on their row but around row 300 they reference will jump to reference a cell in row 750, and all the calculating cells below it will also have jumped or been offset the same.

If i manually right click the query's and press refresh, the problem doesn't happen.

I've used auto fill to simply redo the formula's after this happen's, but it's getting to be a pain and i wanted to get to the bottom of it.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Change the External Data Properties. You probably have "Insert Cells For New Data" option. Change it to "Overwrite Existing Cells", and see if that fixes things.
 
Upvote 0
Change the External Data Properties. You probably have "Insert Cells For New Data" option. Change it to "Overwrite Existing Cells", and see if that fixes things.

Thanks, Glenn, completely missed that, there's even a check box to auto fill the formula too, beauty!
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top