![]() |
how to eliminate a space when the field is blank in a merge
when you merge a letter and one of the fields is blank how do you eliminate
the space that occurs when there is no data: Mr. Gary A. Ward Mr. Gary two spaces Ward in the second instance how do I keep excel from putting an extra space because it has no data from the middle initial field? |
how to eliminate a space when the field is blank in a merge
You're doing something like:
=a1 & " " & b1 & " " & c1 & " " & d1 if yes, then maybe: =trim(a1 & " " & b1 & " " & c1 & " " & d1) Beyersdorf wrote: when you merge a letter and one of the fields is blank how do you eliminate the space that occurs when there is no data: Mr. Gary A. Ward Mr. Gary two spaces Ward in the second instance how do I keep excel from putting an extra space because it has no data from the middle initial field? -- Dave Peterson |
how to eliminate a space when the field is blank in a merge
Concatenate will not insert a blank:
put hello in A1 put world in C1 make no entries in B1 =A1&B1&C1 will display: helloworld -- Gary's Student "Beyersdorf" wrote: when you merge a letter and one of the fields is blank how do you eliminate the space that occurs when there is no data: Mr. Gary A. Ward Mr. Gary two spaces Ward in the second instance how do I keep excel from putting an extra space because it has no data from the middle initial field? |
All times are GMT +1. The time now is 12:38 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com