Using OR with COUNTIF function
I have a sheet with a "Start Date" column and a "Completed Date" column, and I am trying to get the month end count, meaning it was either started OR completed in September. Both columns are formatted as "Date" columns. Can anyone help me?
Thank you!
-Erica
Best Answer
-
=IF(OR(MONTH([Start Date]@row = 9, MONTH([Completed Date]@row = 9), 1, 0)
This formula just returns a 1 or 0 if the month is September. You could also use this in a COUNT function, but I wasn't sure what all you were doing with it.
Answers
-
=IF(OR(MONTH([Start Date]@row = 9, MONTH([Completed Date]@row = 9), 1, 0)
This formula just returns a 1 or 0 if the month is September. You could also use this in a COUNT function, but I wasn't sure what all you were doing with it.
-
Sorry, it is missing a parentheses after the 9:
=IF(OR(MONTH([Start Date]@row = 9, MONTH([Completed Date]@row = 9)), 1, 0)
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
- 142 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!