How do I add another IF statement to a Workdays calculation?

edited 12/09/19 in Formulas and Functions

I am using the following formula (from a template) top calculate Working Days Remaining for a task - =IF(ISERROR(NETWORKDAYS(TODAY(), [End Date]@row)), "", NETWORKDAYS(TODAY(), [End Date]@row))

However, I want to add a condition to this that if the Status column for that same row is marked complete, then the Working Days remaining should = 0 (or I'd also be ok with it just being blank).   

The reason for this is that some of the members of the project team are concerned that the "Working Days Remaining" for completed tasks calculate and display as negatives.

Is there a way to add a nested IF statement that will do this?


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!