Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a master list of data and a shorter list (subset of the master) of
additional data. When I use vlookup including the FALSE argument, I get #N/A for all data lines that don't exist in the subset list. When I use the TRUE argument, I get incorrect results. Both lists are sorted in the same order. The lookup value is alphanumeric. How can I use a vlookup function and not get an #N/A result? Once I get an #N/A result, I can't do any other mathematical functions on that data. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
=IF(ISNA(MATCH(A1,J:J,FALSE)),"",VLOOKUP(A1,J:K,2, FALSE)) In article , brb wrote: I have a master list of data and a shorter list (subset of the master) of additional data. When I use vlookup including the FALSE argument, I get #N/A for all data lines that don't exist in the subset list. When I use the TRUE argument, I get incorrect results. Both lists are sorted in the same order. The lookup value is alphanumeric. How can I use a vlookup function and not get an #N/A result? Once I get an #N/A result, I can't do any other mathematical functions on that data. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You could try something like this:
=IF(ISNA(VLOOKUP(.....)),"",VLOOKUP(.....)) This first checks to see if your VLOOKUP formula returns an #N/A error, and if so returns a blank. Otherwise, it returns the result of your VLOOKUP formula. HTH, Elkar "brb" wrote: I have a master list of data and a shorter list (subset of the master) of additional data. When I use vlookup including the FALSE argument, I get #N/A for all data lines that don't exist in the subset list. When I use the TRUE argument, I get incorrect results. Both lists are sorted in the same order. The lookup value is alphanumeric. How can I use a vlookup function and not get an #N/A result? Once I get an #N/A result, I can't do any other mathematical functions on that data. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If there's no match, what do you want to see?
Make the cell look blank? =if(isna(vlookup(...)),"",vlookup(...)) return a 0? =if(isna(vlookup(...)),0,vlookup(...)) brb wrote: I have a master list of data and a shorter list (subset of the master) of additional data. When I use vlookup including the FALSE argument, I get #N/A for all data lines that don't exist in the subset list. When I use the TRUE argument, I get incorrect results. Both lists are sorted in the same order. The lookup value is alphanumeric. How can I use a vlookup function and not get an #N/A result? Once I get an #N/A result, I can't do any other mathematical functions on that data. -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(COUNTIF(.....),VLOOKUP(.....),"")
"brb" wrote: I have a master list of data and a shorter list (subset of the master) of additional data. When I use vlookup including the FALSE argument, I get #N/A for all data lines that don't exist in the subset list. When I use the TRUE argument, I get incorrect results. Both lists are sorted in the same order. The lookup value is alphanumeric. How can I use a vlookup function and not get an #N/A result? Once I get an #N/A result, I can't do any other mathematical functions on that data. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup - more than one result | Excel Worksheet Functions | |||
vlookup shows result one cell above the expected result | Excel Worksheet Functions | |||
VLOOKUP - Can't see result | Excel Worksheet Functions | |||
vlookup based on random result returns incorrect result | Excel Worksheet Functions | |||
vlookup returning a n/a result | Excel Worksheet Functions |