Hello,
I have a problem that has stumped me. I would be eternally grateful if someone could help me. I have attached a spreadsheet with a sample of the original data and the solution for which I am hoping to get a formula.
Problem: Averages, sums, and variances need to be calculated and then long form data needs to be collapsed into short form for each expedition. Therefore, I need to calculate the following:
1. average harmony for each expedition
2. sum of “leader” values for each expedition
3. sum of “injury” values for each expedition
4. average age for each expedition
5. variance of age for each expedition
But here is the part I am struggling with: These new values need to be copied into a single row for each expedition. In other words, all the rows for a single expedition need to be collapsed into a single row for each expedition. I have over 50,000 rows of individual data that represent over 8,000 expeditions – that’s why I need a formula to do it for me.
Thank you so much for your help!!! I REALLY appreciate it!
Bookmarks