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.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]123 Main Street Las Vegas, NV 88888[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Criteria[/TD]
[TD="align: center"]456 My Avenue Miami, Florida 55555[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]456 My Avenue Miami, Florida 55555[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Avenue[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]789 Their Boulevard, Houston Texas[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Florida[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


String I'll search are in A:A, Criteria desired C2&C3, Return find in D1
 
Last edited:
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

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