SumIf with #NA

Chris3177

New Member
Joined
Jul 27, 2011
Messages
27
Hello All,

I would like to sum two cells not next to each other, but in some cases one of the cells is equal to #N/A. How do I sum the following cells:

L8 and H8 if H8 is #N/A?
10 and #N/A the result should be 10, but I can't seem to figure out which formula to us.

Thank you!

Chris3177
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Welcome to MrExcel.

Like this?

=SUM(IF(ISNUMBER(H8),H8),L8)

But can't you avoid having #N/A in that cell in the first place?
 
Upvote 0
I am trying to find the QUARTILEs of a column, but within the column there are #N/A. How does one write a formula to sum all the "numbers" ignoring the non-numbers (#N/A) and return the specified quartile?

Thank you!
 
Upvote 0
I am trying to find the QUARTILEs of a column, but within the column there are #N/A. How does one write a formula to sum all the "numbers" ignoring the non-numbers (#N/A) and return the specified quartile?

Thank you!

Example...

Control+shift+enter, not just enter:

=QUARTILE(IF(ISNUMBER(A2:A11),A2:A11),1)
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
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