Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

Combining Formulas

Options
Tariq Shaikh
edited 12/09/19 in Archived 2016 Posts

I am currently using 2 columns to identify tasks "Due in Next 2 Days" and "Past Due/No Schedule". I have been trying to nest the two formulas together to get the status in the same column. How can the following formulas be combined togateher:

 

=IF(AND(Due6 <= TODAY() + 2, NOT(Due6 < TODAY()), NOT(Status6 = "Completed")), "Due in 2 Days", "")

 

and

 

=IF(AND(TODAY() > Due6, NOT(Status6 = "Completed")), "Past Due/No Schedule", "")

Comments

  • Travis
    Travis Employee
    Options

    Tariq - Try this:

     

    =IF(AND(Due6 <= TODAY() + 2, NOT(Due6 < TODAY()), NOT(Status6 = "Completed")), "Due in 2 Days", IF(AND(TODAY() > Due6, NOT(Status6 = "Completed")), "Past Due/No Schedule", ""))

     

    With nested IF statements, you can just add the next IF statement where you would add the "if false" statement. Then add the "if false" at the end. 

     

    Here's a post on building nested IF statements: https://www.smartsheet.com/blog/support-tip-build-nested-IF

This discussion has been closed.