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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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