Forum Discussion
VLookup help
- 9 years ago
Hi Bilal_321321,
the Lookupvalue formula returns blank if it doesn't have a match in the lookup (lookpvalue formula) try changing your formula to this:
Column = SWITCH ( TRUE (), ISBLANK ( LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) ), "NoGroup", LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) )Regards,
MFelix
Hi Bilal_321321,
You need to do a formula with the following sintax:
Column =
IFERROR (
LOOKUPVALUE ( Table[Result], Table[Search_Value], "Value_to_Search" ),
"No Group"
)
Regards,
MFelix
Hi MFelix,
I must be doing something wrong, the LOOKUPVALUE is working but for instances it's not got a value the "No Group" is not populating. This is the formula i have created so far:
Column = IFERROR ( LOOKUPVALUE('Report 2'[Group],'Report 2'[GroupID],'Report1'[GroupID]) , "No Group")
The 'Report 2'[Group] is the table and column I'm looking at, 'Report 2'[GroupID] is the linked field I am searching based on 'Report'[GroupID] and the "No Group" should appear instead of blanks.
I'm probably making an obvious mistake but can't see it.
Thanks
Bilal
- MFelix9 years agoSuper User
Hi Bilal_321321,
the Lookupvalue formula returns blank if it doesn't have a match in the lookup (lookpvalue formula) try changing your formula to this:
Column = SWITCH ( TRUE (), ISBLANK ( LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) ), "NoGroup", LOOKUPVALUE ( Report2[Group], Report2[GroupID], Report1[GroupID] ) )Regards,
MFelix
- Bilal_3213219 years agoHelper I
Amazing!!! Thanks So much for your help MFelix. It has worked perfectly