SUMIF formula to ignore #N/A

walt1122

Active Member
Joined
Jun 6, 2002
Messages
318
Hi All I believe Juan Pablo posed a quick little diddy on how to have the SUMIF ignore #N/A?? I promised myself I would remember it but here I am asking if anyone remembers it or know how to have Excel add up a column even though the column contains #N/A's.

thanks

Walt
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
walt1122 said:
that's got it. I left out the " "'s

thanks

Walt

You might want to review the examples of criteria in the Excel Help topic for the SUMIF worksheet function.
 
Upvote 0
I tried the formula above and it works. However, when I add an extra calc within the SUMIF it rejects it.

This is my variation:

=sumif((+A1-SUM(A2:A4)),"<>#N/A")

Any suggestions?

Thx,
FG
 
Upvote 0
Hi Guys

Im all new to this, but ive read the above thread and i think the formula is relavent to my problem.

Im using the SUMIF Function but i want the formula to ignore certain cells

so at the moment i have this

=SUMIF('SALES 2009'!T4:T116,F1,'SALES 2009'!R4:R116)

But i want this formula to ignore any sales that have not been invoiced yet, so the second criteria would be TO BE INVOICED

I read somewhere that using formula SUMIFS you could stipulate two or more criterias but is isnt avaiable Excel 2003!

Hope you guys can help me out as im going round the bend!!!
 
Upvote 0
Hello Catherine, welcome to MrExcel, you'd probably get a better response if you started your own question.....

You can use SUMPRODUCT for counting or summing with multiple criteria, e.g.

=SUMPRODUCT(--('SALES 2009'!T4:T116=F1),--('SALES 2009'!S4:S116<>"To be invoiced"),'SALES 2009'!R4:R116)

I'm assuming that your "To be invoiced" text would be in column S, so this formula will sum all sales in column R where the T column value is equal to F1 but S column doesn't equal "To be invoiced"
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top