Average Collect Formula Not Calculating Correctly.
Answers
-
Everything looks good!
-
Great. So we have narrowed it down to this range.
{FY 21 340b Activity Tracking Days to Completion}
This is the data you are actually collecting for the AVG function. Exactly how is this data being populated?
-
Thanks - this is being calculated with the following formula:
=IFERROR(NETWORKDAYS(Start@row, [Actual End Date]@row), "")
-
Well that is producing numerical values, so it should be working correctly. Let's try expanding our COUNTIFS...
=COUNTIFS({FY 21 340b Activity Tracking Activity Frequency}, "Monthly", {FY 21 340b Activity Tracking Location}, "APD", {FY 21 340b Activity Tracking Parent Level}, 3)
-
That worked - it's calculating correctly.
-
Ok. Then what is the AVG/COLLECT generating vs what should it be?
-
It's calculating a number, -27 days which is correct for the MHMH location annual activity type. But it is calculating this for all activity types and locations which is incorrect. Would it help if I shared the metric sheet with you?
-
Hmm... It seems like it is something that is lingering on the back-end.
If this does not work, I am going to have to suggest reaching out to support.
Remove incorrect formula(s)
Log out
Clear cookies and cache
Log back in
Re-enter one of the formulas to see if it is working correctly
Does that help any?
-
I appreciate your assistance. No - it is still displaying incorrectly. I will submit a ticket.
-
Sorry I couldn't be of more help. Feel free to revisit this thread with the solution.
-
I reached out to support and it appears I had an extra parenthesis which caused the formula to exclude on of the criteria.
Correct Formula: =IFERROR(AVG(COLLECT({FY 21 340b Activity Tracking Days to Completion}, {FY 21 340b Activity Tracking Parent Level}, 3, {FY 21 340b Activity Tracking Activity Frequency}, "Monthly", {FY 21 340b Activity Tracking Location}, "APD")), "")
Original Formula: =IFERROR(AVG(COLLECT({FY 21 340b Activity Tracking Days to Completion}, {FY 21 340b Activity Tracking Parent Level}, "3"), {FY 21 340b Activity Tracking Activity Frequency}, "Monthly", {FY 21 340b Activity Tracking Location}, "APD"), "")
Thanks so much for all of your help.
-
Ugh. That's usually one of the first things I look for too. Sorry for missing that. Glad you were able to get it working.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!