M melvin Member Oct 20, 2015 #1 Hi all, trying to overcome a space in cell a cell, using trim doesn't really help, as once I do paste values of trim brings back to the same result. Thanks Melv. Attachments trim formula.xlsm trim formula.xlsm 19.6 KB · Views: 6
Hi all, trying to overcome a space in cell a cell, using trim doesn't really help, as once I do paste values of trim brings back to the same result. Thanks Melv.
Hui Excel Ninja Staff member Oct 20, 2015 #2 Melv in C6: =TRIM(SUBSTITUTE(B6,CHAR(10),"")) Char(10) is a Carriage Return, which is why it takes up 2 lines
Melv in C6: =TRIM(SUBSTITUTE(B6,CHAR(10),"")) Char(10) is a Carriage Return, which is why it takes up 2 lines
A ashish mehra Active Member Oct 20, 2015 #3 Hi Melvin, Try this =TRIM(SUBSTITUTE(B6,CHAR(10),"")) Regards, AM