+ Reply to Thread
Results 1 to 11 of 11

How to sum across a table with 2 criteria, one in rows, one in columns

  1. #1
    Registered User
    Join Date
    03-25-2016
    Location
    Cologne
    MS-Off Ver
    Office for Mac v.15.20
    Posts
    4

    How to sum across a table with 2 criteria, one in rows, one in columns

    Hello everyone. My name is Ivan and an]m new to this forum. Could someone explain me where is the mistake in following formula:

    =SUMIFS('Jan-16 Weekly'!$E:$DC;'Jan-16 Weekly'!$B:$B;$A24;'Jan-16 Weekly'!$10:$10;C$21)

    Thanks a lot
    Last edited by IvanM; 03-25-2016 at 06:48 AM.

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

    Re: What's wrong with the formula

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Never use Merged Cells in Excel

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Hello Ivan,

    The first mistake I see is the use of semicolons ";" where commas "," should be separating the "sum_range, criteria_range1, and criteria1".

    Please Login or Register  to view this content.
    With out any data to work with it isn't possible to determine any other issues.

  4. #4
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Hi @southward,
    You are right "without any data to work with it it is not possible to determine"
    But Semicolons ";" in formula is not a mistake, OP's excel version uses semicolons instead of commas.

    @IvanM
    You have used multiple columns in sum_range (we can work with it by making it dynamic) but I think the main reason why your formula is not working is SUMIFS does not work with mixed array, all array must be either vertical or horizontal.

    Regards,
    Khalid

  5. #5
    Registered User
    Join Date
    03-25-2016
    Location
    Cologne
    MS-Off Ver
    Office for Mac v.15.20
    Posts
    4

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Thanks a lot. I also think mixed array is the problem. Is there any similar function that would work with mixed array?

  6. #6
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Yes, for example:
    =SUMPRODUCT(

  7. #7
    Registered User
    Join Date
    03-25-2016
    Location
    Cologne
    MS-Off Ver
    Office for Mac v.15.20
    Posts
    4

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Thanks. I have a table with sales.

    days are represented in rows, different stores in columns. I want to sum daily sales to get it weekly in a different table. Can SUMPRODUCT do the job?

  8. #8
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    As requested earlier, without having data it is difficult to answer, but here is my BWAG:
    =SUMPRODUCT(('Jan-16 Weekly'!$E:$DC)*('Jan-16 Weekly'!$B:$B=$A24)*('Jan-16 Weekly'!$10:$10=C$21))

    Regards,

  9. #9
    Registered User
    Join Date
    03-25-2016
    Location
    Cologne
    MS-Off Ver
    Office for Mac v.15.20
    Posts
    4

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Thanks a lot

  10. #10
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Khalid,

    Thanks for the info regarding Semicolons ";" being used in other excel versions. Good to know.

  11. #11
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,074

    Re: How to sum across a table with 2 criteria, one in rows, one in columns

    Quote Originally Posted by southward View Post
    Khalid,
    Thanks for the info regarding Semicolons ";" being used in other excel versions. Good to know.
    It's not other excel version. It's another regional settings. , become ; and . become ,

+ 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. what is the wrong of formula
    By hktom in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2015, 05:44 PM
  2. [SOLVED] Doing Something Wrong with IF & OR & AND Formula -- Again
    By Leathermyth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-05-2014, 11:29 PM
  3. Wrong Formula
    By usmanfarok in forum Excel General
    Replies: 7
    Last Post: 06-25-2012, 04:20 AM
  4. Something wrong with my formula?
    By Lene in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-26-2009, 05:53 AM
  5. ###### Wrong Formula
    By Ningster in forum Excel General
    Replies: 8
    Last Post: 07-07-2006, 08:15 PM
  6. Can anyone tell me what's wrong with this formula?
    By Linda in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2006, 05:43 PM
  7. [SOLVED] What's wrong with this formula?
    By Ken M. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2005, 10: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