Kindly increase the nesting in formula field, it's currently set to level 1 only. Thanks