Sumif

shaunkaz

Board Regular
Joined
Jan 30, 2008
Messages
204
HI

Can someone please help with a formula

Column A Column B
24
30 #n/a
55
48 #n/a
64 #n/a
32

In column A i have numbers
In column B is a formula which brings up #N/a

What I want is to sum up column A which have #N/a in column B

I have tried the following formula but doesn't work

=sumif (A1:b10,"#N/a",B1:b10)

Any help with this would be appreciated

Thanks
Shaun
 

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.
Try

=SUM(IF(ISNA(B1:B10),A1:A10))

confirmed with CTRL + Shift + Enter, not just Enter.
 
Upvote 0
I tried your original formula on a sample set and it worked fine.

When you say 'doesn't work', do you mean you get an error or do you mean you get unexpected/inconsistent results?
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

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