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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!