+ Reply to Thread
Results 1 to 3 of 3

Sum Multiple Different Ranges or Conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    Illinois
    MS-Off Ver
    2013
    Posts
    22

    Question Sum Multiple Different Ranges or Conditions

    Hello again!

    I am trying to sum values in a column over different ranges. For example, I have 2500 values but want to sum every 50 values together. I was thinking about summing using conditions in another column. Like if the values in column A=0 and B=0 then sum corresponding values in column C and place sum into column D. Then if A=0 and B=1 and so on. A would go from 0-5 and B would go from 0-9.

    Not sure if I should try an array here (haven't worked with them before) or a sumif in VBA (can you do that??).

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Sum Multiple Different Ranges or Conditions

    You can SUMIFS via formula if you're open to that suggestion.

    If you have a header row, and your data begins in A2 and B2, then C2 would like like:
    =SUMIFS(C:C,A:A,0,B:B,0)

    Does something like that help?

  3. #3
    Registered User
    Join Date
    03-12-2015
    Location
    Illinois
    MS-Off Ver
    2013
    Posts
    22

    Re: Sum Multiple Different Ranges or Conditions

    Sorry for the delay - I am trying to stick with Macros instead of formulas since I eventually will have one giant macro in the end. I think there is a way to SUMIF in a macro. I just need to do a little more research.

+ 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: 2
    Last Post: 04-23-2012, 08:16 PM
  2. Replies: 4
    Last Post: 06-11-2011, 05:17 PM
  3. Multiple Ranges & Conditions
    By WebXcelMan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-28-2007, 04:06 PM
  4. sum of multiple ranges andmultiple conditions...
    By Herman56 in forum Excel General
    Replies: 2
    Last Post: 01-31-2006, 05:19 PM
  5. COUNTIF Statement with Multiple Conditions in Different Ranges
    By KJA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2005, 01:06 PM

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