+ Reply to Thread
Results 1 to 9 of 9

How to extract cell text to other cell text in bracket

  1. #1
    Registered User
    Join Date
    11-03-2017
    Location
    Manchester, England
    MS-Off Ver
    Microsoft office
    Posts
    4

    How to extract cell text to other cell text in bracket

    I have given example in the screenshot. Please suggest any formula.
    Attached Images Attached Images

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to extract cell text to other cell text in bracket

    Try this in B1
    =SUBSTITUTE(A1,"(name)",C1)

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to extract cell text to other cell text in bracket

    Try this
    in B1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 My name is (name) My name is (John)
    Or this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 11-03-2017 at 07:14 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    11-03-2017
    Location
    Manchester, England
    MS-Off Ver
    Microsoft office
    Posts
    4

    Re: How to extract cell text to other cell text in bracket

    If need to change multiple values in the same cell like. My name is (name) my father name is (name)

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: How to extract cell text to other cell text in bracket

    Try this
    =SUBSTITUTE(SUBSTITUTE(A1,"(name)",C1,1),"(name)",D1)

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to extract cell text to other cell text in bracket

    Quote Originally Posted by robinwindsor View Post
    If need to change multiple values in the same cell like. My name is (name) my father name is (name)
    It is your direct responsibility to provide accurate requirements. There is nothing in your original post suggests there will be "mother" or "father" or any other relatives.

  7. #7
    Registered User
    Join Date
    11-03-2017
    Location
    Manchester, England
    MS-Off Ver
    Microsoft office
    Posts
    4

    Re: How to extract cell text to other cell text in bracket

    Quote Originally Posted by José Augusto View Post
    Try this
    =SUBSTITUTE(SUBSTITUTE(A1,"(name)",C1,1),"(name)",D1)
    I am using this but it doesn't work. It is still changing first (name) field not second.

  8. #8
    Registered User
    Join Date
    11-03-2017
    Location
    Manchester, England
    MS-Off Ver
    Microsoft office
    Posts
    4

    Re: How to extract cell text to other cell text in bracket

    Quote Originally Posted by AlKey View Post
    It is your direct responsibility to provide accurate requirements. There is nothing in your original post suggests there will be "mother" or "father" or any other relatives.

    I want this actually as you can see in the image
    Untitled-1.jpg

  9. #9
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: How to extract cell text to other cell text in bracket

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

+ 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. VBA to open saved web html pages - extract text - paste text within individual cell
    By EddieRubi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-23-2015, 01:43 PM
  2. Extract text to left of number of bracket
    By cmb80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2014, 06:57 PM
  3. Replies: 4
    Last Post: 08-13-2014, 11:03 PM
  4. [SOLVED] How to extract text data from one cell based on the date on another cell?
    By Prabhu.nanda in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-11-2013, 08:46 AM
  5. [SOLVED] Extract/Copy Text from Cell, and insert that text in a new row below
    By jamesoneill in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-07-2013, 09:06 AM
  6. Replies: 12
    Last Post: 09-15-2012, 10:20 PM
  7. Replies: 3
    Last Post: 07-25-2012, 07:54 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