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!
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.
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
There are other ways to do this but to answer your question. The formula should be:
![]()
=SUMIFS(C2:C32,M2:M32,"Yes",[THE RANGE WHERE THE #N/A APPEARS], "<>#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.
You're welcome! And thank you for the rep!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks