+ Reply to Thread
Results 1 to 3 of 3

combination

  1. #1
    RobcPettit@yahoo.co.uk
    Guest

    combination

    Hi, I have a columns labelles A B C D E under which are numbers. Is
    there a way, in combinations of 3, to work out all the possible
    combinations that = a certain total using vba.
    eg, ABC, ABD, ABE......ETC. At the momment Im using varaiables and
    simply saying x = a + b + c....etc. Then taking the variables and
    finding which ones = my target. Thought Id ask incase somebodys already
    done this.
    Regards Robert


  2. #2
    Gary''s Student
    Guest

    RE: combination

    See:


    http://www.microsoft.com/communities...2-b6a19c6fc282
    --
    Gary's Student


    "RobcPettit@yahoo.co.uk" wrote:

    > Hi, I have a columns labelles A B C D E under which are numbers. Is
    > there a way, in combinations of 3, to work out all the possible
    > combinations that = a certain total using vba.
    > eg, ABC, ABD, ABE......ETC. At the momment Im using varaiables and
    > simply saying x = a + b + c....etc. Then taking the variables and
    > finding which ones = my target. Thought Id ask incase somebodys already
    > done this.
    > Regards Robert
    >
    >


  3. #3
    RobcPettit@yahoo.co.uk
    Guest

    Re: combination

    Thankyou fpr your reply, very usefull.
    Regards Robert


    Gary''s Student wrote:
    > See:
    >
    >
    > http://www.microsoft.com/communities...2-b6a19c6fc282
    > --
    > Gary's Student
    >
    >
    > "RobcPettit@yahoo.co.uk" wrote:
    >
    > > Hi, I have a columns labelles A B C D E under which are numbers. Is
    > > there a way, in combinations of 3, to work out all the possible
    > > combinations that = a certain total using vba.
    > > eg, ABC, ABD, ABE......ETC. At the momment Im using varaiables and
    > > simply saying x = a + b + c....etc. Then taking the variables and
    > > finding which ones = my target. Thought Id ask incase somebodys already
    > > done this.
    > > Regards Robert
    > >
    > >



+ 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