Hi @LutzWo , I think a nested IF statement will work here, something along these lines:IF(CONTAINS("R1",{parent}.{name}),"R1",IF(CONTAINS("R2",{parent}.{name}),"R2",IF(CONTAINS("R3",{parent}.{name}),"R3",IF(CONTAINS("R4",{parent}.{name}),"R4","")))) Make sure the number of IF matches the ")" at the ...