Forum Discussion
fyogaff
Apr 08, 2024Copper Contributor
If and V lookup help
Hi, I am trying to get the formula to return a space if nothing is contained within my 2nd table (tblPersonnelInfo). What am I doing wrong? Here is my data & formula=IF([@NAME]="","",IFERROR(VLOOKU...
- Apr 09, 2024
Try this:
=IF([@NAME]="","",LET(v,IFERROR(VLOOKUP([@NAME],tblPersonnelInfo,5,FALSE),""),IF(v="","",v)))
fyogaff
Apr 09, 2024Copper Contributor
I don't get an error but I don't want the 0 to appear if no email has been entered in my table. I've attached a sample workbook.
thanks for looking at it.
HansVogelaar
Apr 09, 2024MVP
Try this:
=IF([@NAME]="","",LET(v,IFERROR(VLOOKUP([@NAME],tblPersonnelInfo,5,FALSE),""),IF(v="","",v)))
- fyogaffApr 09, 2024Copper ContributorThank you so much, that worked. I don't really know what this formula is but it worked 🙂