=IF(C58="X"," "&AA112&"-YEAR Normalized EBIT AVERAGE FROM BELOW: "," "&AA112&"-YEAR Normalized EBITDA AVERAGE FROM BELOW: ")
I would rewrite that to have the common parts once only:= " "&AA112&"-YEAR Normalized " & IF(C58="X","EBIT", "EBITDA") & " AVERAGE FROM BELOW: "
In the formula below, I use an IF to test cell K58 for "abc" to see whether it should be EBIT or EBITDA. This nonsensical test is a placeholder for the answer to my question. You need to replace that IF with the answer to my opening question.
That done, you then use the SUBSTITUTE function with another IF to replace EBIT with NORMALIZED EBIT if C58 equals "X".
=SUBSTITUTE(IF(K58="abc","