#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default SUMIF excluding #N/A

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default SUMIF excluding #N/A

My solution would be to get rid of the #N/As. For example, if they're a
result of a Vlookup, use If to check for it, as in:
=if(isna(vlookup(...)),0,vlookup(...))

Regards,
Fred.

"Scott A" wrote in message
...
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Min Excluding Value kazoo Excel Discussion (Misc queries) 8 March 4th 08 08:36 PM
Excluding subtotals from SUMIF function Graeme Excel Worksheet Functions 5 June 21st 07 02:26 PM
Excluding Zero's from Average (SumIF / CountIF) Alex Excel Worksheet Functions 5 March 28th 06 07:27 PM
excluding #N/A sydolly Excel Discussion (Misc queries) 2 September 13th 05 12:59 AM
MIN excluding 0s Thore Excel Worksheet Functions 3 December 20th 04 12:09 PM


All times are GMT +1. The time now is 12:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"