Formula to measure moving averages
Hi there. I’m trying to find out if I can use a formula to calculate the average project time for the last 10 projects of a specific category.
I have a sheet that is collecting project data which includes the category and the total time spent. What i need to do is calculate the average total time spent for the last 10 projects of a specific category.
any help gratefully received
Answers
-
I hope you're well and safe!
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, [email protected])
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:[email protected] | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå - thanks for responding. To explain in some more detail. i have a sheet where i am collecting key bits of information regarding a program of projects that im managing. This includes the project type, the project go live date, the project total duration and of course the project name.
I would like to measure the average duration for each type of project type (basic, standard and advanced) but i only want to measure the last 10 projects based on the go live dates. I have created a mock up of the sheet and have shared this with you
thanks
Alistair
-
Glad we got it working!
Here's the formula for everyone.
=AVG(COLLECT([Total Project hours]:[Total Project hours], [Project type]:[Project type], "Basic", ID:ID, >(INDEX(MAX(ID:ID), 1) - 10)))
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:[email protected] | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
Check out the Formula Handbook template!