+ Reply to Thread
Results 1 to 7 of 7

SUMIF function with additional requirement to exclude #N/A

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    SUMIF function with additional requirement to exclude #N/A

    Hi guys

    maybe a quick question but can some help me write a function to exclude #N/A from my sumif function below:

    =SUMIF(C2:C32,"Yes",M2:M29, "<>N/A" what am I doing wrong?

    thanks!
    Thanks,

    R.



  2. #2
    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: SUMIF function with additional requirement to exclude #N/A

    when you have two conditions you have to use SUMIFS, not sumif. Hope that helps.

    AND, you need to add another criteria, In the sumifs you have the sum range, criteria range one, criteria one, criteria range two and criteria two, etc.

    Plus you have to use the same ranges.
    Last edited by Sam Capricci; 03-21-2019 at 12:44 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: SUMIF function with additional requirement to exclude #N/A

    Quote Originally Posted by Sambo kid View Post
    when you have two conditions you have to use SUMIFS, not sumif. Hope that helps.

    Plus you have to use the same ranges.
    Thank you Sambo kid but it appears that excel says i have not got enoguh arguments in my formula?

    =SUMIFS(C2:C32,"Yes",M2:M29, "<>#N/A")

    thank you

  4. #4
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149

    Re: SUMIF function with additional requirement to exclude #N/A

    There are other ways to do this but to answer your question. The formula should be:

    Please Login or Register  to view this content.

  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: SUMIF function with additional requirement to exclude #N/A

    I'm guessing but I think this is what you are actually looking for...
    =SUMIFS(M2:M32,M2:M32,"<>#N/A",C2:C32,"yes")
    I'm guessing that the area you are summing is in M and the are with the yes is in C. This should work for you if that is the case.

  6. #6
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: SUMIF function with additional requirement to exclude #N/A

    Quote Originally Posted by Sambo kid View Post
    I'm guessing but I think this is what you are actually looking for...
    =SUMIFS(M2:M32,M2:M32,"<>#N/A",C2:C32,"yes")
    I'm guessing that the area you are summing is in M and the are with the yes is in C. This should work for you if that is the case.
    bingo! was about to share a sheet. thank you!

  7. #7
    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: SUMIF function with additional requirement to exclude #N/A

    You're welcome! And thank you for the rep!

+ 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. Criteria With Countif or Sumif and Frequency Requirement
    By lsantana in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2017, 12:03 PM
  2. HELP! SUMIF with additional criteria required...
    By Rachel88 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-12-2015, 09:07 AM
  3. How to add additional requirement to Formula
    By Debbie48 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-29-2014, 08:16 AM
  4. Exclude Specific Colored Rows in a SUMIF Function
    By tshives26 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 07-18-2014, 11:27 AM
  5. Exclude Specific Colored Rows in a SUMIF Function
    By tshives26 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2014, 02:01 PM
  6. [SOLVED] SUMIF by date and one additional criteria
    By ardais in forum Excel General
    Replies: 14
    Last Post: 06-17-2012, 03:37 PM
  7. how to add additional criteria to a SUMIF formual?
    By jgomez in forum Excel General
    Replies: 5
    Last Post: 07-15-2011, 10:16 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