Updating Query

harryhornet

New Member
Joined
Feb 28, 2019
Messages
7
Hi All

I am wondering if you could help. I am running a number of queries on data that I receive on an annual basis however every year I receive the data, h columns re not one over, for example instead of using row S it will now use row T. Is there any way that I can update the queries with out having to update them all manually

Many Thank
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
what does the query look like ?
 
Upvote 0
they're not actually queries just cell references. I am trying to replicate a complicated word report in excel I have linked to cell but I know when I next do it the cell will now be the next column along. I am using = I24 but the next year it will be J24. I will have about 200 in total
 
Upvote 0
so you could change all your references to a single master in the code (near the top) then you only have to change the master once and everything else will then take that value, once you set it up right
 
Upvote 0

Forum statistics

Threads
1,213,501
Messages
6,114,010
Members
448,543
Latest member
MartinLarkin

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