Would anyone know how to return only the first several digits of a vlookup value? I'm trying to save space by shrinking the columns and only having a portion of the lookup value.
For example, my source data shows the table below. I would like to just pull in "Jones, Indiana". I've tried variations of LEN and TRIM nested with the VLOOKUP, but can't seem to get it right. Thanks for any ideas!
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Employee ID[/TD]
[TD]Employee Name[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Jones, Indiana Junior the Fourth Esquire[/TD]
[/TR]
</tbody>[/TABLE]
For example, my source data shows the table below. I would like to just pull in "Jones, Indiana". I've tried variations of LEN and TRIM nested with the VLOOKUP, but can't seem to get it right. Thanks for any ideas!
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Employee ID[/TD]
[TD]Employee Name[/TD]
[/TR]
[TR]
[TD]123456[/TD]
[TD]Jones, Indiana Junior the Fourth Esquire[/TD]
[/TR]
</tbody>[/TABLE]