+ Reply to Thread
Results 1 to 3 of 3

Simple Database Build

  1. #1
    Registered User
    Join Date
    03-27-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Post Simple Database Build

    Hi,

    I need some help building a simple database for a flight project I'm working on. The file is attached. Tab 1 (Updated Flight list) is pulling information for a website that lists all flight times (starts on row 92). The second tab, "Selection" is a filter I've created based on a drop down menu of all airlines.

    I need help filtering the data. For example, when I select " American Airlines" from the dropdown, only American airlines information should show up on the selection tab.

    Any ideas how this can be done?

    Thanks very much for the help!

    -Andrew
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Simple Database Build

    Try this:-
    Place code in "Combobox1_Change" Event Code module.
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Simple Database Build

    If you add a helper column to your data (I used H) from H93 down...
    =A93&COUNTIF($A$93:A93,A93)

    Then I used B3 for the airline, and in B7, copied down and across, use this...
    =IFERROR(INDEX('Updated Flight List'!$A$92:$G$518,MATCH(Selection!$B$3&ROWS($A$1:A1),'Updated Flight List'!$H$92:$H$518,0),MATCH(Selection!B$6,'Updated Flight List'!$A$92:$G$92,0)),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Build a budget database
    By ulsterboy84 in forum Excel General
    Replies: 0
    Last Post: 05-12-2012, 01:59 PM
  2. Build an efficent database
    By ExtraExcelly in forum Excel General
    Replies: 0
    Last Post: 10-20-2009, 10:16 AM
  3. Need Help to build a news articles database
    By sandydude4u in forum Excel General
    Replies: 1
    Last Post: 05-13-2009, 06:53 AM
  4. I want to build a database
    By Bill in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-15-2006, 10:30 AM
  5. [SOLVED] how to build simple inventory system
    By sureshbabussb in forum Excel General
    Replies: 0
    Last Post: 12-06-2005, 02:35 AM

Tags for this Thread

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