Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Calculate value same column with condition

Hi all!   I need to calculate the value of the state "in progress" for each ID by checking if the state column has "in progress" and "prioritized", otherwise I will not return anything. In this cas...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Thank you for the message, Anonymous. 

     

    RETURN IF((SEARCH("In Progress",_state,1,0) && SEARCH("Prioritized",_state,1,0)>0), _value,0) 

     

    Best, 
    Paul