+ Reply to Thread
Results 1 to 3 of 3

Sumifs with an array (to add up columns of data)

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    66

    Sumifs with an array (to add up columns of data)

    Hey,

    I have a table of data and I want to use sumifs to add up columns of data. Any way to do that?

    For example:

    a | b | a | d | a
    1 | 2 | 3 | 4 | 5
    6 | 7 | 8 | 9 | 10

    I want to add up all the cells with A in the header. Something like:

    =sumifs(A2:E3,A1:E1,"a")
    which should give you 1 + 3 + 5 + 6 + 8 + 10 = 33

    -except that formula doesn't work...

    Thanks!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sumifs with an array (to add up columns of data)

    Hi.

    =SUMPRODUCT((A1:E1="a")*A2:E3)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Sumifs with an array (to add up columns of data)

    BTW, SUMIFS expects the criteria and sum ranges to be the same size, which is why you have to use SUMPRODUCT as XOR LX suggested.
    Remember what the dormouse said
    Feed your head

+ 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. Adding an Array to a Sumifs
    By HCLax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2014, 09:19 AM
  2. [SOLVED] SUMIFS with an array
    By frsaxon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-04-2014, 02:21 PM
  3. [SOLVED] Sumifs with Array sum range..
    By inincubus in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-07-2014, 02:48 PM
  4. SUMIFS & Sumarize Data from more relevant columns
    By sk003033 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2013, 04:07 AM
  5. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 AM

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