View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham JLatham is offline
external usenet poster
 
Posts: 3,365
Default SUMIF excluding #N/A

I know it looks odd, but this appears to work:

=SUMIF(A1,"<#N/A") + SUMIF(A3,"<#N/A") + SUMIF(B5,"<#N/A") +
SUMIF(C20,"<#N/A")

"Scott A" wrote:

I am trying to add different cells located in different worksheets (tabs)
within the same workbook. I know I can use =SUMIF(A1:A5,<#N/A) without
error.

The problem I am having is trying to add different cells not grouped
together while using SUMIF. Example, =SUMIF(A1+A3+B5+C20, <#N/A). If B5
=#N/A for instance, then my SUMIF will not work.

Any solutions?

Thank you in advance for help.