View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
David David is offline
external usenet poster
 
Posts: 1,560
Default Space after Mid Function

Simple as that Bob...thank you very much!!

"Bob Phillips" wrote:

Try

=MID(Trim(F1),5,30)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"David" wrote in message
...
I am using mid and then concatenate to get the text I need for another
workbook. However, there is a space being inserted from the mid function,

so
that when I use concatenate, an extra space appears. Here are the two
functions, they are in side by side columns.
=MID(F1,5,30) 'this is producing a space at the end. To test, copy the
result and paste special values.
=CONCATENATE(G1,"-",C1) is in the next column.
This is the result I get after using both:
Austin -TX 'The space is before the -

Thanks...this one I just can't figure!