+ Reply to Thread
Results 1 to 12 of 12

Sumifs excluding multiple names

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Sumifs excluding multiple names

    Hi,

    I am trying to do a sumifs, and exclude 3 names. When I just exclude 1 name it works. Not sure how to adjust my formula.

    =SUM(SUMIFS($V$2:$V$1332,$K$2:$K$1332,"<>eem",$K$2:$K$1332,"<>MERRI12Y LX","<>MERRI1HT LX))


    Thanks

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs excluding multiple names

    You don't need the SUM part, and you left out the criteria range for the 3rd criteria, and left off a quote mark at the very end...

    Try
    =SUMIFS($V$2:$V$1332,$K$2:$K$1332,"<>eem",$K$2:$K$1332,"<>MERRI12Y LX",$K$2:$K$1332,"<>MERRI1HT LX")

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: Sumifs excluding multiple names

    Have you tried it without SUM(...)? You only need the SUMIFS formula, don't you?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Sumifs excluding multiple names

    or this

    Formula: copy to clipboard
    =SUM(SUMIFS($V$2:$V$1332,$K$2:$K$1332,{"<>eem","<>MERRI12Y LX","<>MERRI1HT LX"}))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs excluding multiple names

    @AlKey
    That syntax only works for multiple = critera
    Won't work for multiple <> criteria
    Because it works like an OR.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Sumifs excluding multiple names

    Quote Originally Posted by Jonmo1 View Post
    @AlKey
    That syntax only works for multiple = critera
    Won't work for multiple <> criteria
    Because it works like an OR.
    You are right Jonmo1

  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 2406
    Posts
    44,662

    Re: Sumifs excluding multiple names

    =SUM(SUMIFS($V$2:$V$1332,$K$2:$K$1332,"<>eem",$K$2:$K$1332,"<>MERRI12Y LX",$K$2:$K$1332,"<>MERRI1HT LX"))

    should do it...

    Duhhh. I forgot to refresh before posting. You already have a answer!!
    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

  8. #8
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sumifs excluding multiple names

    Try something like this formula that sums $V$2:$V$1332 and subtracts all $V$2:$V$1332 where the Col_K value equals one of the list items:
    =SUM($V$2:$V$1332)-SUMPRODUCT(SUMIF($K$2:$K$1332,{"eem","MERRI12Y LX","MERRI1HT LX"},$V$2:$V$1332))
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  9. #9
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Sumifs excluding multiple names

    Thank you all

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumifs excluding multiple names

    You're welcome.

    I like Ron's logical solution..

  11. #11
    Registered User
    Join Date
    06-12-2020
    Location
    Buenos Aires
    MS-Off Ver
    365
    Posts
    1

    Re: Sumifs excluding multiple names

    Hi all,

    What about if I have around +200 criterias and I would like to exclude 80 of them?
    Does anyone has a logic for this case?

    Thanks

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: Sumifs excluding multiple names

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

+ 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] trying to add numbers that correspond to multiple names listed in column using SUMIFS
    By JoeJones in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2014, 07:25 PM
  2. [SOLVED] sumifs excluding certain items
    By Tradesman in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-30-2014, 02:17 AM
  3. [SOLVED] Create an Array which has Sheet Names excluding a Few Sheet Names to be used in a MACRO
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-29-2013, 03:24 PM
  4. Sumifs with multiple criteria for multiple names
    By mcayea in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-07-2013, 10:55 AM
  5. 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
  6. Replies: 10
    Last Post: 03-01-2012, 01:20 PM
  7. Getting a list of Sheet Names by excluding certain Sheet Names instantenously..
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-09-2012, 12:16 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