Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Wrap Text Evenly in Cell

Hello,

I have the following formula:

=ROUND(INDEX(Trend,$A7,3),3)*100&"% Avg / "&ROUND(INDEX(Trend),$A7,5),
3)*100&"% Man / "&ROUND(INDEX(Trend),$A7,6),3)*100&"% Net"

Which I'd like to wrap after ever "/" in the cell.

For example, instead of what you see in the cell appearing like this:

__________________
5.6% Avg / 7.2% Man
/ 12.5% Net
__________________

I'd like it to appear like this in one cell:

_________________
5.6% Avg /
7.2% Man /
12.5% Net
__________________


Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Wrap Text Evenly in Cell

This formula (in sections for readability)
puts a line-feed after each slash (/):

=SUBSTITUTE(ROUND(INDEX(Trend,$A7,3),3)*100&"% Avg / "&
ROUND(INDEX(Trend),$A7,5),3)*100&"% Man / "&
ROUND(INDEX(Trend),$A7,6),3)*100&"% Net","/","/"&CHAR(10))

Remember to format the cell(s) to allow text wrap
and to adjust the column width and row height, if necessary.

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Native" wrote in message
...
Hello,

I have the following formula:

=ROUND(INDEX(Trend,$A7,3),3)*100&"% Avg / "&ROUND(INDEX(Trend),$A7,5),
3)*100&"% Man / "&ROUND(INDEX(Trend),$A7,6),3)*100&"% Net"

Which I'd like to wrap after ever "/" in the cell.

For example, instead of what you see in the cell appearing like this:

__________________
5.6% Avg / 7.2% Man
/ 12.5% Net
__________________

I'd like it to appear like this in one cell:

_________________
5.6% Avg /
7.2% Man /
12.5% Net
__________________


Any suggestions?





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
How do I get date/time to wrap (format - wrap text doesn't work)? Alex Excel Discussion (Misc queries) 3 April 4th 23 02:29 PM
Can not see text in Excel when cell format is set to wrap text Mark New Users to Excel 1 May 29th 07 02:07 PM
How do I view all text in a merged cell? Wrap text is activated. susjorg Excel Discussion (Misc queries) 1 January 23rd 07 07:34 PM
Why won't text in cell wrap. Cell format set to wrap. DRB Excel Discussion (Misc queries) 2 September 28th 06 08:27 PM
Text not continuing to wrap for large block of text in Excel cell Mandra Charts and Charting in Excel 1 May 15th 06 07:13 PM


All times are GMT +1. The time now is 02:40 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"