+ Reply to Thread
Results 1 to 8 of 8

Extract a list based on criteria within same & adjacent column

  1. #1
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Karachi, Sindh, Pakistan
    MS-Off Ver
    Excel 2010 - 2013
    Posts
    142

    Extract a list based on criteria within same & adjacent column

    Hello,
    Can someone please help me out of this I am little bit confused in explaining though, attaching a snap shot depicting the query (table) & the desired result.I can only be able to extract the list based on criteria in other column using through this
    Please Login or Register  to view this content.
    Untitled.png

    Can anyone please help how i can achieve this

    Thank you!

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Extract a list based on criteria within same & adjacent column

    Assuming your output is in row 2 and your source data is in columns K and L try this array entered formula in the first cell of the summary. Fill down and across until you get blanks. If .you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    EDIT I just noticed the expected output has only 3 returns. It appears that you wish to not include UserName "RAM ...." If that is true try this array entered formula instead.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 06-19-2017 at 08:41 PM.
    Dave

  3. #3
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Karachi, Sindh, Pakistan
    MS-Off Ver
    Excel 2010 - 2013
    Posts
    142

    Re: Extract a list based on criteria within same & adjacent column

    Hi FlameRetired,
    Thank you for your response! got your editted formula thats exactly what i needed, just for understanding will the formula also exclude if any name start with RAM like "Ramirez Gonzalez" ?
    Last edited by Ariff_Chowdhury; 06-19-2017 at 08:47 PM.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Extract a list based on criteria within same & adjacent column

    Good catch!

    Yes. Put a "-" after RAM like this "RAM-". The formula will not include Ramirez Gonzales.

    Should you have any hyphenated names that start that way the formula will need some extra steps. Do you have any of those?

  5. #5
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Karachi, Sindh, Pakistan
    MS-Off Ver
    Excel 2010 - 2013
    Posts
    142

    Re: Extract a list based on criteria within same & adjacent column

    Yes we may have hyphenated names as well like "Kris-David Montervil", "Tymari Freeman-Washington" etc.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Extract a list based on criteria within same & adjacent column

    Those won't be a problem. It is only if they begin "Ram-". ie the first four characters.

  7. #7
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Karachi, Sindh, Pakistan
    MS-Off Ver
    Excel 2010 - 2013
    Posts
    142

    Re: Extract a list based on criteria within same & adjacent column

    Thanks a lot FlameRetired!!

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Extract a list based on criteria within same & adjacent column

    You're welcome. Thanks for the feedback and for marking this thread SOLVED.

+ 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. Extract Unique List Based on multiple criteria
    By Herbiec09 in forum Excel General
    Replies: 7
    Last Post: 01-14-2017, 07:23 AM
  2. Extract List Based on multiple criteria
    By Herbiec09 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2017, 04:21 AM
  3. [SOLVED] Create Unique list using adjacent column as criteria
    By Seve in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-05-2017, 08:19 AM
  4. [SOLVED] Extract a sublist from a list based on criteria(s)
    By hcyeap in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-01-2015, 05:16 PM
  5. [SOLVED] Extract entire rows from list based on criteria
    By Test123Test in forum Excel General
    Replies: 5
    Last Post: 04-29-2013, 09:28 AM
  6. Replies: 3
    Last Post: 03-21-2013, 09:28 AM
  7. Replies: 2
    Last Post: 09-30-2010, 06:02 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