Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cathy Landry
 
Posts: n/a
Default Text spacing in drop down lists

Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:
Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Cathy Landry
 
Posts: n/a
Default

If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:

In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:
Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


  #4   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

In the source list, is each address all in one cell, or is it in several
columns?

If it's in columns, that you've concatenated for the dropdown, e.g.:

=A2&", " & B2

you could use the CHAR(10) function instead of commas, e.g.

=A2&CHAR(10)&B2

Cathy Landry wrote:
If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:


In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:

Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #5   Report Post  
Cathy Landry
 
Posts: n/a
Default

Yes, they are all in one cell.

Thank you!

"Debra Dalgleish" wrote:

In the source list, is each address all in one cell, or is it in several
columns?

If it's in columns, that you've concatenated for the dropdown, e.g.:

=A2&", " & B2

you could use the CHAR(10) function instead of commas, e.g.

=A2&CHAR(10)&B2

Cathy Landry wrote:
If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:


In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:

Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




  #6   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You could try the following in a copy of your data:

Select the column of names/addresses
Choose EditReplace
In the Find What box, type a comma
In the Replace With box, hold the Alt key, and on the number keypad
type: 0010
(you won't see anything in the Replace With box)
Click the Replace All button
Click OK to confirm the replacement
Click Close


Cathy Landry wrote:
Yes, they are all in one cell.

Thank you!

"Debra Dalgleish" wrote:


In the source list, is each address all in one cell, or is it in several
columns?

If it's in columns, that you've concatenated for the dropdown, e.g.:

=A2&", " & B2

you could use the CHAR(10) function instead of commas, e.g.

=A2&CHAR(10)&B2

Cathy Landry wrote:

If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:



In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:


Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #7   Report Post  
Cathy Landry
 
Posts: n/a
Default

It worked perfectly!!

Thank you so much!

"Debra Dalgleish" wrote:

You could try the following in a copy of your data:

Select the column of names/addresses
Choose EditReplace
In the Find What box, type a comma
In the Replace With box, hold the Alt key, and on the number keypad
type: 0010
(you won't see anything in the Replace With box)
Click the Replace All button
Click OK to confirm the replacement
Click Close


Cathy Landry wrote:
Yes, they are all in one cell.

Thank you!

"Debra Dalgleish" wrote:


In the source list, is each address all in one cell, or is it in several
columns?

If it's in columns, that you've concatenated for the dropdown, e.g.:

=A2&", " & B2

you could use the CHAR(10) function instead of commas, e.g.

=A2&CHAR(10)&B2

Cathy Landry wrote:

If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:



In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:


Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


  #8   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

You're welcome! Thanks for letting me know that it worked.

Cathy Landry wrote:
It worked perfectly!!

Thank you so much!

"Debra Dalgleish" wrote:


You could try the following in a copy of your data:

Select the column of names/addresses
Choose EditReplace
In the Find What box, type a comma
In the Replace With box, hold the Alt key, and on the number keypad
type: 0010
(you won't see anything in the Replace With box)
Click the Replace All button
Click OK to confirm the replacement
Click Close


Cathy Landry wrote:

Yes, they are all in one cell.

Thank you!

"Debra Dalgleish" wrote:



In the source list, is each address all in one cell, or is it in several
columns?

If it's in columns, that you've concatenated for the dropdown, e.g.:

=A2&", " & B2

you could use the CHAR(10) function instead of commas, e.g.

=A2&CHAR(10)&B2

Cathy Landry wrote:


If I have 1000 lines I will need to do that for each one?

"Debra Dalgleish" wrote:




In your source list, press Alt + Enter where you want the lines to break
Then, in the cell that contains the dropdown list, choose FormatCells
On the Alignment tab, add a check mark to Wrap Text, and click OK

In the dropdown list, you'll see a box character where the line breaks
are, but they won't appear in the cell.

Cathy Landry wrote:



Hello,

I have a drop down list that contains clinic name/address/city/st/zip/phone#
in a merged cell. Is there anyway to format the spacing so that it will look
like a proper ship-to address?

Thank you
Cathy


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text to Columns from drop down list update Kurgan Excel Discussion (Misc queries) 0 June 21st 05 12:14 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Data Validation - Drop down lists - if then? Steve R Excel Discussion (Misc queries) 2 April 8th 05 06:13 PM
Can different drop down lists be displayed depending on the value. Laurentd Excel Discussion (Misc queries) 1 February 24th 05 12:31 AM
How do I change the appearance of my drop down lists? Tom Tanner Excel Worksheet Functions 1 October 28th 04 04:03 PM


All times are GMT +1. The time now is 04:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"