A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
(see the screenshot)
Try the following formula in cell C2. This formula returns the average of WEIGHT.
=AVERAGE(TOCOL(D7:D25 / (A7:A25 < TODAY()), 3))
Try the following formula in cell C3. This formula returns the average of TEMP.
=AVERAGE(TOCOL(B7:B25 / (A7:A25 < TODAY()), 3))
Note: the data in red has been fictitiously added by me. So you can put your own data in its place.
If my reply is correct for you then please mark my answer and kindly upvote it. But if you still haven't got the right answer, then explain to me where the problem lies so that I can try to help you again.
IlirU