+ Reply to Thread
Results 1 to 3 of 3

Function to return Array

  1. #1
    Registered User
    Join Date
    07-25-2008
    Location
    USA
    Posts
    8

    Function to return Array

    I am looking for an excel function/formula that will return an array. I would like to return a block of cells and the data in them.

    Ultimately, I am trying to build a simple parts builder. My idea is to build a master list of all parts w/ their corresponding subparts.

    Part XYZ
    - component 1
    - component 2
    - component 3

    Part ABC
    - component 4
    - component 5

    Once this list is built, I would like to be able to input Part XYZ and return the array of components that make up that part.

    I am building this from scratch, so it may be easier to do in Access, but would appreciate any suggestions.

    Thanks in advance

    Zach

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Welcome to the forum.

    There are various ways to return arrays from function. I would probably do this (and have done similar things) with a user-defined data type. Here's an example:
    Please Login or Register  to view this content.
    I'd spend a lot of time thinking about data structures before launching into this.

  3. #3
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256

    Break down Parts into Components

    Here is one option (see encl. file, sheet 3)
    Ola
    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