Search a table and return rows based on criteria of 2 cells

slugwisper

New Member
Joined
Aug 20, 2018
Messages
3
Hello!

I'm looking to search a table like the the one below. In a separate sheet in the workbook, I'd like to have the "Subject" as multiple columns and list underneath it all of the titles that match the subject and have the language in english. I tried working a combination of index and match but i was getting entire rows of data instead of just the title. I would greatly appreciate any help!

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
TitleLanguageSubject
Idiomsenglishlanguage-arts
Refranesspanishlanguage-arts
Name That Character Traitenglishlanguage-arts
Nombra el rasgo del personajespanishlanguage-arts
Telling Storiesenglishlanguage-arts
Contar una historiaspanishlanguage-arts
Todo sobre la Energíaspanishphysical-science-and-engineering
All About Energyenglishphysical-science-and-engineering
Build an Epic Sandcastle!englishphysical-science-and-engineering
Construye un castillo de arena épicospanishphysical-science-and-engineering
Just Press Print!englishphysical-science-and-engineering
Solo presiona imprimirspanishphysical-science-and-engineering
Making Better Bubblesenglishphysical-science-and-engineering
Címo hacer mejores burbujasspanishphysical-science-and-engineering
Making Crayonsenglishphysical-science-and-engineering

<colgroup><col style="width: 100px"><col width="100"><col width="182"></colgroup><tbody>
</tbody>


Want to return:

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
physical-science-and-engineeringlanguage-arts
All About EnergyIdioms
Build an Epic Sandcastle!Name That Character Trait
Just Press Print!Telling Stories

<colgroup><col style="width: 186px"><col width="145"></colgroup><tbody>
</tbody>
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
How about
In B1 copied right
=IFERROR(INDEX(Sheet1!$C$2:$C$16,MATCH(0,INDEX(COUNTIF($A$1:A$1,Sheet1!$C$2:$C$16),0),0)),"")
and in B2 copied down & across
=IFERROR(INDEX(Sheet1!$A$2:$A$16,AGGREGATE(15,6,(ROW(Sheet1!$A$2:$A$16)-ROW(Sheet1!$A$2)+1)/((Sheet1!$B$2:$B$16="english")*(Sheet1!$C$2:$C$16=B$1)),ROWS($A$1:$A1))),"")
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,858
Members
449,051
Latest member
excelquestion515

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