+ Reply to Thread
Results 1 to 5 of 5

Insert value from cell in middle of a sentence

  1. #1
    Registered User
    Join Date
    10-19-2006
    Posts
    37

    Insert value from cell in middle of a sentence

    Hi Guys,

    I am trying to get a cell value in the middle of a sentence in another cell. For example cell A1 has the value 50 and represents the numbers of users in a group, and I want to have in cell A2 the following:

    There are 50 users in this group

    where the value 50 is retrieved from cell A1 and therefore updates automatically when changed.

    This sounds like a simple problem but I cant work it out, I have tried searching the command list without success. I know there is the function CONCATENATE and I could hack around to get this to work but its far from Ideal.

    Any help would be appreciated. Cheers

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    ="There are "&A1&" users in the group"
    Last edited by AliGW; 12-21-2019 at 03:01 AM. Reason: Please don't quote unnecessarily!
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    10-19-2006
    Posts
    37
    Thanks, exactly what I was after. Impressively illogical, even for office, but works none the less.
    Last edited by AliGW; 12-21-2019 at 03:01 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Registered User
    Join Date
    08-28-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Insert value from cell in middle of a sentence

    Using this on Office365 in 2019. 13 years later works just as good. Makes you respect the value of good information.
    Last edited by AliGW; 12-21-2019 at 03:01 AM. Reason: Please don't quote unnecessarily!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Insert value from cell in middle of a sentence

    Thanks for the feedback, always good to know
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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