Solved
Need to add if condition in the account formula for entity specific execution
There are certain calculations are specific to some entities in the hierarchy so want to add if condition to check entity names and then execute the code.
Couldn't find any api which returns Entity name.

Regards,
Yashwant
