Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default ignore #N/A in a sum?

I have a worksheett that has many #N/A's where a matching formula brought
over data. It there is no match I get another N/A's. Thats ok, but I need
to sum accross the rows and I don't want to remove the formula.

I am adding three columns +F160+G160-H160

Is there a formula I can use? Or do I really need to delete all the N/A's.
( I will just have to put them back later if I do).


Thanks,


Todd
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default ignore #N/A in a sum?

I am adding three columns +F160+G160-H160

Doesn't look like you're adding H160?

=SUMIF(F160:H160,"<#N/A")

Biff

"Todd" wrote in message
...
I have a worksheett that has many #N/A's where a matching formula brought
over data. It there is no match I get another N/A's. Thats ok, but I
need
to sum accross the rows and I don't want to remove the formula.

I am adding three columns +F160+G160-H160

Is there a formula I can use? Or do I really need to delete all the
N/A's.
( I will just have to put them back later if I do).


Thanks,


Todd



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default ignore #N/A in a sum?

=if(isnumber(f160),f160,0)
+if(isnumber(g160),g160,0)
-if(isnumber(h160),h160,0)

Is one way.



Todd wrote:

I have a worksheett that has many #N/A's where a matching formula brought
over data. It there is no match I get another N/A's. Thats ok, but I need
to sum accross the rows and I don't want to remove the formula.

I am adding three columns +F160+G160-H160

Is there a formula I can use? Or do I really need to delete all the N/A's.
( I will just have to put them back later if I do).

Thanks,

Todd


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default ignore #N/A in a sum?

Todd

Why have you many cells with #N/A's? Vlookups with no data or incorrect data?

Trap for them in the formulas that create them, not in the SUM formula.

=IF(ISNA(VLOOKUP(D1,$B$1:$C$29,2,FALSE)),"",VLOOKU P(D1,$B$1:$C$29,2,FALSE))


Gord Dibben MS Excel MVP

On Tue, 5 Sep 2006 13:38:01 -0700, Todd wrote:

I have a worksheett that has many #N/A's where a matching formula brought
over data. It there is no match I get another N/A's. Thats ok, but I need
to sum accross the rows and I don't want to remove the formula.

I am adding three columns +F160+G160-H160

Is there a formula I can use? Or do I really need to delete all the N/A's.
( I will just have to put them back later if I do).


Thanks,


Todd


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
Ignore Text when calculating time DaleP1 Excel Discussion (Misc queries) 1 March 16th 06 11:58 PM
Problems with Ignore Other Applications Ken Shaffer Excel Discussion (Misc queries) 0 December 15th 05 08:44 PM
Ignore N/A values with an area chart SPeterson Charts and Charting in Excel 1 November 14th 05 04:14 PM
Ignore Blanks in Data Validation Ricky Excel Worksheet Functions 9 July 7th 05 08:24 PM
How do I ignore newline character/carriage return while importing Achal Excel Discussion (Misc queries) 6 March 24th 05 02:24 AM


All times are GMT +1. The time now is 01:50 PM.

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

About Us

"It's about Microsoft Excel"