Vlookup number where number in the

JV0710

Active Member
Joined
Oct 26, 2006
Messages
429
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Good Day

Please can I get help with the following query

From a previous thread that was solved by @Peter_SSs I am trying to lookup a number and return a name (taking into account that some of the numbers may be formatted as text).
The extra complication that I have is that some of the numbers can have leading Zero's.

In the pic attached : I am showing that I can find the "Supplier Number Name" where in column B the numbers have no leading zero's but I am unable to work out how to manage where there are leading zero's in column B

Hope this makes sense

Thanks very much in advance

Past thread reference:

1664453772043.png
 

Attachments

  • Peter_SSs.PNG
    Peter_SSs.PNG
    16.6 KB · Views: 4
  • 1664453136746.png
    1664453136746.png
    20.8 KB · Views: 3
Last edited by a moderator:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try

Excel Formula:
=XLOOKUP(I7,B6:B18+0,C6:C18)
 
Upvote 0
Apologies for posting a duplicate thread. It was not done intentionally. I was trying to edit the thread Title and it somehow posted as a new thread. I did not realise that it was a duplicate until I posted it
 
Upvote 0
Hi

maybe putting your formula inside
Excel Formula:
abs(vlookup(trim(I7)&"",trim(B6:C18)&"",2,0))
will help?
 
Upvote 0
Thanks very much Peter . . . your xlookup solution works great. For interest and my learning - Is there a way to solve if the user does not have office 365 and cannot use Xlookup
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,246
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top