How to make Networkdays formula display less than 0 values

Hello,

I am having multiple issues with my calculations using MAX and NETWORKDAYS. In the “Invoice Variance” field my numbers are displaying as negative numbers using the following formula =MAX(NETWORKDAYS([Invoice Submission Due Date]@row, [Original Invoice Receipt Date]@row, [Resubmitted Invoice Receipt Date]1:[2nd Resubmitted Invoice Receipt Date]1)) - 1. I need the formula to display “0” instead of negative numbers.

Can someone assist with a formula to resolve this issues. 

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    You could wrap the whole thing in another MAX function to output the MAX of that or zero.

    =MAX(0, MAX(NETWORKDAYS([Invoice Submission Due Date]@row, [Original Invoice Receipt Date]@row, [Resubmitted Invoice Receipt Date]1:[2nd Resubmitted Invoice Receipt Date]1)) - 1)

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!