+ Reply to Thread
Results 1 to 5 of 5

Need help with a formula to lookup and extract info from a mastersheet that is database

Hybrid View

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Fairbury NE
    MS-Off Ver
    Excel 2007
    Posts
    70

    Need help with a formula to lookup and extract info from a mastersheet that is database

    Hoping someone can advise on the best way to do this. I need to pull certain fields from a database (data entered by multiple users). Specifically, I'd like to have a user type in a date field to search (column B, but I also have 3 other date fields, I do not want to search those columns, only B) and list specific cells from each line that shows that date in column B. In this case, I have 11 line items with a 1/6/14 date, and need to show detail data for each of those line items.

    I tried a pivot and used the tabular form to display information, but it is not pulling the date from the column. The can't do an index and match (or don't think I can) because the information in the database is not in an ascending order and could not get vlookup to work either. Any suggestions?

    I've attached a sample worksheet.
    Attached Files Attached Files
    Last edited by maryren; 01-07-2014 at 12:58 PM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Need help with a formula to lookup and extract info from a mastersheet that is databas

    A21: Down and accross,
    COnfirm COntrol+shift+Enter
    =IFERROR(INDEX($A$3:$I$11,SMALL(IF($A$3:$B$11=$B$16,ROW($A$3:$A$11)-ROW($A$3)+1),ROWS($A$3:A3)),MATCH(A$20,$A$2:$I$2,0)),"")
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Need help with a formula to lookup and extract info from a mastersheet that is databas

    Hi maryren,

    This looks like a normal Advanced Filter problem to me. Learn about Advanced Filters and see if they don't do what you want.

    http://www.contextures.com/xladvfilter01.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help with a formula to lookup and extract info from a mastersheet that is databas

    Please attached file on sheet2
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help with a formula to lookup and extract info from a mastersheet that is databas

    Thanks for the feedback!

+ 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. Help To Lookup Items And If I Choose An Item Send The Info To My Database
    By fetoo in forum Access Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2011, 07:50 PM
  2. Replies: 0
    Last Post: 08-16-2011, 04:49 AM
  3. Extract info from a database
    By azucena in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-02-2010, 09:32 PM
  4. Extract info from Advantage Database Tables
    By DavidSmithson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2008, 10:42 AM
  5. Extract Info From Database
    By greg mc in forum Excel General
    Replies: 1
    Last Post: 04-13-2005, 12:33 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