+ Reply to Thread
Results 1 to 4 of 4

Extract text from one column to three column with nested if

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2021
    Location
    KL, Malaysia
    MS-Off Ver
    365
    Posts
    1

    Question Extract text from one column to three column with nested if

    Hello, I need help on extract some text in column A using formula into three column. More rows will be added into column A, so text to column is not valid in my case.

    Column A consists of request type (ad hoc or recurring), complexity (high, medium, low) and priority. They are filled up like below, in alphabetical order
    Ad Hoc, Low complexity
    Medium complexity, Recurring
    Medium complexity, Priority, Recurring
    High complexity, Priority, Recurring

    I want to extract the information in column A in to the 3 columns, B "Complexity", C "Request Type", D "Priority":
    eg. from above column A
    first row: B is Low complexity, C is Ad Hoc, D is empty
    second row: B is Medium complexity, C is Recurring, D is empty
    third row: B is Medium complexity, C is Recurring, D is Priority

    I tried to use nested if, but it is not working,
    =IF(FIND("Low",A1),"Low complexity (orange)",IF(FIND("Medium",A1),"Medium Complexity (orange)"))

    Appreciate advise on how can I extract the information into the 3 columns, thank you

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,202

    Re: Extract text from one column to three column with nested if

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    607

    Re: Extract text from one column to three column with nested if

    Hi pyd, try adding isnumber to your formula, e.g.:-
    =IF(ISNUMBER(FIND("Low",A1)),"Low complexity (orange)",IF(ISNUMBER(FIND("Medium",A1)),"Medium Complexity (orange)","-"))

  4. #4
    Registered User
    Join Date
    12-03-2020
    Location
    Bangkok,Thailand
    MS-Off Ver
    365
    Posts
    29

    Re: Extract text from one column to three column with nested if

    Hi,
    Try these formulae in B1, C1 and D1, respectively,

    =IFERROR(LOOKUP(1,1/SEARCH("Complexity",TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",LEN($A1))),1+(COLUMN($A$1:$C$1)-1)*LEN($A1),LEN($A1)))),TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",LEN($A1))),1+(COLUMN($A$1:$C$1)-1)*LEN($A1),LEN($A1)))),"")

    =TEXTJOIN("",TRUE,IFERROR(IF(SEARCH({"Ad Hoc";"Recurring"},TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",LEN($A1))),1+(COLUMN($A$1:$C$1)-1)*LEN($A1),LEN($A1)))),{"Ad Hoc";"Recurring"}),""))

    =IFERROR(LOOKUP(1,1/SEARCH("Priority",TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",LEN($A1))),1+(COLUMN($A$1:$C$1)-1)*LEN($A1),LEN($A1)))),TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",LEN($A1))),1+(COLUMN($A$1:$C$1)-1)*LEN($A1),LEN($A1)))),"")

+ 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] Extract Data in Column B and Column C Into Column E and F Based on Condition in Column D
    By bjnockle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2021, 12:18 PM
  2. Extract Values in Column S into Column R (Desired Output Column)
    By bjnockle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2020, 01:12 PM
  3. extract text in column
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-18-2020, 03:13 AM
  4. [SOLVED] extract text from column A to E
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-16-2014, 12:40 PM
  5. [SOLVED] extract text from column A to B,C,D,E,F,G
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-22-2013, 09:22 AM
  6. Extract text from 1 column into 2 seperate ones
    By springs in forum Excel General
    Replies: 3
    Last Post: 01-17-2013, 01:44 PM
  7. Extract text from column
    By accelerator in forum Excel General
    Replies: 10
    Last Post: 01-22-2010, 04:55 PM

Tags for this Thread

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