+ Reply to Thread
Results 1 to 17 of 17

Running Total Formula

Hybrid View

  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Running Total Formula

    I believe the correct total should be 14367 (exclude 1 & 18 from bottom data set given existence of 1 in upper data set).

    Irrespective of the above the existing formula still fails to calculate correctly and this is related to an earlier point where the implication was that the upper data set contained zeroes which should be excluded when determining set to calculate... hence my point below re: revision to COUNTIF:

    Quote Originally Posted by D.O
    The above assumes G27:G60 will only ever contain numerics
    In your latest sample the above is not reality ergo the COUNTIF generates an incorrect value... if you change <>0 to >0 then you will find you generate 14367. At this stage I think you need to be fairly clear in terms of requirements.

    I would also add that given the multiple of Arrays in your lower dataset this model will perform very poorly in terms of calculation time.

  2. #2
    Forum Contributor
    Join Date
    07-16-2008
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    106

    Re: Running Total Formula

    Sorry DonkeyOte

    I don't understand the
    The above assumes G27:G60 will only ever contain numerics
    .

    Your right with the the changes to the formula it's adding correctly now.

    I have one final question, what if I wanted to exclude 1 & 34 instead of 1 &18?

    Exclude Examples

    2 & 33
    3 & 32
    4 & 31
    5 & 30

    Thanks
    Last edited by Killer17; 09-27-2011 at 11:56 PM.

+ 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