Average if when date is current year
we want to update the formula to show the average # of problem solving days when the idea is a JDI and the opportunity was submitted in the current year.
Current formula - missing component to reflect only submissions from current year.
=AVERAGEIF({APD CI Tracker Range 5}, ="JDI", {APD CI Tracker Range 4})
{APD CI Tracker Range 5}- potential dropdowns "JDI:", "RCPS", or "Tech"
{APD CI Tracker Range 4} - average # of problem solving days
we also have a helper column for submission year I just am unsure how to incorporate that into my formula
can anyone help? :)
Answers
-
You would need to use
=AVG(COLLECT({APD CI Tracker Range 4}, {APD CI Tracker Range 5}, ="JDI", {Year Column Range}, 2023))
-
@Paul Newcome - Thank you!! Do you know if I want to avoid having to update it to reflect the current year if i can formulate it to
=AVG(COLLECT({APD CI Tracker Range 4}, {APD CI Tracker Range 5}, ="JDI", {Year Column Range}, @cell = YEAR(TODAY())) ?
-
@Paul Newcome - that formula is giving me a DIVIDE BY ZERO error
-
If you are getting a that particular error then that means either your range 4 does not have any number values in it on the rows that are matching and/or you do not have any rows that are matching.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!