Creating searchable text formula in helper column looking to index match results

RicardoCubed

Board Regular
Joined
Jul 10, 2013
Messages
206
Office Version
  1. 365
Platform
  1. Windows
I have a sheet which is populated using index match formulas pulling data from other sheet locations.

Is there a formula that I can place in a "helper column" that turnsthe index match formula results to text so I and then do a search?

Essentially a formula that works like a "cut and paste as values" so I can search. I don't want to have to cut and paste each time manually.

Specifically I want to search by name. The below is an example. Want a formula for D2 to copy down.

Thanks for help.

ABCD
1NameDepartBHelper
2Harry ThomasAJohn Jones
3John JonesBHarvey Hickock
4George SmithCPhil Ant
5Harvey HickockB-
6Mary CookC-
7Phil AntB-
8Barry RichA

<colgroup><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Array Formulas
CellFormula
C2{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A2))),"-")}
C3{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A3))),"-")}
C4{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A4))),"-")}
C5{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A5))),"-")}
C6{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A6))),"-")}
C7{=IFERROR(INDEX($A$2:$A$8,SMALL(IF($B$2:$B$8=$C$1,ROW($A$2:$A$8)-ROW(A$2)+1),ROWS(A$2:A7))),"-")}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>

 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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