Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

xlookup

ResolvedVersion 365

Patrizia has attended:
Excel Advanced course

Xlookup

I have an excel file with two sheets, in first one there is a list of company names and related contract numbers, in second one there is another list of company names and related ID numbers so I have used Xlookup in first sheet and asked to copy ID number in matching company names (which are 3). However, only in two of them the ID is copied. How comes it does not come up in third match? It would be easier if I could attach the file but the formula I have created is the following:
=XLOOKUP(C96,Registered!C2:C9,Registered!A2:A9,"")
Thanks for your assistance
Patrizia

RE: Xlookup

Hi Patrizia,

Thank you for the forum question.

If a lookup and reference function cannot find the lookup value, then it is because it is not the same value.

Check if you have a blank space after one of the values.

To check if it is the same: If you, let us say, have the look up value in A1 and what is looking like the same value in the lookup array in C30. Select a blank cell and write =A1=C30. If the cell return false, it is not the same, and you need to find out why. Most of the time it is because of a space after the value.

I hope this makes sense.


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

RE: Xlookup

Hi Patrizia,

Thank you for the forum question.

If a lookup and reference function cannot find the lookup value, then it is because it is not the same value.

Check if you have a blank space after one of the values.

To check if it is the same: If you, let us say, have the look up value in A1 and what is looking like the same value in the lookup array in C30. Select a blank cell and write =A1=C30. If the cell return false, it is not the same, and you need to find out why. Most of the time it is because of a space after the value.

I hope this makes sense.


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

Mon 4 Jul 2022: Automatically marked as resolved.

Excel tip:

Navigate with keyboard without losing your active cell

If you like using your keyboard to scroll through your excel document, but want to keep your active cell the same, use the scroll lock, and then use your arrow keys to navigate around the document.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.