Using AVGW(COLLECT and still missing the mark

Options
Tina Rustvold
Tina Rustvold ✭✭✭✭✭
edited 01/11/23 in Formulas and Functions

We would like to caluclate a weighted average for the total number of projects our Project Leads manage. I tried using AVGW(COLLECT to total the weights assigned to their projects with the formula below, but received an Incorrect Argument error. (The IMs column is calculating their total projects)

The way we are assigning weights may be the problem; currently weights are assigned for each project and anticipated months of work to help track Lead capacity. Would we need to first calculate each Lead total to use in the AVGW function?


Answers

  • Toufong Vang
    Toufong Vang ✭✭✭✭✭
    Options

    @Tina Rustvold, based on how your sheets are structured, try this...

    = SUM(COLLECT({Monthly Weight}, [IM Lead]:[IM Lead], @cell)) / IMs@row
    

    The formula takes the sum total of the project monthly weights, and divides it by the number of projects to attain your average project weight.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!