Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0 instead of N/A
I am using the formula: =VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,FALSE)
I need this to return 0 rather than n/a when no exact match is found. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0 instead of N/A
Try the below which handle the error using ISNA()
=IF(ISNA(VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,0)),0, VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,0)) If this post helps click Yes --------------- Jacob Skaria "amc62" wrote: I am using the formula: =VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,FALSE) I need this to return 0 rather than n/a when no exact match is found. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return 0 instead of N/A
Another possibility:
=IF(COUNTIF('ftg pivot table'!A2:A2847,P8),VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,0),0) -- Biff Microsoft Excel MVP "amc62" wrote in message ... I am using the formula: =VLOOKUP(P8,'ftg pivot table'!A2:B2847,2,FALSE) I need this to return 0 rather than n/a when no exact match is found. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Return date if in range, else return blank | Excel Worksheet Functions | |||
If return | Excel Discussion (Misc queries) | |||
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null | Excel Discussion (Misc queries) | |||
LOOKUP and return the column heading for IF/THEN return for False | Excel Discussion (Misc queries) | |||
check if reference exists, then return its value or return 0 | Excel Worksheet Functions |