+ Reply to Thread
Results 1 to 6 of 6

Populating a list from a data table

  1. #1
    Registered User
    Join Date
    06-01-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    13

    Populating a list from a data table

    Hi,

    I need to populate a list from a data table (see attachment as an example). This data table contains the monthly sales data. I would like to populate a list in a new sheet based on 1 criteria "client name" column D.

    Requirement (1)
    Preferably I would like to have a drop down list on this new sheet that allows me to choose from all the clients that are listed in the data table.

    Requirement (2)
    The Drop Down list with the client names should update automatically based on the names that are in the data table, since every month there will be new client names.

    Requirement (3)
    The list that I am trying to populate should list out the data from the columns "Date", "Report No", "Supplier", "Description", "QTY", "Price".

    Any ideas if and how this can be done?

    PS: The Sales data table will have different row numbers every month, somewhere between 2000 and 3000 usually.
    Attached Files Attached Files

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: Populating a list from a data table

    Why not just filter?
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Populating a list from a data table

    For a start you are using one of the newer versions of Excel so make the data a Table. Then use Russell's suggestion
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    06-01-2012
    Location
    Hong Kong
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    13

    Re: Populating a list from a data table

    Filter would work, However, I don't want to show all columns in the "new" file and I would like to have a different format since this "new" file will be send out to customers.
    Requirement 2 would not be so important (believe this is the most difficult).

    I found this post:
    http://www.excelforum.com/excel-gene...onditions.html

    In its core it does what I need (I need only one criteria). However, I can't figure out how they did this.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Populating a list from a data table

    Hi

    One way is this

    In Sheet2!A1, create a Validation List to choose your Suppliers

    In Row 2, starting in Column B, put your Headers.

    In B3 and copy across and then down, put this Array Formula(Control+Shift+Enter)Not just Enter.

    Please Login or Register  to view this content.
    Is this, works for you?
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Populating a list from a data table

    Most obviously, there is a small error in the formula, which gives wrong results ..

    Apologize for this.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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