Solved

How to disable #N/A being displayed

Posted on 2012-03-22
5
228 Views
Last Modified: 2012-06-27
Hi,

In cell B10 a #N/A is being displayed because cells F10 has now value (0)

F10 is a result of multiplying D10 with E10

How do i not show the #N/A

Thanks for any help
experts-1d.xlsx
0
Comment
Question by:propolis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 18

Expert Comment

by:Cluskitt
ID: 37751394
User the ISNA function:
IF(ISNA(D10*E10),0,D10*E10)
0
 
LVL 7

Expert Comment

by:PaulNSW
ID: 37751409
you could use conditional formatting to change the cell text colour to white

use

=ISNA($cell$reference)
0
 

Author Comment

by:propolis
ID: 37751604
Hi,

Not sure how to implement this:

F10 has already a calculation in it to which cell B10 does a vlookup based on the value f10

So f10 is:   0  then the vlookup results is #N/A

Please advice and thanks for your help
0
 
LVL 18

Expert Comment

by:Cluskitt
ID: 37751608
Just replace F10. It has some formula, for example, =VLOOKUP(....). Just change it to:
=IF(ISNA(VLOOKUP(.....),0,VLOOKUP(.....))
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 37751609
You need to change the formula in B10 (and the cells above) to:
=IFERROR(VLOOKUP(F10,Sheet2!$A$2:$C$10,3,FALSE),"")

for example. Note: you will need to disable the data validation temporarily to make the change.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question