Thread: SumIf with NA
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default SumIf with NA

Hi,

Try this

=SUM(IF(NOT(ISERROR(A1:A3)),A1:A3))

This is an array which must be entered with CTRL+Shift+Enter and not just
enter. If you do it correctly Excel will put curly brackets around the
formula {}. You can't type these yourself.

Mike

"ArthurJ" wrote:

A
1 10
2 #N/A
3 20
4 #N/A
5 =SumIf(A1:A4,"<NA")

Some cells in a column of numbers evaluate to #N/A. I would like to sum the
column but ignore the #N/A entries. Is there a way to do this WITHOUT
creating a separate criteria column? I have tried various versions of the
syntax in cell A5 above without success.

Thank you,
Art