Help with count of days returning as a negative number

Options

Hi there,

I have a formula that counts the number of days between the received date of a request and the completion date:

=IF(Status@row <> "Complete", NETWORKDAY([Received Date]@row, TODAY()), NETWORKDAY([Received Date]@row, [Completed Date]@row))

So once the "Status" of the request has been changed to "Complete" it displays the number of days, however we have negative numbers being displayed as well - what do I need to add to the existing formula to make those negative numbers show up simply as 0?


Thank you!

Best Answer

  • Carson Penticuff
    Carson Penticuff ✭✭✭✭✭✭
    Answer ✓
    Options

    This should do the trick:

    =IF(Status@row <> "Complete", NETWORKDAY([Received Date]@row, TODAY()), IF(NETWORKDAY([Received Date]@row, [Completed Date]@row) < 0, 0, NETWORKDAY([Received Date]@row, [Completed Date]@row))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!