+ Reply to Thread
Results 1 to 4 of 4

Variables in text

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    London
    Posts
    73

    Variables in text

    Hi,

    I have a summary table that contains percentages and various values. Then at the bottom the the excel sheet I have a summary conclusion that refers to these values.

    Is there any way to have the text contain cell references in them so that they change as the data table changes?

    So for example, 'This week Tim Strange's class achieved an average of 90%', and have the 90% change if its changed in the table?

    Thanks,

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    ="This week Tim Strange's class achieved an average of " & TEXT(A1, "0%")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-02-2008
    Location
    London
    Posts
    73
    This works great, except for one thing.

    When using & TEXT(A1, "0") to copy a cell value that contains a currency, i.e. £120.16, it doesn't copy the .16, but only returns 120? Any way to fix this so it shows the full value?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Change 0 to 0.00

    The "0.00" describes the format you want the TEXT string to take, so make your example in the quotes match the appearance you want.
    Last edited by JBeaucaire; 12-22-2008 at 05:15 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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