+ Reply to Thread
Results 1 to 5 of 5

Pulling non-zero data from a large table array

  1. #1
    Registered User
    Join Date
    04-23-2009
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Pulling non-zero data from a large table array

    I have a data table used to break down the ingredients for multiple items.
    Rows are items names, columns are all of the ingredients. I have attached a PDF with a sample of what I am doing.

    So what I am shooting for now if a way to extract all the non-zero data from a specific row on sheet2, and display it on sheet1.
    On sheet1, I choose one specific Column A item from a combo box, and I would like the spreadsheet to automatically pull the data from sheet2 and display on sheet1 so I can manipulate just that data. For example...

    Please Login or Register  to view this content.
    Ive done this before, with help of course, but it was a few years ago, and I cannot remember how it went. This data table is a couple hundred rows long, and about 30 column wide.

    Where do I start? Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Pulling non-zero data from a large table array

    pdf? whats wrong with xls?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-23-2009
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Pulling non-zero data from a large table array

    Heh, didn't even think about that....

    The last workbook I had included a third page where all the data was pulled together. I then referenced *that* table on the first page.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Pulling non-zero data from a large table array

    See attached.

    Formula in D20:

    Please Login or Register  to view this content.

    confirmed with CTRL+SHIFT+ENTER
    not just ENTER and copied down.

    Formula in H20:

    Please Login or Register  to view this content.
    confirmed with just ENTER and copied down.

    Note: You cannot have merged cells with array formulas.... so first remove merging of cells.

    You can cut and paste the table to another sheet so that the formulas will automatically adapt.

    If you don't want the Complexity data, delete that row after completing above steps.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    04-23-2009
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Pulling non-zero data from a large table array

    Yeah, that looks just like I remember. Man! Now I gotta try and read it so I understand it, lol. Thanks a lot! I may be back if I can't adapt it to the larger purpose, but this is a great start.

+ 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