Not have #N/A show up in cell

bottman6

New Member
Joined
Apr 14, 2008
Messages
35
Is there away to add to formula to when no value is there that it leave the cell blank and not give me #N/A
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
=if(iserror(yourformula),"",yourformula)

Something like that!
 
Upvote 0
To chip into this debate, using ISERROR in the format suggested by MOB is good and correct, but be aware it will correct for every error, not just #N/A.

This may create other issues in your model when it corrects for bad results inthe data set like #num or div/0.

applies to ISERR as well as ISERROR so instead try ISNA.

as you might guess it will only correct for #N/A errors.

regards
 
Upvote 0
  • =VLOOKUP(A12,$V$14:$W$18,2,FALSE)+VLOOKUP(C12,$V$14:$W$18,2,FALSE) returns number
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p> </o:p>
  • =SUM(H12,I12)*(IF(K12=0,0,(IF(K12=0,0,1)))) returns number
<o:p> </o:p>
  • =SUM(H12:I12)*K12 returns number
<o:p> </o:p>
  • =ROUNDUP(PRODUCT(0.05,N12),0) returns number
<o:p> </o:p>
  • =SUM(N12:O12) returns number
<o:p> </o:p>
  • =M12*L12*1.05 returns number
<o:p> </o:p>
  • =SUM(H12,I12)*J12*1.05 returns number
<o:p> </o:p>
  • =M12/100*X12/4*(IF(K12<1,0,1)) returns number
 
Upvote 0
Can you get away with:

Code:
=SUM(SUMIF($V$14:$V$18,A12,$W$14:$W$18),
         SUMIF($V$14:$V$18,C12,$W$14:$W$18))


  • =VLOOKUP(A12,$V$14:$W$18,2,FALSE)+VLOOKUP(C12,$V$14:$W$18,2,FALSE) returns number
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
  • =SUM(H12,I12)*(IF(K12=0,0,(IF(K12=0,0,1)))) returns number
<o:p></o:p>
  • =SUM(H12:I12)*K12 returns number
<o:p></o:p>
  • =ROUNDUP(PRODUCT(0.05,N12),0) returns number
<o:p></o:p>
  • =SUM(N12:O12) returns number
<o:p></o:p>
  • =M12*L12*1.05 returns number
<o:p></o:p>
  • =SUM(H12,I12)*J12*1.05 returns number
<o:p></o:p>
  • =M12/100*X12/4*(IF(K12<1,0,1)) returns number
 
Upvote 0
can i get away with that formula for all my formula? no these are the formulas that work for my sheet.
 
Upvote 0
also sorry to ask is there away to make it zero istead of blank, or what i would prefer is if it blank make the cell red, or have a red border around it?
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top