+ Reply to Thread
Results 1 to 7 of 7

Can i use text from one cell and insert it in the middle of a sentence on another cell? Mi

  1. #1
    Registered User
    Join Date
    02-25-2015
    Location
    birmingham
    MS-Off Ver
    2013
    Posts
    2

    Can i use text from one cell and insert it in the middle of a sentence on another cell? Mi

    Hi
    the problem i have is i want to add a word in one cell and copy the word to then put into another cell, the problem is that it has to be in with a sentence. It would probably be more easier if i show with the photo I ve attached.

    Basically the text from cell 1b needs to be able to fit into cell 1e in a sentence, maybe using a formula? I m not too sure. then i need to be able to duplicate it across a few hundred other rows.

    i hope this is understandable, if anybody needs any clarification please ask!

    thanks
    Regards
    Ross Wilkes
    1.jpg

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    Hi Rossw and welcome to the forum,

    Here is one way. See the attached. If you want to insert it into the Same Cell in the B column it might take some VBA so you don't get Circular Ref error messages.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    Using a formula...

    ="Test 123 "&B1&" Test 123"
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    02-25-2015
    Location
    Chicago, IL, USA
    MS-Off Ver
    2007
    Posts
    24

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    If the sentence is always going to be the same, this is how. If the sentence changes every row, I don't know how...

    Couple of ways i know of:

    ="This is the first half of the sentence "&B1&" this is the second half of the sentence."
    =CONCATENATE("This is the first half of the sentence ", A11, " this is the second half of the sentence.")

    Obviously, change the text in the quotes to what you want the sentence to be.

  5. #5
    Registered User
    Join Date
    02-25-2015
    Location
    birmingham
    MS-Off Ver
    2013
    Posts
    2

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    hi guys,
    thanks for your help with this, i have tried the formula =CONCANTEATE
    but this has come up when i tried to click save, as its quite a long text document. is it possible to fix?2.jpg

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

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    As an example, I'm able to use a formula that generates a string over 400 characters long...

    =REPT("x",200)&" "&B1&" "&REPT("x",200)

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Can i use text from one cell and insert it in the middle of a sentence on another cell

    Hi,
    In reading the Microsoft page for Concatenate(), it does claim 255 is the max string length. Read it at:
    https://support.office.com/en-us/art...rs=en-US&ad=US

    So, simply don't use Concantenate and instead use the "&" and Left() and Mid() functions as suggested above.

+ 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. Insert value from cell in middle of a sentence
    By jw191 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2019, 12:53 AM
  2. [SOLVED] Copying a word from one cell in a different worksheet into the middle of a sentence.
    By DannyJ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2012, 11:18 AM
  3. How do you insert a cell's content in the middle of the sentence?
    By simpleonline1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2010, 02:56 PM
  4. [SOLVED] Possible to insert cell data in the middle of line of text?
    By Arvi Laanemets in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 06:05 AM
  5. Possible to insert cell data in the middle of line of text?
    By Bob Smith in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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