+ Reply to Thread
Results 1 to 3 of 3

need help with sum

  1. #1
    Registered User
    Join Date
    01-26-2015
    Location
    Lithuania
    MS-Off Ver
    excel 2010
    Posts
    1

    need help with sum

    Hy there,
    can anyone help me with the problem i just met...
    I need to count values from column A one one by one. result is in column B... and im doing it with =SUM(A$1:A1). But, the thing is that i need to count again numbers when the sum is not more than 9... (the result im looking for ir in a column C,D,E....
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: need help with sum

    Try:

    In C1:

    =A1

    C2 then drag down:

    =IF(C1="","",IF(C1+A2<=9,C1+A2,""))

    D2 then drag down and across:

    =IF(SUM($C2:C2)>0,"",IF(SUM(D$1:D1)>0,IF(D1="","",IF(D1+$A2<=9,D1+$A2,"")),$A2))
    Quang PT

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,293

    Re: need help with sum

    Use the "Solver"
    Attached Files Attached Files

+ 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