+ Reply to Thread
Results 1 to 3 of 3

Need VBA code to split quantities based on availability in another table

  1. #1
    Registered User
    Join Date
    06-02-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    75

    Need VBA code to split quantities based on availability in another table

    I have a small table where I record quantities ordered for few items. I also have another table that shows availability over the next few weeks.
    I need to check the availability of the entered quantities on the entered date in the second table. If the requested quantity exceed the available for that week, then check if the remainder would be available in the following week and so on until the whole quantity is met. I would like to split the initially requested quantity over number of weeks based on findings of the availability.

    I appreciate if somebody can help on this .. example attached ..thanks
    Attached Files Attached Files
    Last edited by adelkam; 06-29-2013 at 08:34 PM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need VBA code to split quantities based on availability in another table

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-02-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Need VBA code to split quantities based on availability in another table

    Thanks AlphaFrog!! This is fantastic.. it works perfect !!

+ 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