A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help With #n/a From Vlookup



 
 
Thread Tools Display Modes
  #1  
Old January 11th, 2006, 11:35 AM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default Help With #n/a From Vlookup


Hi,
Can anyone help me please?
I am doing a VLOOKUP against a Pivot Table which works fine, although
if the value does not appear I get the Classic "#N/A" as a result!
The Formula I'm using is VLOOKUP("total",'UK'!D:H,2,FALSE) but if
doesnt appear how can I get it to return a "0".

Please can anybody help me?
Thanks
Mark


--
certain_death
------------------------------------------------------------------------
certain_death's Profile: http://www.excelforum.com/member.php...o&userid=24561
View this thread: http://www.excelforum.com/showthread...hreadid=500095

  #2  
Old January 11th, 2006, 01:12 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default Help With #n/a From Vlookup

You have to make it check for errors, then return 0 if an error.

=IF(ISERROR(VLOOKUP("total",'UK'!D:H,2,FALSE)),0,( VLOOKUP("total",'UK'!D:H,2,FALSE))
or
=IF(ISNA(VLOOKUP("total",'UK'!D:H,2,FALSE)),0,(VLO OKUP("total",'UK'!D:H,2,FALSE))
you can also make it return A blank by changing the 0 to ""

HTH
JG

"certain_death" wrote:


Hi,
Can anyone help me please?
I am doing a VLOOKUP against a Pivot Table which works fine, although
if the value does not appear I get the Classic "#N/A" as a result!
The Formula I'm using is VLOOKUP("total",'UK'!D:H,2,FALSE) but if
doesnt appear how can I get it to return a "0".

Please can anybody help me?
Thanks
Mark


--
certain_death
------------------------------------------------------------------------
certain_death's Profile: http://www.excelforum.com/member.php...o&userid=24561
View this thread: http://www.excelforum.com/showthread...hreadid=500095


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup data hidden within worksheet Worksheet Functions 0 January 26th, 2005 12:09 PM
Insert Vlookup into table_array of Vlookup with named range Denise Worksheet Functions 1 January 24th, 2005 10:49 PM
VLOOKUP and IF statements JAnderson General Discussion 2 August 4th, 2004 11:39 PM
VLookup Help Robert Worksheet Functions 5 December 3rd, 2003 12:57 AM


All times are GMT +1. The time now is 07:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.