A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to set a formula if the value is with #N/A



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2010, 03:35 AM posted to microsoft.public.excel.worksheet.functions
lee-sc
external usenet poster
 
Posts: 4
Default How to set a formula if the value is with #N/A

Example :

E/no salary Bonus total
001 1000 #N/A
002 200 100
003 2000 #N/A

How to set a formula for each worker in total column (Salary & Bonus)when
the value are set as #N/A. How to convert #N/A to 0 for sum formula.

Please advise.

Thanks.
  #2  
Old March 15th, 2010, 03:41 AM posted to microsoft.public.excel.worksheet.functions
Corey[_4_]
external usenet poster
 
Posts: 8
Default How to set a formula if the value is with #N/A

D2=IF(C2"#N/A",C2+B2,B2)
Assuming the Bonus values are in Column C and Salary amounts are in Column
B.
  #3  
Old March 15th, 2010, 03:42 AM posted to microsoft.public.excel.worksheet.functions
Dennis Tucker
external usenet poster
 
Posts: 67
Default How to set a formula if the value is with #N/A

A Find & Replace?



"lee-sc" wrote in message
...
Example :

E/no salary Bonus total
001 1000 #N/A
002 200 100
003 2000 #N/A

How to set a formula for each worker in total column (Salary & Bonus)when
the value are set as #N/A. How to convert #N/A to 0 for sum formula.

Please advise.

Thanks.


  #4  
Old March 15th, 2010, 04:36 AM posted to microsoft.public.excel.worksheet.functions
Fred Smith[_4_]
external usenet poster
 
Posts: 2,386
Default How to set a formula if the value is with #N/A

You could use:
=sum(b2:c2)

as sum will ignore text.

However if the #N/A you are displaying is the result of an Excel formula,
then Sum won't work. In this case, you are better off to avoid the #N/As in
the first place, typically done with:
=if(isna(yourformula),0,yourformula)

Regards,
Fred

"lee-sc" wrote in message
...
Example :

E/no salary Bonus total
001 1000 #N/A
002 200 100
003 2000 #N/A

How to set a formula for each worker in total column (Salary & Bonus)when
the value are set as #N/A. How to convert #N/A to 0 for sum formula.

Please advise.

Thanks.


  #5  
Old March 15th, 2010, 05:17 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default How to set a formula if the value is with #N/A

Hi,

Try this

=sumif(B2:C2,"=-9.999E307",B2:C2)

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"lee-sc" wrote in message
...
Example :

E/no salary Bonus total
001 1000 #N/A
002 200 100
003 2000 #N/A

How to set a formula for each worker in total column (Salary & Bonus)when
the value are set as #N/A. How to convert #N/A to 0 for sum formula.

Please advise.

Thanks.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:28 PM.


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