I am currently using the following code :
=SUBSTITUTE(SUBSTITUTE(TRIM(SUBSTITUTE(C28," ","^")&" "&SUBSTITUTE(C29," ","^")&" "&SUBSTITUTE(C30," ","^"))," ", ", "),"^"," ")
to achieve the result : text, text, text
However, I am struggling to change the code to get the result that if there's only 2 cells have data, it should be text & text. If 3 cells have data, it should be text, text & text.
can anyone help me on this?