In custom object I had used hyperlink formula for related to field,i want parent id record name in hyperlink that should redirect to Parentid(where parentid consist of either accountid,leadid,oppid) record page. but getting object record name
HYPERLINK("url",parentid,"_blank")