LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Line Break Vlookup

Hi all,

I have a worksheet using a vlookup based on data validation. I want to do
one of two things with my result. One, I would like the cell with the
formula:

=IF(B6="","",(VLOOKUP(B6,Position,2,0)))

To autofit to the text returned, which would be something like this(this is
the result of my range named "Position", which is already formatted with the
Alt+Enter line breaks):

Ascent 7.5
SIS
OnBase
3270

I have wrap text enabled in cell B8, which is where my formula lies, but it
does not wrap the text unless I manually go into formatting, uncheck wrap
text and recheck wrap text.

Two, my other option which I would be perfectly happy with is if my vlookup
cell B8, could take the return info formatted like this:

Ascent 7.5, SIS, OnBase, 3270

and turn it into this:

Ascent 7.5
SIS
OnBase
3270

And Autofit the contents to the cell with the formula in it.

Basically my big problem is that I cannot get my cell with the formula in it
to wrap text, or autofit the contents it populates with based on the lookup
results. I hope this is sort of clear. Thanks in advance for any
suggestions.

--
Jon M.
 
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
Line break within a field Albert Kaegi Excel Worksheet Functions 1 November 21st 07 03:04 PM
Line break GARY Excel Discussion (Misc queries) 1 November 6th 07 12:00 AM
MsgBox line break Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 2 October 3rd 07 08:34 PM
Break cell into multiple lines by line break Chia Excel Discussion (Misc queries) 1 August 20th 06 06:37 AM
Line Break Ramthebuffs Excel Discussion (Misc queries) 4 August 22nd 05 08:52 PM


All times are GMT +1. The time now is 06:59 PM.

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

About Us

"It's about Microsoft Excel"