I have a worksheet that compiles daily generated data into a monthly overview. A new sheet is created each day, with the latest sales data. Within my monthly overview, I pull the data using this formula (in cell K13 for this example):
=IFERROR(VLOOKUP($D13, INDIRECT("'" & K$1 & "'!" & "D:E"), 2, 0), "")
where
D13
is the product to lookup;
K1
is the date that I'm pulling from;
D:E
is the range of data to search from.
Notes:
-Using the indirect
function to match each sheet reference search to the current date
-Using iferror
to prevent N/A values on future dates.
The formula works perfectly for existing sheets, but whenever a new sheet is created, whether manually or automatically, the formula doesn't update with the result. Once I cut and paste the formula, it updates with the correct result.
I've tried changing the calculation settings within the sheet to auto calc every minute or hour, but that doesn't work. The only work around I've found is to manually cut and paste the equations.