Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
y y is offline
external usenet poster
 
Posts: 60
Default Help cell formatting.

Hi all,

I would format a cell to show informatios as below:

05/13/2004
Thursday

NOTE:
I don't want a formula. I would use the format options.
The alfanumeric string must be under the numeric one.
Note the first capital letter.

I tried "mm/dd/yyyy dddd" but it returns

05/13/2004 thursday

(on the same line).

Do you know some tricks to do this?

Thank you, Alex.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Help cell formatting.

Hi
AFAIK this is not possible using a cell format

--
Regards
Frank Kabel
Frankfurt, Germany


y wrote:
Hi all,

I would format a cell to show informatios as below:

05/13/2004
Thursday

NOTE:
I don't want a formula. I would use the format options.
The alfanumeric string must be under the numeric one.
Note the first capital letter.

I tried "mm/dd/yyyy dddd" but it returns

05/13/2004 thursday

(on the same line).

Do you know some tricks to do this?

Thank you, Alex.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Help cell formatting.

I don't think you can do this with custom formatting but I have a formula
work around using a second cell. I know you didn't want a formula but
perhaps it'll give you some ideas for playing with the formula. (I tried
inserting char(10) in the custom formating but it didn't work.

Assume the original date is in cell A1. Try this formula in the cell where
you want the two lines to be displayed. Note the alignment on this cell
must be set to Word Wrap. Obviously, you could replace the cell reference
below with whatever formula (if any) is calculating the date.

=TEXT(A1,"mm/dd/yy")&CHAR(10)&TEXT(A1,"dddd")

This would work if all you need to do is display the date and day of week.
If you need to do math with this result, you'll need a different solution or
would have to extract the date from the result.

- John Michl
"Frank Kabel" wrote in message
...
Hi
AFAIK this is not possible using a cell format

--
Regards
Frank Kabel
Frankfurt, Germany


y wrote:
Hi all,

I would format a cell to show informatios as below:

05/13/2004
Thursday

NOTE:
I don't want a formula. I would use the format options.
The alfanumeric string must be under the numeric one.
Note the first capital letter.

I tried "mm/dd/yyyy dddd" but it returns

05/13/2004 thursday

(on the same line).

Do you know some tricks to do this?

Thank you, Alex.



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
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


All times are GMT +1. The time now is 09:41 AM.

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

About Us

"It's about Microsoft Excel"