Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
carl
 
Posts: n/a
Default Suming 2 cells if 1 = #N/A

Is there a way to sum 2 cells but if one of the cells is #N/A, to ignore the
#N/A ?

Thank you in advance
  #2   Report Post  
bj
 
Posts: n/a
Default

try
=if(iserror(A1),0,A1)+if(iserror(B1),0,B1)

"carl" wrote:

Is there a way to sum 2 cells but if one of the cells is #N/A, to ignore the
#N/A ?

Thank you in advance

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Or maybe even

=SUMIF(A1:B1,"<#N/A")

of course the cells have to be adjoining


Regards,

Peo Sjoblom

"bj" wrote:

try
=if(iserror(A1),0,A1)+if(iserror(B1),0,B1)

"carl" wrote:

Is there a way to sum 2 cells but if one of the cells is #N/A, to ignore the
#N/A ?

Thank you in advance

  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

carl wrote:
Is there a way to sum 2 cells but if one of the cells is #N/A, to ignore the
#N/A ?

Thank you in advance


=SUMIF(A2:B2,"<#N/A")
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
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
To safety merge cells without data destroyed, and smart unmerge! Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:17 AM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


All times are GMT +1. The time now is 07:31 AM.

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"