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.

Connecting two formulas

Jeff Smith
edited 12/09/19 in Archived 2016 Posts

I have 2 formulas that both work. I want to merge them into one formula but it is not working. 

=IF((COUNT(CHILDREN(Availability5)) = COUNTIF(CHILDREN(), "Red"), "Red", "Green"

=IF((COUNT(CHILDREN(Availability5)) = COUNTIF(CHILDREN(), "Gray"), "Gray", "Green"

 

It might just be time for lunch but what are the rules to putting these together? 

 

Tags:

Comments

  • Travis
    Travis Employee

    Hi Jeff, try this!

     

    =IF((COUNT(CHILDREN(Availability5))) = (COUNTIF(CHILDREN(), "Red")), "Red", IF((COUNT(CHILDREN(Availability5))) = (COUNTIF(CHILDREN(), "Gray")), "Gray", "Green"))

This discussion has been closed.