View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default TRIM not trimming

It will not work for invisible html characters, just non printable
characters


--
Regards,

Peo Sjoblom



"ilia" wrote in message
oups.com...
Try using CLEAN() alongside TRIM().


On Aug 8, 6:22 pm, Kim wrote:
I have thousands of rows of data that I have used the "Text to Columns"
function on so that they are now two columns instead of one (text in A,
numbers in B).

However, there are leading and trailing spaces in both columns, and when
I
used the =TRIM function to remove them, it doesn't work. Even when I use
TRIM
in column D, then copy that value into Notepad, I can still see the
spaces.

What's wrong?

-- Thanks,
-Kim