+ Reply to Thread
Results 1 to 5 of 5

Referencing text fields with in cell carriage returns

  1. #1
    Registered User
    Join Date
    04-27-2011
    Location
    North Bay, California
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    8

    Referencing text fields with in cell carriage returns

    I am trying to link the data from one cell to another. My destination cell has the formula [=IF('Request Form'!A39="","",'Request Form'!A39)]. Which works great for values in the reference cell that do not contain carriage returns, which is possible. The problem I am running into is that if the reference cell contains a carriage return the destination cell just ignores it and crams the lines together for display purposes. Is there a way/formula I can use to force excel to display 'exactly' as entered, in cell returns and all?

    Thanks in advance.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Referencing text fields with in cell carriage returns

    You would have to format the cell for word wrap. A formula can only pull in a value, it can not pull in formatting.

    Right click>Format Cells>Alignment tab>Wrap Text>OK

    You may still have to adjust the column width/row height.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-27-2011
    Location
    North Bay, California
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    8

    Re: Referencing text fields with in cell carriage returns

    Ha! I didn't think this was a formatting issue, rather an issue with using the correct formula to recognize the line returns. However when I double checked that I had text wrap turned on for the destination cell, it turns out that I didn't. Turning it on caused Excel to recognize the line returns.

    Thanks a bunch. I appreciate the help.
    Last edited by cadmanweyland; 04-18-2013 at 09:29 PM. Reason: Resolved and my response was no longer valid.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Referencing text fields with in cell carriage returns

    You're welcome. Thanks for the feedback!

  5. #5
    Registered User
    Join Date
    04-27-2011
    Location
    North Bay, California
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    8

    Re: Referencing text fields with in cell carriage returns

    It was funny, I think you might have actually misunderstood me when I was talking about the carriage returns. But I tried it and it fixed the issue, so no worries. Anyway, again, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1