+ Reply to Thread
Results 1 to 4 of 4

How can I convert a table of types and no. of instances into a list of all those instances

  1. #1
    Registered User
    Join Date
    07-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    How can I convert a table of types and no. of instances into a list of all those instances

    I've looked around on the forum for guidance on this, but am a bit inexperienced so may have missed something obvious - sorry!

    I'm hoping to be able to convert a set of types and no. of instances into a list of those instances in a way that is dynamic so that I can update the number of instances for example and the list would update (filling out new rows).

    Type 1 0
    Type 2 3
    Type 3 2
    Type 4 1

    would return

    Project 1 Type 2
    Project 2 Type 2
    Project 3 Type 2
    Project 4 Type 3
    Project 5 Type 3
    Project 6 Type 4

    If it's possible without VBA that would be brilliant.

    Ideally it wouldn't be returned as an array - although it's not a problem if it does (especially if that's simpler)

    I'm thinking there would be some function defined in VBA that returns an array an can sit over 100 rows and populate as the number of instances changed?

    It needs to be able to manage when the no. of instances changes e.g. Type 4 has 10 instances and Type 2 has no instances

    Hope that's clear, thanks very much for the help!
    Last edited by oxm450; 07-18-2012 at 11:08 AM. Reason: changed 'table' to 'set' so as to not to confuse with excel data tables

  2. #2
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: How can I convert a table of types and no. of instances into a list of all those insta

    I'm having a crack at it now, I'll get back to you in a bit.

  3. #3
    Registered User
    Join Date
    07-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How can I convert a table of types and no. of instances into a list of all those insta

    Thanks, appreciated

  4. #4
    Registered User
    Join Date
    07-04-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: How can I convert a table of types and no. of instances into a list of all those insta

    Try this, its working for me and doing what I think you want to do:
    Please Login or Register  to view this content.
    If it is what you wanted and it works, please click on the * in the bottom left hand corner of this post. Thanks

+ 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