how do I remove leading spaces and leave the remianing spaces w
Try the TRIM function:
With
B16: " find the spaces"
C16: =TRIM(B16)
Returns "find the spaces"....without the quotes, of course.
Does that help?
***********
Regards,
Ron
XL2002, WinXP
"Debi" wrote:
I am attempting to remove any leading spaces should there be any within a
range of cells
Example:
In Cell B16 " find the spaces"
in Cell B17 " Must leave other spaces"
In Cell B18 "May have no leading spaces"
The only spaces I would want to eliminate are the ones before "find...." and
"Must.."
|