searchable cell

jimmydc716

New Member
Joined
Feb 1, 2018
Messages
12
I want to put a value in one cell and have it display all rows from a different sheet that contains that value. for example if i have one data sheet and i type in "dave" it will search that entire sheet and display all rows associated with the word "dave"
 

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
i used vlookup and it will only search the left most column what i want is in the 6th column.

You can use INDEX/MATCH to search any column for the lookup value instead of being limited to the left column. I have a workbook similar to what you are trying to do. I use sheet 1 with a lookup cell to pull over information for tax codes stored on sheet 2.

The tedious part is making sure you put the lookup formula in all the cells that you want data returned to. Then, with multiple rows, you would have to drag the formulas down to accommodate the max potential rows, with some tweaks to pull each individual row of course.

As Aladin requested though, please post some data so we can better assist you.
 
Upvote 0
I want to be able to search the name on the far left and display all rows that have different information associated with that name.

16248483-632953885-1Marked face .075 undersizeM44--- U/S OD213--- Rising, Jared
16249ED3339-CSM53586Broken 7/8-9 tap where markedM30--- BROKEN TAP213--- Rising, Jared
16253ED3339-CSM53586FM20 holes are out of positionM23--- OUT OF LOCATION924--- Toth, Nicholas
16258100437505W53174-1-2(2x) broken taps in m12 holesM30--- BROKEN TAP912--- Kelleher, Sean

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Let A:F of Sheet1 house the data.

Let A1 of Sheet2 house a name like Rising, Jared

In A2 of Sheet2 enter:

=COUNTIFS(Sheet1!$F$2:$F$400,"*"&$A1)

In A4 of Sheet2, control+shift+enter, not just enter, and copy down:

=IF(ROWS($A$4:A4)>$A$2,"",SMALL(IF(ISNUMBER(SEARCH($A$1,Sheet1!$F$2:$F$400)),ROW(Sheet1!$F$2:$F$400)-ROW(Sheet1!$F$2)+1),
ROWS($A$4:A4)))

In B4 of Sheet1 just enter, copy across as far as needed, and down:

=IF($A4="","",INDEX(Sheet1!A$2:A$400,$A4))
<strike></strike>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,212
Messages
6,123,654
Members
449,113
Latest member
Hochanz

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