+ Reply to Thread
Results 1 to 8 of 8

Want to seperate name, age and designation

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Want to seperate name, age and designation

    Hi,

    I want the name, age and position get separated in different columns. I have attached sample file. Need a quick solution.

    Thank you
    Attached Files Attached Files
    Last edited by exceldoubts; 01-03-2019 at 09:48 AM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Need help related to excel

    Try this in B2:

    =LEFT($A2,MATCH(TRUE,INDEX(ISNUMBER(--MID($A2,ROW(INDIRECT("1:"&LEN($A2))),1)),0),0)-1)

    in C2:

    =LOOKUP(200,--MID($A2,LEN($B2)+1,{1,2,3,4}))

    in E2:

    =REPLACE($A2,1,FIND($C2,$A2)+LEN($C2)-1,"")

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Need help related to excel

    Age is showing like this Cell C2 = 4, and Cell D2 = 9 Director

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Need help related to excel

    Please edit the title like this:

    Separate names, ages and positions into different columns.

    See attached file.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Want to seperate name, age and designation

    Thanks for edit title.

    Try this in C2:

    =MAX(IFERROR(--MID($A2,LEN($B2)+1,{1,2,3,4}),0))

    Array formula, enter with Ctrl+Shift+Enter.

  6. #6
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Want to seperate name, age and designation

    now name and age is coming fine in the sheet but the position is missing now.

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Want to seperate name, age and designation

    Please try
    B2
    =LEFT(A2,FIND(C2,A2)-2)

    C2
    =--MID(A2,MIN(FIND({0,1,2,3,4}+{0;5},A2&1/17)),2)

    D2
    =MID(A2,FIND(C2,A2)+3,20)

  8. #8
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Want to seperate name, age and designation

    I have tried with ctrl shift enter. it worked fine. Thanks a lot.

+ 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. Replies: 6
    Last Post: 10-13-2018, 07:19 AM
  2. I want to extend related tables that have related formulas
    By earlyyyyyy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-10-2015, 10:08 AM
  3. How to give an instruction from VB to Excel related with a Table defined in Excel
    By joseto_caviedes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2013, 02:08 PM
  4. How to give an instruction from VB to Excel related with a Table defined in Excel
    By joseto_caviedes in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2013, 11:35 AM
  5. How to give an instruction from VB to Excel related with a Table defined in Excel
    By joseto_caviedes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2013, 09:48 AM
  6. PLEASE Help excel pro's (Macro, excel related)
    By msu4life in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2012, 02:42 PM
  7. Replies: 0
    Last Post: 11-29-2005, 09:40 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