Date on two lines using a custom cell format possible?

  • Thread starter Thread starter .:mmac:.
  • Start date Start date
M

.:mmac:.

I have a single cell set to display the date as

Sun, 1/1

and I would prefer it to be centered on two lines in the cell like:

Sunday
1/1

When entering text it is done using the Alt key but how can I do it with a
cell custom format?
 
If you can live with the date as a text entry enter Sunday then ALT + ENTER
then 3 spaces and 1/1

Format the row to Autofit.

Gord Dibben Excel MVP
 
You can format as you wanted dddd then Alt+0010 then mmm dd
and turn cell wrap on *BUT* the column cannot be narrower than if
you had it all on one line within the cell.

If you have another cell to get the date value from you can
use =TEXT(B22,"ddd"&CHAR(10)&"mmm dd")
then if you don't want left alignmnet realign as center, or right
(your 1/1 is too ambiguous for me)
 
Excellent! Right on target! I like the mmm format better now that I can fit
it in the wrapped cell. I had no idea that you could put extended characters
in the formatting.
Thank you very much!
 

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

Back
Top