How to disable #N/A being displayed

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
propolisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CluskittCommented:
User the ISNA function:
IF(ISNA(D10*E10),0,D10*E10)
0
PaulNSWCommented:
you could use conditional formatting to change the cell text colour to white

use

=ISNA($cell$reference)
0
propolisAuthor Commented:
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
CluskittCommented:
Just replace F10. It has some formula, for example, =VLOOKUP(....). Just change it to:
=IF(ISNA(VLOOKUP(.....),0,VLOOKUP(.....))
0
Rory ArchibaldCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.