Trying to lookup a number in a column

Louis1983

New Member
Joined
Sep 20, 2017
Messages
8
Good day,

I am looking for a formula to look for a partial number within a column on a different sheet.

Some of the numbers does contain letters for example H1007 or S0436, but they typed it in as 1007 and 436. The only other problem is the numbers are within a description/sentence.

Please can anyone assist.

Thanks
Louis
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
you can simply use ISNUMBER function to know if there are any letters in a cell.

for e.g. =isnumber(A1)

if the output is TRUE it means no letters are there in the cell and vice versa.
 
Upvote 0
Hi

the description for example: VEHICLE H1007 STUCK WITH OUT DIESEL, but the h1007 is incorrect as the correct number is JTH1007. But sometimes the vehicle in description does not have a letter infront of it ie 1007. Which formula will be more effective to look for 1007 and return JTH1007.

Regards
Louis
 
Upvote 0
ok,

in a1 "VEHICLE H1007 STUCK WITH OUT DIESEL"

in f1:g1 1007 & JTH1007

in c1 =VLOOKUP(MID(A1,FIND("1007",A1),4),F:G,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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