+ Reply to Thread
Results 1 to 4 of 4

SUMIF with column & row header criteria

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    22

    SUMIF with column & row header criteria

    Hi,

    I need help setting up a Sumifs formula with multiple criteria. See the first tab, the data is there. Column A has multiple entries for different dates so in Tab 2 I need a sum of all those entries for the data matching in row 2.

    Thanks!
    Attached Files Attached Files
    Last edited by maxi0009in; 04-20-2021 at 10:40 AM. Reason: Resolved

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: SUMIF with column & row header criteria

    =SUMIFS(INDEX(Data!$B$3:$J$8,0,MATCH(C$2,Data!$B$2:$J$2,0)),Data!$A$3:$A$8,'Need Formula Her'!$B3)

    or

    =SUMPRODUCT((Data!$B$3:$J$8)*((Data!$A$3:$A$8='Need Formula Her'!$B3)*(Data!$B$2:$J$2='Need Formula Her'!C$2)))

  3. #3
    Registered User
    Join Date
    11-14-2012
    Location
    India
    MS-Off Ver
    MS 365
    Posts
    22

    Re: SUMIF with column & row header criteria

    Thank you sir! This works.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,169

    Re: SUMIF with column & row header criteria

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. [SOLVED] Unique List From Row Name Based On Criteria from Column Data Header and Column Contents
    By jweatherford in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-05-2020, 10:19 AM
  2. Replies: 4
    Last Post: 09-04-2020, 03:10 AM
  3. Replies: 0
    Last Post: 06-04-2015, 07:57 AM
  4. [SOLVED] average whole column if header matches criteria
    By doylzer in forum Excel General
    Replies: 6
    Last Post: 09-22-2014, 08:20 AM
  5. [SOLVED] Multiple Criteria SUMIF Using Column as Negative Criteria
    By freybe06 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-24-2014, 04:46 PM
  6. Return column header based on column criteria and number value
    By bwill22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2014, 07:33 PM
  7. Replies: 21
    Last Post: 04-04-2013, 08:28 AM

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