+ Reply to Thread
Results 1 to 3 of 3

Remander shows in next row until below max

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    64

    Remander shows in next row until below max

    I have a remainder question.

    Column A: Group
    Column B: Weight
    Column C: Load - It needs to have a formula to max at 20000, and if there is a remaining weight in the group, it will add the remainder in the next row. However, no row can go over 20000, so it would do the same until the remainder was below 20000
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,331

    Re: Remander shows in next row until below max

    In C2, use the formula

    =MIN(20000,SUMIF(A:A,A2,B:B)-SUMIF($A$1:A1,A2,$C$1:C1))

    and copy down to match column B.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    64

    Re: Remander shows in next row until below max

    Thank you so much! Worked perfectly!

+ 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. [SOLVED] I have a formula that when broken down shows correct value but shows error
    By wildecoyote1966 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-05-2022, 09:55 PM
  2. [SOLVED] Formula shows as True, should shows as False
    By Eduards in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-07-2018, 12:11 PM
  3. Cell shows (t16) formula bar shows (16)
    By syed mudassir in forum Excel General
    Replies: 3
    Last Post: 01-29-2015, 05:27 AM
  4. [SOLVED] Function Arguments window shows result, cell shows a 0
    By fluffsmckenzie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-09-2013, 05:48 PM
  5. [SOLVED] cell shows 20. Formula shows 20. why not 540/27
    By William Horton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM
  6. [SOLVED] cell shows 20. Formula shows 20. why not 540/27
    By griswold in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. cell shows 20. Formula shows 20. why not 540/27
    By griswold in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Tags for this Thread

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