Formula using AND and OR functions
Answers
-
Hi Paul,
I need to put myself into reverse back to 6/14.
Project Complete is unchecked AND Project Cancelled is unchecked (on 6/15 I told you it should have been OR, but it really should be AND as I initially presented)
- Row creation month is June
- Row creation year is 2022
- Deployment type is either New Deployment OR Package Upgrade
This formula that you provided me with works but I get "0" for an answer which is incorrect (I tried the formula in multiple rows, changing the month, and still always get "0").
=COUNTIFS({Project Complete}, @cell <> 1, {Project Cancelled}, @cell <> 1, {Deployment Type}, OR(@cell = "New Deployment", @cell = "Package Upgrade"), {Sodexo Deployment Queue Row Creation Month}, @cell = "June", {Sodexo Deployment Queue Year}, @cell = "2022")
Thanks again for your help!!
-
How exactly are you outputting the month and year on the source sheet?
-
Using the Row Created Date (system generated column), my colleague created the following formulas:
Row Creation Month: =IF(MONTH([Row Creation Date]@row) = 1, "January", IF(MONTH([Row Creation Date]@row) = 2, "February", IF(MONTH([Row Creation Date]@row) = 3, "March", IF(MONTH([Row Creation Date]@row) = 4, "April", IF(MONTH([Row Creation Date]@row) = 5, "May", IF(MONTH([Row Creation Date]@row) = 6, "June", IF(MONTH([Row Creation Date]@row) = 7, "July", IF(MONTH([Row Creation Date]@row) = 8, "August", IF(MONTH([Row Creation Date]@row) = 9, "September", IF(MONTH([Row Creation Date]@row) = 10, "October", IF(MONTH([Row Creation Date]@row) = 11, "November", IF(MONTH([Row Creation Date]@row) = 12, "December"))))))))))))
Row Creation Year: =YEAR([Row Creation Date]@row)
-
Lets try referencing the created date directly...
=COUNTIFS({Project Complete}, @cell <> 1, {Project Cancelled}, @cell <> 1, {Deployment Type}, OR(@cell = "New Deployment", @cell = "Package Upgrade"), {Sodexo Deployment Queue Row Creation Date}, AND(IFERROR(MONTH(@cell), 0) = 6, IFERROR(YEAR(@cell), 0) = 2022))
-
Fantastic!!! Thank you SO MUCH for working so hard on this with me!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!