#Unparseable - AVG if business unit and current year.
Hi all.
In a sheet summary field I'm looking to get the average number of days, if the year is current and for a particular business unit. Iterations on the following result in #Unparseable of #Incorrect Argument? where am I going wrong?
=AVERAGEIFS([Time in application (Days)]:[Time in application (Days)], [Date BPR]:[Date BPR], IFERROR(YEAR(@cell ), 0) = 2024, [Dept.]:[Dept.], "NMGS")
Cheers.
Best Answers
-
There is no AVERAGEIFS function in Smartsheet. You would need to use an AVG/COLLECT combo.
-
@Jason P Happy to help. 👍️
The typical reason for the AND is to include a MONTH argument.
Answers
-
There is no AVERAGEIFS function in Smartsheet. You would need to use an AVG/COLLECT combo.
-
Thanks Paul,
The following got the result & changed YEAR to current, also added a previous tip from your good self with IFERROR.
I noticed If I add AND to (IFERROR there is no difference, is there a reason some formulas have the AND and others do not?
=AVG(COLLECT([Time in application Days]:[Time in application Days], [Dept.]:[Dept.], "DEX", [Date BPR]:[Date BPR], IFERROR(YEAR(@cell), 0) = YEAR(TODAY())))
Cheers.
-
@Jason P Happy to help. 👍️
The typical reason for the AND is to include a MONTH argument.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!