Finding a name in a range and only showing cell contents acr

jbrown

New Member
Joined
May 11, 2002
Messages
7
I have names in column a and a number across from them in column b. I need a formula to search for a paticular name lets say "smith" and display only the numbers that are associated with smith down column c.
For example:

A B C
brown 1121 2321
smith 2321 2211
conner 2112
smith 2211

Thanks!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-09-21 20:48, jbrown wrote:
I have names in column a and a number across from them in column b. I need a formula to search for a paticular name lets say "smith" and display only the numbers that are associated with smith down column c.
For example:

A B C
brown 1121 2321
smith 2321 2211
conner 2112
smith 2211

Thanks!

Can you sort the data on names?
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
Hi jbrown:

One of the ways you can do this is by using Advanced Filter. See the worksheet simulation ...
y020921.xls
ABCDEFGH
1solutionusingAdvancedFilterNamesource
2smithcriterion
3output
4NameColBColCColC
5brown112123212211
6smith23212211
7conner2112
8smith2211
Sheet15
</SPAN>

Regards!

Yogi
 

Forum statistics

Threads
1,144,766
Messages
5,726,170
Members
422,659
Latest member
RGP268

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
Top