+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-09-2010
    Location
    Olive Branch, MS
    MS-Off Ver
    Excel 2007
    Posts
    2

    Calculating work-in-process

    Greetings,

    I am trying to come up with a way to calculate the number of items in-work on every date in a given date range. I'm going to make this generic, but basically, I'm in a manufacturing environment -- different products go into work on different dates, and the # of days in-process can vary from product to product. I want to construct a formula that identifies the number of products that will be in WIP (work-in-process) on each day in the given time frame.

    I've attached a sample spreadsheet demonstrating what I'm looking for, including some sample data. Any help would be appreciated.

    Thanks!
    Attached Files Attached Files
    Last edited by NBVC; 04-21-2011 at 04:18 PM.

  2. #2
    Forum Moderator ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2003 & 2010
    Posts
    1,797

    Re: Calculating work-in-process

    Welcome to the forum!

    Here's one method:

    Code:
    =SUMPRODUCT(--($B$2:$B$7<=A10),--($C$2:$C$7>=A10))
    Amend ranges as necessary and copy down.

    Cheers,
    Docendo discimus.

    Please consider:
    • Thanking those who helped you. Click the reputation icon in the contributor's post and add Reputation.
    • Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: Calculating work-in-process

    Given use of XL2007 you could also use:

    =COUNTIFS($B$2:$B$7,"<="&$A10,$C$2:$C$7,">="&$A10)

    If the "parts" range is much bigger than your example I'd advise COUNTIFS but note, unlike SUMPRODUCT, it's not backwards compatible with earlier versions of XL.

  4. #4
    Registered User
    Join Date
    03-09-2010
    Location
    Olive Branch, MS
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Calculating work-in-process

    Thank you both -- the SUMPRODUCT method worked great and gave me what I needed. I'll have a look at the new COUNTIFS function as well. I greatly appreciate your prompt replies.

    Cheers.

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.2.0