+ Reply to Thread
Results 1 to 13 of 13

Sum Non-consecutive Numbers

Hybrid View

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Need a Function to Sum Non-consecutive Numbers

    Without the indirect (but using Arrayed function, enter with CNTRL SHFT ENTER)

    =SUM(IF(INT((ROW($A$1:$A$500)-1)/7)+1=ROW(),$A$1:$A$500,))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Registered User
    Join Date
    10-13-2011
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Need a Function to Sum Non-consecutive Numbers

    Quote Originally Posted by ChemistB View Post
    Without the indirect (but using Arrayed function, enter with CNTRL SHFT ENTER)

    =SUM(IF(INT((ROW($A$1:$A$500)-1)/7)+1=ROW(),$A$1:$A$500,))
    Thanks ChemistB. That unfortunately doesn't work though. That formula just added up my entire column.

    What I want to do is add A1:A7 and put that value in B1. Then in B2, I want to add A8:14 and so on. Does this make sense?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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