vlookup - how to not show #n/a as a value on graph?

tlyee

New Member
Joined
Oct 5, 2006
Messages
8
Hi,

I have this formula in my lookup sheet

=IF(COUNTIF($F$2:$H$20,C24),VLOOKUP(C24, $F$2:$H$20,3,FALSE), NA())

and then, another worksheet that contains graphs and a table that tie to the data in the lookup sheet.

Example of one of the cell. Lkup is name of the lookup sheet.
=IF(ISERROR(Lkup!K7),"",Lkup!K7)

In the worksheet of the graph, the cell will not show any value if there is nothing in the lookup sheet.

I have a table in the worksheet graph that shows the numbers that link to the lookup sheet. It isn't displaying any n/a value in my table. Down side is, I would like to display the value to the graphs. Right now it is showing all the #N/A in the graph.

How do I make them invisible on the graph??

Hope this is clear... :rolleyes: Please help. :)

Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
"Hope this is clear... "

Sorry, but wasn't to me. Care to try again, this time including some of the content, as well as the form of your problem.
 

Forum statistics

Threads
1,137,193
Messages
5,680,086
Members
419,880
Latest member
suarezprado

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
Top