Trying to get multiple conditions working with IF + PARENT ()
If formula works when it's used alone.
=IF(Type@row = "task", "") -> Works
=IF(Type@row = "subtask", PARENT(ID@row)) -> Works
However, when I tried to combine the formula, it returns UNPARSEARBLE.
=IF(Type@row = "task", ""), if(type@row="subtask", PARENT(ID@row)) -> Doesn't work.
What is wrong with above formula?