+ Reply to Thread
Results 1 to 5 of 5

List all records match criteria

  1. #1
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    177

    List all records match criteria

    Hi guys
    Here's a tuff one, for me anyway.

    I have this file attached with lot more info on the right, but i wanna test only the second column and give the result of the first column.
    What i want is:

    On cell D2 i insert the value 2 wich is the criteria from column B.
    The result should be:

    on cell D3 the value 001
    on cell D4 the value 005
    on cell D5 the value 006
    on cell D6 the value 008
    and so on...

    Many thanks for all your replies
    Best regards
    Pedro
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-16-2012
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: List all records match criteria

    In D3:

    =IFERROR(INDEX($A$2:$A$100,MATCH(D$2,$B$2:$B$100,0)),"-")

    In D4 - array entered (press Ctrl+Shift+Enter instead of just Enter):

    =IFERROR(INDEX($A$2:$A$100,MATCH(D$2,IF(COUNTIF(D$3:D3,$A$2:$A$100)=0,$B$2:$B$100),0)),"-")

    Copy D4 downward as far as required.
    Steve D. a.k.a. Stephen Dunn

  3. #3
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    177

    Re: List all records match criteria

    Hello Stunn

    The formula is giving an error. could you please send me the formula inside the file i've send you?
    Tks a lot
    Pedro

  4. #4
    Registered User
    Join Date
    07-16-2012
    Location
    Newcastle upon Tyne
    MS-Off Ver
    Excel 2010
    Posts
    69

    Re: List all records match criteria

    Here you go.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-24-2014
    Location
    Lisboa, Portugal
    MS-Off Ver
    Office 365
    Posts
    177

    Re: List all records match criteria

    Great job
    Many thanks
    Pedro

+ 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. Data match records on a list on two criteria
    By AlexnL12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-27-2014, 02:20 PM
  2. Pulling records matching two criteria and inserting those records into an existing list
    By desertfx41 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2014, 02:00 PM
  3. [SOLVED] Generate List of Records that Match Multiple Criteria from Data Table
    By trandle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-10-2014, 04:43 PM
  4. [SOLVED] Countif Unique Records in List Match Criteria
    By gjohn282 in forum Excel General
    Replies: 5
    Last Post: 07-16-2012, 04:15 AM
  5. Find all records that match criteria shown in list box
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2008, 05:43 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