+ Reply to Thread
Results 1 to 9 of 9

The limitation of SUMIFS?

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    17

    Question The limitation of SUMIFS?

    Hi all,

    I have a question on multiple criteria for SUMIFS:

    The criteria of the attached excel are:

    If
    a) it is Project 2
    b) it is under "n"

    the sum it, and the result is 7 then.

    However, SUMIFS criteria should be on either row-directional or column directional, I guess it cannot be mixed. So in order to achieve this, should I use SUMIFS or anything else?

    Thanks

    Nicky


    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: The limitation of SUMIFS?

    welcome to the forum, Nicky. can you explain how you got 7? if it's to sum up B5:K5, shouldn't it be 8? if i'm right:
    =SUMIF(B3:K3,"n",INDEX(B4:K9,MATCH("Project2",A4:A9,0),))

    the red portions can be referred to a cell instead.

    ps: also noticed you posted another question which 2 of the members have answered. do give them feedback on whether it works or not. if it does, mark it as Solved.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: The limitation of SUMIFS?

    Agree with Ben - how do you arrive at 7? We both get 8, and even a visual scan shows 8?

    This will also work for you...
    =SUMPRODUCT((A4:A9="Project2")*(B3:K3="n")*($B$4:$K$9))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    02-07-2018
    Location
    Iran
    MS-Off Ver
    2010
    Posts
    3

    Post Re: The limitation of SUMIFS?

    Quote Originally Posted by benishiryo View Post
    welcome to the forum, Nicky. can you explain how you got 7? if it's to sum up B5:K5, shouldn't it be 8? if i'm right:
    =SUMIF(B3:K3,"n",INDEX(B4:K9,MATCH("Project2",A4:A9,0),))

    the red portions can be referred to a cell instead.

    ps: also noticed you posted another question which 2 of the members have answered. do give them feedback on whether it works or not. if it does, mark it as Solved.
    Dears
    I have similar problem. I want to sum the cells which have a character in their rows AND a character in their columns. so I have to use wildcard.
    SUMIFS function in combination with INDEX and MATCH functions only sums first column contents. I also used SUMPRODUCT.
    This function don't accept wildcard, but accept full cell content. Here is two formulas I used:
    =SUMIF(E3:E24,"*A*",INDEX(F3:N24,,MATCH("*H*",F2:N2,0)))
    =SUMPRODUCT((E3:E24="*A*")*(F2:N2="*H*")*(F3:N24))
    These two formulas don't work for me.
    Last edited by heshmaty; 02-07-2018 at 05:13 AM. Reason: I want to delete this post but I can't.

  5. #5
    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,215

    Re: The limitation of SUMIFS?

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  6. #6
    Registered User
    Join Date
    02-07-2018
    Location
    Iran
    MS-Off Ver
    2010
    Posts
    3

    Re: The limitation of SUMIFS?

    Dears
    I have similar problem. I want to sum the cells which have a character in their rows AND a character in their columns. so I have to use wildcard.
    SUMIFS function in combination with INDEX and MATCH functions only sums first column contents. I also used SUMPRODUCT.
    This function don't accept wildcard, but accept full cell content. Here is two formulas I used:
    =SUMIF(E3:E24,"*A*",INDEX(F3:N24,,MATCH("*H*",F2:N2,0)))
    =SUMPRODUCT((E3:E24="*A*")*(F2:N2="*H*")*(F3:N24))
    These two formulas don't work for me.
    The real data are attached. Any comments and suggestions are welcome.
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: The limitation of SUMIFS?

    I assume that you have misunderstood the request to open your OWN thread because English is not your first language. Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("A",E3:E24)))*(ISNUMBER(SEARCH("H",F2:N2)))*(F3:N24))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  8. #8
    Registered User
    Join Date
    02-07-2018
    Location
    Iran
    MS-Off Ver
    2010
    Posts
    3

    Re: The limitation of SUMIFS?

    Thanks a lot Glenn. (sepas)

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: The limitation of SUMIFS?

    You're welcome. Next time, please start your own thread !!



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  2. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  3. [SOLVED] Row limitation to excel sumifs
    By surajitphukan in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-16-2012, 02:01 PM
  4. [SOLVED] Row Limitation
    By Atom Smasher in forum Excel General
    Replies: 4
    Last Post: 07-17-2006, 03:05 PM
  5. [SOLVED] Way around row limitation
    By mrwawa in forum Excel General
    Replies: 4
    Last Post: 06-29-2006, 03:50 PM

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