Hello,
I ran into a little Access problem and I didn't find a solution yet.
We've got 500 trees in a long term experiment. On each tree, some variables are measured each month (now, we are at month 75).
The data used to be organized in Excel in a 'wide' format, with 'Tree1' - 'Tree500' in rows, 'Month1' to 'Month75' in columns.
Code:
month1 ... month75
tree1
...
tree500
I reorganized the data in the 'long' format and imported it into access, with three colums: 'treeid', 'month' and 'value'. The resulting table has (500*75)=37500 records.
The long format was necessary for further analysis of the data.
Now I need a field formulary for month x (now: Month 76) that shows the measured values for month x-1 (now: Month 75) and month x-2 (Month 74)… and I've got no idea how to do that in an easy way. I did a similar things a couple of years ago using quite some VBA, but this is no option this time because I don't have enough time and the database should be as transparent as possible for colleagues that aren't familiar with Access.
Any help would be very much appreciated!