+ Reply to Thread
Results 1 to 9 of 9

Particular text copy from cell A to cell B by excel formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Particular text copy from cell A to cell B by excel formula

    Dear all,
    I want to retrieve particular text string in between >X</ by excel formula.

    Some example below, Cell A having some data in in between > X </ , from here I want to get data like Cell B ( "X" data required)

    CELL A                               CELL B
    
    <mtu>1500</mtu>                      1500

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Particular text copy from cell A to cell B by excel formula

    Try this:

    =MID(A1,FIND(">",A1)+1,FIND("<",A1,2)-FIND(">",A1)-1)

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,838

    Re: Particular text copy from cell A to cell B by excel formula

    Try

    =MID(A2,FIND(">",A2)+1,FIND("</",A2)-FIND(">",A2)-1)

  4. #4
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: Particular text copy from cell A to cell B by excel formula

    Hi 63falcondude & JohnTopley , Yes both formula works perfectly , thanks for helping me.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Particular text copy from cell A to cell B by excel formula

    Glad we could help. Thanks for the rep!

  6. #6
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: Particular text copy from cell A to cell B by excel formula

    Hi 63falcondude & JohnTopley , I need one more help actually I forgot to mention that in my post , there will be one more Cell “C”. in the cell “C” I want to get “ mtu “ , this mtu will be in between </mtu>
    CELL A                               CELL B                         CELL C 
    
    <mtu>1500</mtu>                      1500                       mtu
    Last edited by nur2544; 03-26-2018 at 12:58 PM.

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Particular text copy from cell A to cell B by excel formula

    Here's one way:

    =SUBSTITUTE(MID(A1,FIND("/",A1)+1,LEN(A1)),">","")

  8. #8
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: Particular text copy from cell A to cell B by excel formula

    Hi 63falcondude , Yes! it works perfectly, it will help me a lot, I really appreciated it. Thanks for your valuable time in this regard.

  9. #9
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Particular text copy from cell A to cell B by excel formula

    Happy to help. Thanks again for the reps!

+ 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. [SOLVED] Excel Formula to Copy Value/ Words into a Cell if Amount is Equal to Another Cell Value
    By arnel_10 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2017, 07:06 PM
  2. [SOLVED] If cell has a formula, copy text to TextBox and leave formula unchanged in cell
    By yachrishere in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2016, 06:26 PM
  3. Replies: 13
    Last Post: 08-21-2015, 12:38 PM
  4. Formula to copy text from a cell, if two other cells have the same text
    By busybee02 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2014, 07:35 PM
  5. [SOLVED] Formula Needed to Copy Cell with Date and Text of another Cell
    By thejayjetson in forum Excel General
    Replies: 5
    Last Post: 07-02-2012, 11:21 AM
  6. Excel script/formula to copy cell if above cell is null?
    By tdav20 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2012, 06:32 AM
  7. Copy text from one cell to a formula in another cell
    By KingofLimbs in forum Excel General
    Replies: 2
    Last Post: 02-17-2011, 11:14 PM

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