I need help using a vlookup to match ‘most’ of a number. For example, Number 1234/1 to look for Number 1234

Noswen869

New Member
Joined
Jul 18, 2023
Messages
11
Office Version
  1. 2021
Platform
  1. Windows
I know how to use the vlookup to use Number 1234 to search for Number 1234/1 but I can’t figure out how to do it the other way around

For context I am downloading data which will contain a series of Numbers in one column and in the column to the right there will contain dates

I want these dates to populate onto my main tab however if he Numbers do not quite match. See example in title

Any help would be greatly appreciated
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the MrExcel board!

Is this what you are after?
If not, please give us some representative sample data and the expected results with XL2BB so we can easily copy for testing.

23 07 18.xlsm
ABCDEF
1
21234/119/07/2023111113/07/2023
3567815/07/2023589614/07/2023
423518/07/2023567815/07/2023
5123658/8917/07/20231236588916/07/2023
612365817/07/2023
723518/07/2023
8123419/07/2023
9
lookup
Cell Formulas
RangeFormula
B2:B5B2=VLOOKUP(LEFT(A2,FIND("/",A2&"/")-1)+0,E$2:F$8,2,0)
 
Upvote 0
Welcome to the MrExcel board!

Is this what you are after?
If not, please give us some representative sample data and the expected results with XL2BB so we can easily copy for testing.

23 07 18.xlsm
ABCDEF
1
21234/119/07/2023111113/07/2023
3567815/07/2023589614/07/2023
423518/07/2023567815/07/2023
5123658/8917/07/20231236588916/07/2023
612365817/07/2023
723518/07/2023
8123419/07/2023
9
lookup
Cell Formulas
RangeFormula
B2:B5B2=VLOOKUP(LEFT(A2,FIND("/",A2&"/")-1)+0,E$2:F$8,2,0)
Thanks Peter - struggling to get the add on to work. Will try and figure it out and get back to you
 
Upvote 0
You have to select the range that you want to show before clicking Mini Sheet
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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