find row that contains text

grezmo

New Member
Joined
Oct 29, 2015
Messages
2
Hi,

I'm struggling with the final part to a spreadsheet. Can't work out how to upload the file so hopefully this will make sense.

On sheet1:
Column A Column B
IFTPSTN Fault Down 40mbps Up 10mbps
IFTFault found at Line. Please check Sync
ABFault found at Line. Please check sync
GGStart faulting at PCP.
LKNotify control office. Line 7 - 18/12/2014 13:42

<tbody>
</tbody>

On sheet2:
Column AColumn B
PSTN FaultRED
Fault found at line.AMBER
Start faulting at PCPGREEN
Notify control office RED

<tbody>
</tbody>

So my dilemma lies in:

I'm trying to get Sheet1!B2 to be found in Sheet2!A:A but the text needs to be a contains. As the text length changes from fault to fault I can't trim it. I want it to give me the row number that it finds the text in.

I've tried index, match, vlookup, find etc. but have hit a wall as the text doesn't match perfectly.

Thanks for your help in advance

Graham
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
If you can sort the data on Sheet 2 in Ascending order you can use the MATCH function with the match type = 1.

=MATCH(B1,Sheet2!$A$1:$A$4,1)
 
Upvote 0

Forum statistics

Threads
1,216,031
Messages
6,128,422
Members
449,450
Latest member
gunars

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