I have formula which returns a #NA which is fine since sometimes the value i am looking up may not be found.
=IF(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE)="","not started",IF(AND(NOT(ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE))),ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$L,8,FALSE))),"started","completed"))
For presentation sake i want it to return "NA" instead of "#NA" when this happens. I tried using ISNA and IF to give me what i want. When i add the ISNA to the above formula i get the value "TRUE". However, when i include the IF function it gives me the error "The formula u typed in contains an error" message and highlights the second CONCATENATE in the formula. I am not sure whether it is a simple brackets error or something else.
What i have been trying(left the if statement is false blank for easier reading):
=IF(ISNA(IF(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE)="","not started",IF(AND(NOT(ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE))),ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$L,8,FALSE))),"started","completed"))),"NA",)
Thank You!
=IF(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE)="","not started",IF(AND(NOT(ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE))),ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$L,8,FALSE))),"started","completed"))
For presentation sake i want it to return "NA" instead of "#NA" when this happens. I tried using ISNA and IF to give me what i want. When i add the ISNA to the above formula i get the value "TRUE". However, when i include the IF function it gives me the error "The formula u typed in contains an error" message and highlights the second CONCATENATE in the formula. I am not sure whether it is a simple brackets error or something else.
What i have been trying(left the if statement is false blank for easier reading):
=IF(ISNA(IF(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE)="","not started",IF(AND(NOT(ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$H,4,FALSE))),ISBLANK(VLOOKUP(CONCATENATE($B6,G$1),'3a. Tier1 Msg'!$E:$L,8,FALSE))),"started","completed"))),"NA",)
Thank You!
Last edited: