I am trying to find the difference between weights of a group of animals between two dates – for example, I want to find the difference in weight for the animal “AA1999” between the dates 01/01/99, 01/06/99 and 01/01/00. I can find the difference in weight between the first and third dates fine (using FirstDate and LastDate), but it’s the difference between the first and second and the second and third dates I can’t work out. I could do it manually, but I have over a thousand animals for which I need the data and some of these animals have up to 10 weights.
All the data is in a single table with the fields [AnimalID], [DateWeighed] and [Weight].
I have attached a data base with a sample table.
Thanks all for your help.
Miquel