xlookup
RH

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Xlookup

Xlookup

resolvedResolved · Low Priority · Version 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:

Quickly Adding New Worksheets

Want to place a new Excel worksheet before current worksheet. Use keystroke SHIFT+F11

View all Excel hints and tips


Server loaded in 0.06 secs.