+ Reply to Thread
Results 1 to 5 of 5

Remaining quantity calculation

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Remaining quantity calculation

    Hello,

    I would need your support regarding remaining quantity calculation, please see the details and expected results in the attached file.

    Thank you in advance for that!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,711

    Re: Remaining quantity calculation

    Try

    =INDEX($J$10:$J$13,MATCH(C10&D10,$H$10:$H$13&$I$10:$I$13,0))-SUMIFS($E$10:E10,$C$10:C10,C10,$D$10:D10,D10)

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Remaining quantity calculation

    Going off of John's solutions provided in post #2, here are two non-array formulas:

    =SUMIFS(J$10:J$13,H$10:H$13,C10,I$10:I$13,D10)-SUMIFS(E$10:E10,C$10:C10,C10,D$10:D10,D10)

    =INDEX($J$10:$J$13,INDEX(MATCH(C10&D10,$H$10:$H$13&$I$10:$I$13,0),0))-SUMIFS($E$10:E10,$C$10:C10,C10,$D$10:D10,D10)

  4. #4
    Forum Contributor
    Join Date
    12-23-2013
    Location
    Hungary
    MS-Off Ver
    Excel 2013
    Posts
    331

    Re: Remaining quantity calculation

    Thank you the help!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Remaining quantity calculation

    Glad we could help. Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Quantity returned/balance calculation
    By thong127 in forum Excel General
    Replies: 3
    Last Post: 08-08-2017, 04:55 PM
  2. Pricing calculation based on quantity packs
    By dangergreen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2015, 03:17 AM
  3. Remaining Containers based on Quantity balance
    By thong127 in forum Excel General
    Replies: 3
    Last Post: 02-18-2015, 05:29 PM
  4. [SOLVED] Percentage calculation Based on dates and remaining task 2013
    By Excelnoub in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2014, 01:10 PM
  5. Remaining value calculation problem
    By Villalobos in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-26-2013, 03:49 PM
  6. Calculating Remaining Date Time Hours - Error In My Calculation/Code
    By excelnube84 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2012, 05:04 AM
  7. Earth work Quantity calculation
    By renjithpaduvilan in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-13-2012, 01:46 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