Using SUMIFS together with AVG returning #UNPARSEABLE


I am getting the #UNPARSEABLE error in my formula to sum totals between a date range and return the average of the total sum. The formula seems to work without the AVG syntax.

Working formula:

=SUMIFS({POTotal}, {OrderDate}, >=DATE(2020, 5, 1), {OrderDate}, <=DATE(2020, 12, 31))


=SUMIFS(AVG({POTotal}, {OrderDate}, >=DATE(2020, 5, 1), {OrderDate}, <=DATE(2020, 12, 31))))

Thank you,

Best Answer

  • Hayley B
    Hayley B ✭✭✭
    Answer ✓

    Hi Leandre!

    I would personally use AVG(COLLECT()) in this case. When you are using SUMIFS(AVG()) I think it is not working due to formula saying sum the average, with would just return the averaged amount (you would only be summing/adding one value, so it will return the value itself).

    AVG(COLLECT()) will let you define multiple criteria, collect the values, and then average the values collected. This may help you better achieve what you are looking to do.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!