Thread
:
Problem with spaces
View Single Post
#
5
Posted to microsoft.public.excel.worksheet.functions
nospaminlich
Posts: n/a
Problem with spaces
Thanks for all the help from which I've come up with this formula:
=VALUE(IF(C2<"",-TRIM(SUBSTITUTE(C2,CHAR(160),"")),TRIM(SUBSTITUTE( D2,CHAR(160),""))))
......which seems to do the trick.
Thanks again
Reply With Quote