Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
I want to say if a vlookup returns a value put that value, and if it returns #N/A, then put "CLOSED" Can this be done? Natalie |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=if(isna(vlookupformula),"closed",vlookupformula)
If this post helps click Yes --------------- Jacob Skaria "Natalie" wrote: Hi I want to say if a vlookup returns a value put that value, and if it returns #N/A, then put "CLOSED" Can this be done? Natalie |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
it return N/A because one of the cell is empty so change the cell that is empty for your cell in my formula =if(A2="","CLOSED",your Vlookup formula) if you provide your formula indicating which field is blank I will be able to help further "Natalie" wrote: Hi I want to say if a vlookup returns a value put that value, and if it returns #N/A, then put "CLOSED" Can this be done? Natalie |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Natalie,
You can use ISNA or ISERROR As an example, where you have your Vlookup =VLOOKUP(A1,X:Y,2,FALSE) replace with =IF(ISNA(VLOOKUP(A1,X:Y,2,FALSE)),"CLOSED",VLOOKUP (A1,X:Y,2,FALSE)) or =IF(ISERROR(VLOOKUP(A1,X:Y,2,FALSE)),"CLOSED",VLOO KUP(A1,X:Y,2,FALSE)) Alan -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...tions/200907/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |