Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
gareth93
 
Posts: n/a
Default Multi-line Formatting


Hi,
Just wondering if anyone knows how to format a cell for multiline
values.

E.g. i have a cell formated with "d/m/yyyy". But if i hit Alt+Enter to
enter another line in the cell, can i format that text to "d/m/yyyy" as
well? I know i can just type in the value correctly, but i would like to
have it formatted.

Thanks.


--
gareth93
------------------------------------------------------------------------
gareth93's Profile: http://www.excelforum.com/member.php...o&userid=26578
View this thread: http://www.excelforum.com/showthread...hreadid=550916

  #2   Report Post  
Posted to microsoft.public.excel.misc
Paul Lautman
 
Posts: n/a
Default Multi-line Formatting

gareth93 wrote:
Hi,
Just wondering if anyone knows how to format a cell for multiline
values.

E.g. i have a cell formated with "d/m/yyyy". But if i hit Alt+Enter to
enter another line in the cell, can i format that text to "d/m/yyyy"
as well? I know i can just type in the value correctly, but i would
like to have it formatted.

Thanks.


Use the TEXT() function


  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Multi-line Formatting

Number formatting works with numbers (and dates/times are just numbers).

As soon as you add the alt-enter, you've changed the value from a number to
text.

You could use Paul's suggestion by putting the date in a different cell (the row
above and hide the row???)

And use a formula like:

=text(a1,"d/m/yyyy")&char(10)&"whateverelseyouwanthere"

Make sure you have format|cells|alignment tab|wrap text checked.

gareth93 wrote:

Hi,
Just wondering if anyone knows how to format a cell for multiline
values.

E.g. i have a cell formated with "d/m/yyyy". But if i hit Alt+Enter to
enter another line in the cell, can i format that text to "d/m/yyyy" as
well? I know i can just type in the value correctly, but i would like to
have it formatted.

Thanks.

--
gareth93
------------------------------------------------------------------------
gareth93's Profile: http://www.excelforum.com/member.php...o&userid=26578
View this thread: http://www.excelforum.com/showthread...hreadid=550916


--

Dave Peterson
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
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
multi group with summary above with 1 overall summary line below Freddy Excel Discussion (Misc queries) 1 November 1st 05 08:50 PM
strange horizontal line showing accross several columns Thrava Excel Discussion (Misc queries) 4 June 29th 05 03:33 AM
Label an average line in a dynamic chart John Cordes Charts and Charting in Excel 3 June 17th 05 09:42 AM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 10:00 PM.

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"