Partially match 2nd or 3rd occurance

fari1

Active Member
Joined
May 29, 2011
Messages
362
I've a formula which matches 2nd or 3rd and so on occurances of a text string in column A of sheet1, here's the formula
Code:
=SMALL(IF(TRIM(sheet2!A1:A1500)=TRIM($F$1),ROW(sheet2!A1:A1500)),4)

this formula works great,when it finds the exact match,but it fails,when text string has something added to it, e.g my text string in F1 is united bank limited, this formula will be great when exact match is found,but it is united bank ltd., it wont give me the results,similarly like the united bank ltd etc.
i want this formula to work flexibly for me to match partially the text string.
partiall match formula is
Code:
=MATCH("*"&E1&"*",$A$1:$A$1000,0)
and i'm unable to merge them to make them use for me
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
It's unlikely that a formula can be created that will foresee every permutation of a name that a human might enter.

Examples for "Internal Revenue Service"
IRS
I.R.S.
I R S
Intl Rev Svc
Internal Rev Svc.
etc

I would concentrate on standardizing entered data using data validation or any other means to ensure that the same value is ALWAYS entered for the same item.
 
Upvote 0
i've suggestion why not use left formula for the text string to find and also in the range where this string has to be found, is that possible
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,712
Members
452,939
Latest member
WCrawford

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