Solved

Error #N/A problem

Posted on 2013-11-22
6
141 Views
Last Modified: 2013-11-22
Folks,
The below code is OK. However if I have no value in cell B2 I get the error #N/A in the range A4:A12. I'm having a problem not showing that error with IF(ISERROR and I may not be doing that correctly, if it is what I need not to show the #N/A error which is my objective.
=IF(HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)=0,"",HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE))

Open in new window

0
Comment
Question by:Frank Freese
  • 3
  • 3
6 Comments
 
LVL 4

Expert Comment

by:yuppydu
Comment Utility
for #N/A you should use ISNA instead of ISERROR
0
 
LVL 4

Accepted Solution

by:
yuppydu earned 500 total points
Comment Utility
or you can simply add an IF(b2="";"";IF(HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)=0,"",HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)))
0
 

Author Comment

by:Frank Freese
Comment Utility
You suggestion works "almost" - if you will repost
IF(b2="";"";IF(HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)=0,"",HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)))
to
IF(b2="","",IF(HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)=0,"",HLOOKUP($B$2,$J$3:$M$12,ROW()-2,FALSE)))

without the ; I can award you points. I do not want to post an incorrect solution.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Frank Freese
Comment Utility
yuppydu,
Please repost with changes so I can award you points.
Thanks you
0
 
LVL 4

Expert Comment

by:yuppydu
Comment Utility
Sorry ; or , is just an argument separator. I didn't notice your system takes , therefore substitute ; with ,
0
 

Author Closing Comment

by:Frank Freese
Comment Utility
thank you
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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,…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now