v look up

Forum home » Delegate support and help forum » Microsoft Excel Training and help » V Look Up

V Look Up

resolvedResolved · Medium Priority · Version 365

V Look Up

When using V lookup on Excel, I am trying to match an inventory however when using V lookup it will not match all barcodes even though they are there to be matched. I think it is to do with the formatting of the cells are different but when changing them to the same formatting it will still not find them with V look up. Any help would be great please.

RE: V Look Up

Hi Stephanie,

Thank you for the forum question.

Your problem is probably spaces or hidden characters.

Try to add the trim and clean function to your Vlookup.

=Vlookup(Trim(clean(A2)), Table array, Column number, range lookup)

I just added A2 to my example you need of course to use you cell reference.

Let me know if this do the job.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Generating Random Numbers

To generate a random number in Excel use the = RAND() function.

The value returned will always be between 0 and 1. To convert this to some other random value, you will need to multiply the result by the highest number you want to consider. For example, if you wanted a random number between 1 and 25, you could use the following code line:
= INT(25 * RAND()+ 1)

Since RAND() will always returns a value between 0 and 1 (but never 1 itself), multiplying what it returns by 25 and then using the Integer function INT on that result will return a whole number between 0 and 24.

Finally, 1 is added to this result, so that x will be equal to a number between 1 and 25, inclusive

View all Excel hints and tips


Server loaded in 0.13 secs.