How to search by name and return what groups they reside in

Bones55

New Member
Joined
Feb 23, 2017
Messages
20
I have a spreadsheet with 20 different groups and each group has people assigned to them.


I would like to be able to search by typing their first name in a search box and have it return what group or groups they resides with. Any help would be appreciated.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I have a spreadsheet with 20 different groups and each group has people assigned to them.


I would like to be able to search by typing their first name in a search box and have it return what group or groups they resides with. Any help would be appreciated.
from what you are saying it is very doable but unless you show us sample data or how your spreadsheet looks like, we can't help you.
 
Upvote 0
AC_Region_Deskside

<tbody>
</tbody>
AC_Region_Engineering

<tbody>
</tbody>
AC_Region_Security

<tbody>
</tbody>
AC_Telecom

<tbody>
</tbody>
Accounting_Systems

<tbody>
</tbody>
Alphonso Johns

<tbody>
</tbody>
Barry Pullman

<tbody>
</tbody>
Andre Giant

<tbody>
</tbody>
Anabelle Linder

<tbody>
</tbody>
Barbara Masters

<tbody>
</tbody>
Anna Smith

<tbody>
</tbody>
Carlos Perez

<tbody>
</tbody>
Charles Power

<tbody>
</tbody>
David West

<tbody>
</tbody>
Joshua Everbridge

<tbody>
</tbody>
Chin Lee

<tbody>
</tbody>
Eduardo Guzman

<tbody>
</tbody>
Fancia Say

<tbody>
</tbody>
Joshua Everbridge

<tbody>
</tbody>
Michele McEber

<tbody>
</tbody>
Grant Linda

<tbody>
</tbody>
Elvis Rocks

<tbody>
</tbody>
Harry Brook

<tbody>
</tbody>
Michele McEber

<tbody>
</tbody>
Thomas Hunter

<tbody>
</tbody>
Jaycee Smith

<tbody>
</tbody>
Jair Car

<tbody>
</tbody>
Jeffie Benford

<tbody>
</tbody>
Thomas Hefner

<tbody>
</tbody>
Jose Moral

<tbody>
</tbody>
Jeffrey Vans

<tbody>
</tbody>
Jon Michael Vince

<tbody>
</tbody>
William Person

<tbody>
</tbody>
Joshua Linseed

<tbody>
</tbody>
John Garvey

<tbody>
</tbody>
Joshua Everbridge

<tbody>
</tbody>
Martin Roberts

<tbody>
</tbody>
Joshua Beech

<tbody>
</tbody>
Michele McEber

<tbody>
</tbody>
Michele McEber

<tbody>
</tbody>
Joshua Everbridge

<tbody>
</tbody>
Richard Keifer Sullivan

<tbody>
</tbody>
Nicholas Winter

<tbody>
</tbody>
Lewis Bonafella

<tbody>
</tbody>
Ross Wheat

<tbody>
</tbody>
Teresa Lynch

<tbody>
</tbody>
Michele McEber

<tbody>
</tbody>
Thanh Phenn

<tbody>
</tbody>
Thomas Hunter

<tbody>
</tbody>
Paul Ridder

<tbody>
</tbody>
Thomas Hefner

<tbody>
</tbody>
Toshia Mori

<tbody>
</tbody>
Renee Roberson

<tbody>
</tbody>
Walter Coxboxer

<tbody>
</tbody>
Robert Bowers

<tbody>
</tbody>
William Person

<tbody>
</tbody>
Thomas Hunter

<tbody>
</tbody>
Vincent Price

<tbody>
</tbody>
William Finland

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Let A1:E18 house the data, headers included.

Let A21 house a name of interest like Joshua Everbridge (This can even be a selection from a dropdown list.)

In A22 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($A$1:$E$1,SMALL(IF($A$2:$E$18=A$21,COLUMN($A$1:$E$1)-COLUMN(INDEX($A$1:$E$1,1,1))+1),ROWS($1:1))),"")
 
Upvote 0
That gets me halfway there, is there anyway to search only by First name and find all those users say with the first name like Joshua and instead of what column the person resides in the actual name of all the groups "Joshua" resides in?

Right now i enter First name nothing happens, but if I enter the whole name it give me what column their reside in which I can use for another project.

thank you
 
Last edited:
Upvote 0
Disregard last message, it does return the group...but is there anyway to search only by First name and find all those users say with the first name like Joshua and show all the groups "Joshua" belongs too?
 
Upvote 0
Disregard last message, it does return the group...but is there anyway to search only by First name and find all those users say with the first name like Joshua and show all the groups "Joshua" belongs too?

A21 = Joshua

In A22 control+shift+enter and copy down:

=IFERROR(INDEX($A$1:$E$1,SMALL(IF(ISNUMBER(SEARCH("|"&$A$21,"|"&$A$2:$E$18)),COLUMN($A$1:$E$1)-COLUMN(INDEX($A$1:$E$1,1,1))+1),ROWS($1:1))),"")
 
Upvote 0
Aladin,

How difficult would it be to place the formula on say sheet1 to extract the information from data on sheet3 and using Joshua as an example when the formula finds all the Joshua's on Sheet3 to show their full name and what group they belong too?
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,580
Members
448,972
Latest member
Shantanu2024

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