Counting Concurrent Jobs

Options
Jerry Alexander
Jerry Alexander ✭✭✭✭
edited 09/18/21 in Formulas and Functions

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.

@Andrée Starå

Tags:

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓
    Options

    Hi @Jerry Alexander

    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

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!