+ Reply to Thread
Results 1 to 2 of 2

Macro for Average Allocation.

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    india
    MS-Off Ver
    2013
    Posts
    1

    Macro for Average Allocation.

    Hi,
    At the outset, let me explain you about the allocation activity that I am doing in excel.

    In the col. B, I have the machine names starting from M1 to M14.
    In the col. C, I have the test cases to be executed.

    Instead of executing the testcases in one individual machine, I am allocating the testcases to the all available 14 machines (here I mean by Virtual Machines).

    On an average I allocate 20 Testcases to one machine. The testcases count are combined together to reach the count 20 and allocated to particular VM which is free.

    I am doing this as a manual process. Attached the File for your kind perusal.

    Can you please guide me in writing a macro for this process. Seek your help please.

    Regards,
    Sairam Prasath.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Macro for Average Allocation.

    How do you know that a machine is "free"? For example why did the first and second test cases get assigned to M1, but the third case get assigned to M2?

    If you don't spell out in detail the rule for assigning a machine to a test case (the very algorithm you're asking about) then it's very difficult to write any code.

    For example, based on your description so far, I would just assign the first 20 test cases to M1, the next 20 to M2, etc. But I don't really think that's what you want the code to do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro for Task Allocation to Employees
    By ravikiran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-25-2013, 04:50 AM
  2. Key Notes related help required
    By pavittersingh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2012, 04:48 AM
  3. Allocation using VBA
    By naveenhs5 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-21-2011, 07:25 AM
  4. Replies: 2
    Last Post: 02-04-2011, 03:36 AM
  5. F-key allocation
    By HELLBOY787 in forum Excel General
    Replies: 1
    Last Post: 06-30-2005, 07:05 AM

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