+ Reply to Thread
Results 1 to 4 of 4

How do I continue to take the sum of the last 50 non-zero numbers?

  1. #1
    Registered User
    Join Date
    12-29-2016
    Location
    US
    MS-Off Ver
    2016
    Posts
    13

    How do I continue to take the sum of the last 50 non-zero numbers?

    Each day, I put a large number in one column and 0 in the other. I need to be able to take the sum of the last 50 non-zero numbers for each column. The cell after that should take the sum of the 2nd-51st numbers (excluding 0s), then the next cell should take the sum of the 3rd-52nd numbers (excluding 0s), etc.

    My issue is, when I move to the 51st non-zero number in a column, I do not know how to exclude the 1st non-zero number in the same column.

    Cross posts: http://www.mrexcel.com/forum/excel-q...o-numbers.html
    http://www.msofficeforums.com/excel/...-sum-last.html
    Attached Files Attached Files
    Last edited by radiotower; 12-29-2016 at 06:26 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: How do I continue to take the sum of the last 50 non-zero numbers?

    There are no dates in your file. Is the latest set of numbers always at the bottom of the list, or do you insert a new row 1 and put the latest at the top?

    Pete

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: How do I continue to take the sum of the last 50 non-zero numbers?

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    12-29-2016
    Location
    US
    MS-Off Ver
    2016
    Posts
    13

    Re: How do I continue to take the sum of the last 50 non-zero numbers?

    Quote Originally Posted by Pete_UK View Post
    There are no dates in your file. Is the latest set of numbers always at the bottom of the list, or do you insert a new row 1 and put the latest at the top?

    Pete
    I figured it out.
    Last edited by radiotower; 12-29-2016 at 11:14 PM.

+ 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. Replies: 3
    Last Post: 06-01-2014, 10:48 PM
  2. vba to add new row and continue new #
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2013, 03:42 PM
  3. Function that will continue to add if certain # is not met
    By emptycucumber in forum Excel General
    Replies: 1
    Last Post: 05-28-2009, 10:59 AM
  4. [SOLVED] to continue down in the same row
    By alex178 in forum Excel General
    Replies: 2
    Last Post: 07-08-2006, 12:40 PM
  5. [SOLVED] continue page numbers from previous worksheet
    By tom in forum Excel General
    Replies: 1
    Last Post: 06-23-2006, 11:25 AM
  6. Continue
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2006, 01:55 PM
  7. [SOLVED] Strikethrough numbers and continue sequence
    By Piolina1313 in forum Excel General
    Replies: 0
    Last Post: 08-03-2005, 04:05 PM

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