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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |