Forum Discussion

cc2431's avatar
cc2431
Copper Contributor
Jan 27, 2023
Solved

edit cells to add trailing space

I have numbers in column. In order for the VLOOKUP to work, there needs to be a space at then end of the numbers in the column. Since I am working with 5k lines of data, individually updating them is...
  • HansVogelaar's avatar
    HansVogelaar
    Jan 27, 2023

    cc2431 

    So the lookup value has a trailing space but the first column of the lookup range does not?

    If that is correct:

    Let's say your formula looks like =VLOOKUP(B2, lookup_range, 2, FALSE)

    You can change that to =VLOOKUP(--B2, lookup_range, 2, FALSE)

    That should take care of the trailing space...

Resources