+ Reply to Thread
Results 1 to 3 of 3

Extract multiples records from adatabase which meet a specific condition

Hybrid View

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    Extract multiples records from adatabase which meet a specific condition

    I need a formula in order to extract from a database (located in an worksheet) multiple records (in a different sheet) which meet a specific condition.
    Practically in the file attached: I need a formula to extrcat from first sheet all the items which are available in a specific month.

    Best regards!
    ciprian
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Extract multiples records from adatabase which meet a specific condition

    hi ciprian. great that you can finally post. try this array formula in D6:
    Formula: copy to clipboard
    =IFERROR(INDEX('Table of Items'!$B$4:$B$44,SMALL(IF('Table of Items'!$C$4:$C$44=$E$3,ROW('Table of Items'!$B$4:$B$44)-ROW('Table of Items'!$B$4)+1),ROWS(D$6:D6))),"")


    you have to paste the formula inside the formula bar & press CTRL + SHIFT + ENTER. When done correctly, you should see curly brackets surrounding it. drag the formula down as much as you need. but do note that your texts in your validation list must be the same as the texts in "Table of Items" column C. currently, it seems that your months in the validation list have an extra space behind.

    hope you love this forum as much as i do.
    =)
    Attached Files Attached Files
    Last edited by benishiryo; 02-22-2013 at 09:14 AM.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-21-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: Extract multiples records from adatabase which meet a specific condition

    ThanksBenishiryo, but doesnt work (in Target sheet, the result is "True") ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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