+ Reply to Thread
Results 1 to 4 of 4

Sum for the last 24

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    Peterborough
    MS-Off Ver
    Excel 2007
    Posts
    26

    Sum for the last 24

    Hi,

    I would like to sum the total number of defects in a column but specifically for the last 24. 24 comes from our cleaning.

    The material identifies are WO then a number. So what I would need excel to do is to make the range always end as the last row in the table and the start of the range the last row minus 23(SO 24 rows in total are used) and then sum the number of defects in this range. I've coloured the font in red the rows that I'd like to include.
    Excel Query 4.xlsx

    Help would be appreciated.

    Cheers,

    Tom

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Sum for the last 24

    Put this in B34 and extend to the right

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Sum for the last 24

    If there is no 24 rows you will get error.
    This one will use last n rows (1,2,3... etc) up to 24 (but not more).

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-03-2015
    Location
    Peterborough
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Sum for the last 24

    Works that is great! Thanks.

+ 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