Carriage Return in Custom Format

G

Guest

I have used the custom format to portray a date as Monday, 24 April 2007 in a
cell by using dddd, dd mmmm, yyyy
But what I want is for Monday to be on the first line by itself and 14 April
2007 to be on a second line. In other words, is there some way to enter ALT
ENTER after Monday in a custom format?
 
D

Dave Peterson

Select your range
Format|Cells|Number Tab|Custom Category
dddd,$dd mmmm, yyyy
But don't type the $. Instead, hit ctrl-j

Then to the Alignment tab.
Click the Shrink to fit box (do this first)
then click the Wraptext box (do this second)

You'll have to adjust the rowheight manually. And maybe the columnwidth, too.

I'd center the text, too. It looks nicer (I think).
 
G

Guest

Thanks Dave - this worked!

Dave Peterson said:
Select your range
Format|Cells|Number Tab|Custom Category
dddd,$dd mmmm, yyyy
But don't type the $. Instead, hit ctrl-j

Then to the Alignment tab.
Click the Shrink to fit box (do this first)
then click the Wraptext box (do this second)

You'll have to adjust the rowheight manually. And maybe the columnwidth, too.

I'd center the text, too. It looks nicer (I think).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Custome Format 2
Line break in custom date format? 6
Date Formatting 34
Custom Date Format 5
custom date format 2
Custom Date Format 3
Custom Number Formats for Excel 2007 1
Date custom formats 2

Top