Hi Bevan,
What you are asking would require more than a simple recordable macro. It would require VBA (Visual Basic for Applications).
Another alternative is to take a lookup at the VLOOKUP function in Excel. Based on the generalalities you posed in your message, the syntax would be something to the effect:
=vlookup([RequiredValue],[RangeInsideDailyReport],[ColumnToReturn])
Example:
The value you are testing for is 10, based on the cell (I think you said) in the monthly report.
VLOOKUP will go out to the daily report, look for value 10 in range of columns you specify, and, if found, return the value for the column you specify.
If the daily and monthly reports has the following
Column A is the match-value column
Column B is store number
Column C is EOD revenue
Column D is whatever
then the VLOOKUP in the monthly report would be:
B2:
Vlookup(A2,Daily!A:D,2)
C2:
Vlookup(A2,Daily!A:D,3)
D2:
Vlookup(A2,Daily!A:D,4)
E2:
Vlookup(A2,Daily!A:D,5)
You would then copy the formula down for each cell in the columns.
Afterwards, to "freeze" the numbers, you can convert then from formulas to value-only.
See your Excel help files for further explanation.
Kevin