Formula Help Part 2
Hi there,
I would like to count all of the projects in my portfolio that are launching in Jan, in Feb, in March, etc. I have a Date column called Upcoming Launch Date.
I posted previously and received this formula which works (January example):
=COUNTIFS([Upcoming Launch Date:Upcoming Launch Date], IFERROR(MONTH(@cell), 0) = 1)
What I later realized is that I would only like to count only those upcoming launch dates that are in January 2019. I have projects for each month that launched last year that I do not need in my calculation.
Hoping someone in the community can help!
Thanks so much,
Laura
Comments
-
Getting the Unparseable error
-
Unfortunately this didn't work either. Any other suggestions? I really appreciate the help!
-
(-‸ლ) I see what's missing. Sheesh. I need to look more carefully... the brackets need to surround each mention of the column name. -----> [Upcoming Launch Date]:[Upcoming Launch Date], Not just around both mentions... It should work now.
=COUNTIFS([Upcoming Launch Date]:[Upcoming Launch Date], IFERROR(MONTH(@cell), 0) = 1, [Upcoming Launch Date]:[Upcoming Launch Date], IFERROR(Year(@cell), 0) = 2019)
-
THANK YOU! Super helpful!
-
Glad we got it working! Have a great day.
-
One thing I have found to be helpful with the COUNTIFS/SUMIFS functions is using an AND statement if you are referencing the same range for multiple criteria. Depending on the length and complexity of your original formula, it can help with shortening it and with organization if you have a lot of different ranges all in one formula.
Another way of writing your working formula would be...
=COUNTIFS([Upcoming Launch Date]:[Upcoming Launch Date], AND(IFERROR(MONTH(@cell), 0) = 1, IFERROR(Year(@cell), 0) = 2019))
While this doesn't make much of a difference with only one range reference, I have a few that reference 4 and 5 ranges (some of which require up to 3 sets of criteria each). It helps greatly with simplifying things and I personally forget less what criteria has been added and what is left to add.
Just a FYI for future reference.
P.S.
OR can be used the same way within the COUNTIFS/SUMIFS functions.
-
Good suggestion. That definitely tidies things up and condenses them!
-
Thanks Mike.
I have some tracking that looks at Projected Start, Actual Start, Projected Finish, and Actual Finish based on month and year (and in some cases week number and year) plus the Project Lead which could be one of three different people (or one of three other people if a different team).
I have so many different ranges looking at multiple criteria using cross sheet references that I had to find every way possible to keep the count of references as low as possible.
-
Smart.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 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!