Display only rows with matching search results from another column

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Welcome to the board Nunya

Just wondering, do you really want an extra sheet with the matching items?
Using a helper column in Sheet1 to mark matched items, and filtering with DataFilter returns what you want.

Try this...
In F3 (Sheet1) enter text "Helper"
Place this formula in cell F4 and copy down
=IFERROR(IF(MATCH(D4,Sheet2!$B$4:$B$10000,0)>0,"Yes",""),"")

With cursor anywhere inside the table \ click Data tab \ Filter (inserts dropdown arrows in row3)
In dropdown in cell F3 deselect blanks
Now only matched rows are visible

If you need a separate sheet let me know
- you will either need array formulas or VBA
- best to start with something that matches your real data structure
Q In your "real" datasheet is the first name in cell B4 (and first "info" in B4 in sheet2) ?
 
Upvote 0
This simpler formula in F4 copy also works :rolleyes:
=IF(COUNTIF(Sheet2!$B$4:$B$10000,D4)>0,"Yes","")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

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