+ Reply to Thread
Results 1 to 6 of 6

Sum If meets criteria X but do not include if it includes Y

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    72

    Sum If meets criteria X but do not include if it includes Y

    Hi,

    I am looking to sum up a total area depending on two pieces of criteria, I know that you can use the SUMIFS function to do this but I was wondering if it is possible to make the formula only pick up certain lines based on what has been entered in another column.

    To help make my question clearer I have attached a example.

    In the example I want to add up column C (AREA) and great a total against the ID numbers in column B. However I do not want to count any that are noted as cancelled which is stated in column D (STATUS).

    Any help is appreciated.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-14-2013
    Location
    Austria
    MS-Off Ver
    2016 / 2019
    Posts
    339

    Re: Sum If meets criteria X but do not include if it includes Y

    SumIFs supports more than one criteria

    Please Login or Register  to view this content.
    drag it down

    cheers,
    Guenter

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Sum If meets criteria X but do not include if it includes Y

    try sumifs for that... =SUMIFS($C$4:$C$12,$B$4:$B$12,"ABC",$D$4:$D$12,"<>cancelled")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    01-08-2020
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    72

    Re: Sum If meets criteria X but do not include if it includes Y

    Thank you to you both!

    Can I ask though, does the "<>" just mean to not include if it includes....whatever you put after?

    Just for my own knowledge in the future.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Sum If meets criteria X but do not include if it includes Y

    yes, this "<>cancelled" means exclude each cell in column D that contains cancelled.

  6. #6
    Registered User
    Join Date
    01-08-2020
    Location
    Toronto
    MS-Off Ver
    2010
    Posts
    72

    Re: Sum If meets criteria X but do not include if it includes Y

    Great! thanks again

+ 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. Replies: 11
    Last Post: 08-14-2019, 07:05 PM
  2. sumifs include/ include criteria
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-14-2016, 07:34 AM
  3. Replies: 4
    Last Post: 02-17-2014, 04:05 AM
  4. [SOLVED] Find a number closest to 30 in a range with one more criteria (criteria includes text)
    By Sarangsood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-22-2013, 01:16 PM
  5. Need one column total if criteria meets another columns criteria
    By jebrown in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2013, 08:47 PM
  6. [SOLVED] Counting Cells that includes exact match and also if a cell includes specific text
    By smclachlan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-19-2012, 07:42 PM
  7. Replies: 1
    Last Post: 02-16-2012, 09:57 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