+ Reply to Thread
Results 1 to 4 of 4

Updating Inventory for Assemblies

  1. #1
    Registered User
    Join Date
    06-24-2010
    Location
    Traverse City, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    5

    Updating Inventory for Assemblies

    Hello,
    I have a spreadsheet to keep track of components needed to make an assembly. I am looking to adjust the quantities of individual components based on adding or subtracting an entire assembly. Here is what I have come up with:
    Please Login or Register  to view this content.
    The values in column B are the quantities needed for 1 assembly. The values in column G are the quantities in stock. The value of cell K4 is the number of assemblies to add or subtract from the quantities stocked (Column G).

    What I have coded works, but I was wondering if there is a better way to do it using a loop or something. I only included code to process 6 items so you can see what is going on, but there are actually 30 items to process. Also, the way it works now is you input the amount of assemblies to adjust in cell K4, hit tab or enter then click the update button. I would rather have it so you click the Update button and have it prompt you for the number of assemblies to add or subtract. Thanks for any help.
    Paul
    Last edited by hpmachining; 06-24-2010 at 02:45 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Better way to code this?

    Try this

    It should do the same thing
    Please Login or Register  to view this content.

    Hope this helps.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.

  3. #3
    Registered User
    Join Date
    06-24-2010
    Location
    Traverse City, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Better way to code this?

    Thank you very much. This is exactly what I was looking for.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Updating Inventory for Assemblies

    Happy to have helped.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!

    And keeps you on the right side of the moderators!!! ....

+ 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