+ Reply to Thread
Results 1 to 5 of 5

Can't make a long text string with a formula in it!

Hybrid View

  1. #1
    Registered User
    Join Date
    03-23-2015
    Location
    Edmonton, AB
    MS-Off Ver
    2013
    Posts
    2

    Can't make a long text string with a formula in it!

    I want to make a paragraph, for a letter, and it's fairly long, within it I want a cell to be referenced. And I just can't get it it to work. And how would I format the cell?

    Example

    After careful consideration etc etc , we have determined based on our observations that the amount owing should be equal to (N34). Please pay the amount of (N34) according to the below cost breakdown.

    Someone help?

  2. #2
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Can't make a long text string with a formula in it!

    Typically, this would be a letter in Word with a merge field tying back to the data sheet in Excel. We do this a ton at my job.

    But, it can be done with something like:
    ="After carefaul blah blah blah " &N34&". Please pay us "&N34&" now or else we start breaking some kneecaps."

  3. #3
    Registered User
    Join Date
    03-23-2015
    Location
    Edmonton, AB
    MS-Off Ver
    2013
    Posts
    2

    Re: Can't make a long text string with a formula in it!

    Thanks soberguy,

    How would I format the cell itself?

  4. #4
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Can't make a long text string with a formula in it!

    Generally as text, since that's the majority of the content. You can turn the number in N34 into a currency string by doing something like:
    DOLLAR(N34,2)

    Use that instead of N34 previously referenced. Note that the 2 on the end gives you the number of decimal places, assuming they would be needed.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Can't make a long text string with a formula in it!

    I wouldn't recommend formatting a cell with a formula as TEXT.
    If you ever had to edit the formula afterwards, then pressing enter it will just show the entire formula as a text string.

    I'd say the cell with the formula should be formatted as General.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to pull #word from a long text string
    By BJhawks20 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-02-2014, 08:46 AM
  2. Need a formula to remove an email address from a long string of text.
    By Luke Andrews in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-02-2013, 08:03 PM
  3. what formula to extract text from a long string?
    By SEMMatt in forum Excel General
    Replies: 5
    Last Post: 10-07-2012, 10:23 PM
  4. String function to get selective text from long string
    By MWHLFC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2011, 02:51 PM
  5. How to make a formula from a text string?
    By Helsinghof in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2007, 09:07 AM

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