sumif formula question ignoring #N/A

tiny65

New Member
Joined
Apr 12, 2011
Messages
1
I'm trying to create a sum using several columns, at the same time ignoring the #N/A reference in some cells. This is what I have and it does not error out, neither does it give me the result I'm looking for. Can anyone offer any assistance for me?

=SUMIF(C6:C23:G6:G23:J6:J23:O6:O23:R6:R23:U6:U23,"<> #N/A")
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I'm trying to create a sum using several columns, at the same time ignoring the #N/A reference in some cells. This is what I have and it does not error out, neither does it give me the result I'm looking for. Can anyone offer any assistance for me?

=SUMIF(C6:C23:G6:G23:J6:J23:O6:O23:R6:R23:U6:U23,"<> #N/A")
No real elegant way to do that.

=SUMIF(C6:C23,"<1E100")+SUMIF(G6:G23,"<1E100")+SUMIF(J6:J23,"<1E100")+SUMIF(O6:O23,"<1E100")+SUMIF(R6:R23,"<1E100")+SUMIF(U6:U23,"<1E100")
 
Upvote 0
I would attack this another way.

Where are the #N/A's coming from? Are they the result of formulas?
If so, address the problem there using the ISNA function to correct those formulas.

For example, if you have a formula returning #N/A errors, change the formula to this in order to return 0 instead of the "#N/A" error.

=IF(ISNA(your formula here),0,your formula here)
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,480
Members
452,915
Latest member
hannnahheileen

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