Thread
:
LEFT(D2,3) but no spaces
View Single Post
#
5
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
LEFT(D2,3) but no spaces
Does this help?
=LEFT(TRIM(f2),3)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"yovation" wrote in message
ups.com...
Hi,
I am using the formula below in (E2)
=LOWER(LEFT(D2,3)&TRIM(CLEAN(SUBSTITUTE(F2," ",""))))&RIGHT(D2,2)
The problem I am having is... If one of the first 3 characters in D2
is a space, I don't want it. I need the formula to just ignore a
space if it is there. It can either drop the space and get the first
2 characters, or ignore the space and pick up the first 3 characters
that are not spaces.
Please, does anyone have a solution?
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett