Bo_Ry's solution in post #27 is much faster than mine (post #26), so you should definitely try that
note: I still think you would still need to append the outer SUBSTITUTE (per post #26) - but this will have little impact on overhead.

regardless, for 180k cells I'd probably be erring on side of UDF, myself.