Suggestions to update values based on query results

gitmeto

Board Regular
Joined
Nov 24, 2021
Messages
60
I have a workbook with 27 sheets that each contain a separate table generated by a Power Query (PQ) query. In each of the sheets, is a cell ("Last Updated") that references the last date the table was refreshed on that sheet. On another sheet, "FileWatch", I am running a query to check the "Date Modified" property of 27 files. What I am attempting to do is automatically update the query tables on the individual sheets only if the "Date Modified" property on the "FileWatch" sheet is different that the "Last Updated" when the query is ran at a specific time interval. I have tried worksheet calculate with a loop to compare the "Last Update" with "Date Modified" however due to memory constraints on the laptop, this takes an exorbitant amount of time and locks me out.

Is there another way that I can accomplish this functionality?

Thanks in advance.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,215,884
Messages
6,127,558
Members
449,385
Latest member
KMGLarson

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