Counting Concurrent Jobs
Each row in this spreadsheet is a "Job". I'm trying to count (project the count by month) concurrent "Active" jobs (rows) based on a start and finish date of the job.
I created two columns (per 12 months) to set the criteria for each months calculation. If the monthly criteria falls between the start and finish dates of the job/row, the cell would be "active", if not, the cell would be blank. Then I could just count the "Active cells by month to project my monthly concurrent active jobs for the year.
I understand that Smartsheet doesn't have a "Between" formula, but does anyone have any ideas on how to make this work?
See attached screenshot.
Best Answer
-
Try something like this.
=IF(AND(Start@row >= [Oct Start]@row, Start@row <= [Oct End]@row), 1, IF(AND(Finish@row >= [Oct End]@row, Finish@row <= [Oct End]@row), 1, IF(AND(Start@row <= [Oct End]@row, Finish@row >= [Oct Start]@row), 1)))
Did that work?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Try something like this.
=IF(AND(Start@row >= [Oct Start]@row, Start@row <= [Oct End]@row), 1, IF(AND(Finish@row >= [Oct End]@row, Finish@row <= [Oct End]@row), 1, IF(AND(Start@row <= [Oct End]@row, Finish@row >= [Oct Start]@row), 1)))
Did that work?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I set the formula to be 1 if true, so you could have a checkbox column instead, but you can, of course, modify it to whatever you'd like.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
You're Awesome! Thanks so much for your help. You're making me look good at my office. They will think I'm a genius! (I'll give you a little credit) :)
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!