Can a string of data be returned when you match 2 criteria?

HockeyDiablo

Board Regular
Joined
Apr 1, 2016
Messages
182
Just curious if a string of data can be returned if a set of criteria is met:
Here is where I am going with this.

ABCD
1123 Main Street Las Vegas, NV 88888Criteria456 My Avenue Miami, Florida 55555
2456 My Avenue Miami, Florida 55555Avenue
3789 Their Boulevard, Houston TexasFlorida

<tbody>
</tbody>


String I'll search are in A:A, Criteria desired C2&C3, Return find in D1
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Code:
=IFERROR(INDEX($A$1:$A$5, SMALL(IF(ISNUMBER(SEARCH($C$2&" "&$C$3, $A$1:$A$5)), MATCH(ROW($A$1:$A$5), ROW($A$1:$A$5))), ROW(A1))),"No Match")

Returns some data but not all...
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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