+ Reply to Thread
Results 1 to 10 of 10

Listing a set of files from a database

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Boston, MA
    Posts
    15

    Listing a set of files from a database

    Hey everyone,

    I have one that could be difficult. I have a database with names and corresponding numbers. I am trying to develop a report in which one could choose a name from a list (for example, using validation) and the report pulls out all the corresponding numbers for that name. Not the amount of numbers but the actual list of those that are linked to that name. Can that be done?

    I am attaching an examplem file.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    Pivot table!

    HTH
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Boston, MA
    Posts
    15
    Thanks! Is there any other way? I used iserror/offset/match formula. Used iserror to give back a "blank" value if tghe formula didn't find a match. Now it will give me a list of data for any given value. However, depending on the value selected and its presence in the list, the retrieved list can be many spaces below. Is there a way to bring the list up?

    Check the file
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    Is there any other way?
    Why? What does the pivot table not do?

    PS can't open your attmt.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    using formulas will be slower than a PivotTable, using ISERROR will make it even slower.
    Hope that helps.

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

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    10-23-2008
    Location
    Boston, MA
    Posts
    15
    Can you open this one?

    The reasons I am resisting use of pivot tables are, first because pivot tables make files weight more. Second because the users of this report will be other people that might not know how to manage/change pivot tables, therefore I am trying formulas to make it more user friendly.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-23-2008
    Location
    Boston, MA
    Posts
    15
    Actually at this point what would solve the problem would be a way to list all the values in the list that are not null. This would bring the list up.

  8. #8
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day All,

    Matt, if you really want a formula to retrieve the current information and bring the list up to the top.

    Try this in cell C8

    Please Login or Register  to view this content.
    After pasting in the formula press F2 then press Ctrl Shift Enter to confirm the array formula.

    Then you can copy drag down to your heart's content.

    HTH
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  9. #9
    Registered User
    Join Date
    10-23-2008
    Location
    Boston, MA
    Posts
    15
    Hey thanks Ratcat,

    It looks right, though when I used it, it returned a #NUM! error..

    Mike

  10. #10
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111
    G'day Matt,

    Just found out that Excel versions older that 2007 can not handle 'named ranges' in that array formula. That's the reason for the #NUM! value.

    So, for an example convert your formula to this

    Please Login or Register  to view this content.
    Remember after editing the formula press Ctrl Shift Enter to confirm the array formula.

    If your still having problems, let us know and I'll upload an example.

    Cheers

+ 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