+ Reply to Thread
Results 1 to 4 of 4

Auto-Row Fill based on Quantity of components

  1. #1
    Forum Contributor
    Join Date
    05-29-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    143

    Auto-Row Fill based on Quantity of components

    Hello all,

    I'm working on a simple MRP model and I'm having a tough time with creating a macros/script for a feature that I'm trying to add. I'm attached a file that I think will explain it sufficiently (see tab "Inventory Allocation") to get to the heart of the problem. I'll try to give a brief summary here, but I think it would be easier to look at the spreadsheet.

    I'm trying to create an auto-fill feature for the Inventory Allocation tab based on the items being worked on in the Work in Process tab. Depending on what product is being produced in the WIP tab, will depend on the number of rows the Inventory Allocation tab will occupy, because all products require a different number of components to be made.

    I would really appreciate any help with this one. It's by far the most troubling piece for me.
    Attached Files Attached Files
    Last edited by Blackhawks; 10-23-2016 at 04:48 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,422

    Re: Auto-Row Fill based on Quantity of components

    You could use COUNTIFS to determine how many rows you need and use .Resize with that number when you output the Formulae.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Auto-Row Fill based on Quantity of components

    See attached and comment
    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  4. #4
    Forum Contributor
    Join Date
    05-29-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    143

    Re: Auto-Row Fill based on Quantity of components

    That worked perfectly!! Thank you!!

+ 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. Auto-fill based on input
    By BigPaulMc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2015, 07:22 PM
  2. Auto calculate components from a table
    By auburnfan03 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-26-2013, 07:37 PM
  3. [SOLVED] Auto fill cells based if there is something there or not
    By TlgKill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2013, 04:42 PM
  4. [SOLVED] Auto fill based on first digit.
    By rjlchef in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2013, 10:20 AM
  5. [SOLVED] Automatically create and fill rows based on a given quantity
    By Bax in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2013, 09:49 AM
  6. Auto Fill Based on other sheet
    By BlastRanger in forum Excel General
    Replies: 2
    Last Post: 09-24-2010, 05:49 AM
  7. Replies: 5
    Last Post: 11-23-2009, 06:24 PM

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