Help with AverageIF/Collect formula

Hey there! Long time listener, first time caller. Im looking at needing some assistance with multiple criteria formula to pull in average costs for construction projects based on PROJECT TYPE and PROJECT STATUS. My desired end result is to view the AVG cost on a project type basis for all projects that fall under green, yellow, gray color coding. Im currently rocking the below formula but am getting slapped with an unparseable response. Any help would be appreciated!

=AVERAGEIF(COLLECT([$/SF]1[$/SF]50:TYPE50,TYPE1:TYPE50,"PROTO",STATUS1:STATUS50,"GREEN",STATUS1:STATUS50,"YELLOW",STATUS1:STATUS50,"GRAY")


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!