+ Reply to Thread
Results 1 to 7 of 7

conditional extraction of text values from a list

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    binningen
    MS-Off Ver
    Excel 2010
    Posts
    28

    conditional extraction of text values from a list

    hi!

    i have a formula that can extract unique text values from a list, based on a condition. the text values can occur several times in the list and each time the condition value is different.
    i need the formula to extract each text value, where the condition holds true and then also show the condition value next to it.

    sample data is attached.

    any input is highly appreciated!

    thank you!
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: conditional extraction of text values from a list

    Hi,

    I see no condition (apart from the IFERROR test) that is limiting the extract. But in any case why are you using a VLOOKUP when you could just use a simple Advanced Data Filter, driven by a single line macro if necessary.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: conditional extraction of text values from a list

    Please let me know if you are expecting this result.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  4. #4
    Registered User
    Join Date
    07-30-2013
    Location
    binningen
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: conditional extraction of text values from a list

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    I see no condition (apart from the IFERROR test) that is limiting the extract.
    =IFERROR(INDEX(Table1[Client];SMALL(IF(Table1[Total Overdue]>0;ROW(Data!$N$2:$N$10)-ROW(S.O.S.!$A$2)+1);ROWS(S.O.S.!$A$1:A1)));"")

  5. #5
    Registered User
    Join Date
    07-30-2013
    Location
    binningen
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: conditional extraction of text values from a list

    hi ramananhrm

    your formula seems to skip the text values that appear in the list multiple times.

    using my sample sheet, i would want 'argentina' to be extracted three times (in three lines), each time showing the amount overdue next to it (in the appropriate column).

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: conditional extraction of text values from a list

    Sorry I missed the Overdue test.

    However my Q. still stands.

    Why are you using formulae when an Advanced Filter seems more appropriate?
    Simply create a criteria range for the Total Overdue label which contains ">0"

  7. #7
    Registered User
    Join Date
    07-30-2013
    Location
    binningen
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: conditional extraction of text values from a list

    richard - you're quite right! it's a 'nice to have', not an absolute 'must have'...
    i have quite a few extra columns in my workbook that dont need to be on the extracted list. hence i thought i'd try to figure this one out

+ 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. Drop down list (extraction of data)
    By ust801 in forum Excel General
    Replies: 14
    Last Post: 07-05-2013, 06:46 PM
  2. [SOLVED] Advanced Information Extraction from a List
    By Jim McEwan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2013, 01:04 PM
  3. Dropdown List Extraction
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2013, 05:22 AM
  4. list two columnar values based on conditional formating (text color)
    By beechum1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2006, 05:53 AM
  5. [SOLVED] drop down list and row extraction
    By jpsprack in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2005, 06:05 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