Formula to find the same text in a column and return it's corresponding value in another column

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
I am trying to extract data where I search for a specific test string in a column list and return a value from a corresponding column list. There are multiple instances of the specific text and I need the values to all of them. For example:

FORMULA
NAMEVALUERESULT
A11
B2
C3
A44
E5
F6
A77
F8
A99
A1010


Mini-sheets are cool!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you have 365 how about
+Fluff 1.xlsm
MNO
1FORMULA
2NAMEVALUERESULT
3A11
4B2
5C3
6A44
7E5
8F6
9A77
10F8
11A99
12A1010
Main
Cell Formulas
RangeFormula
O3:O12O3=IF(M3:M12="A",N3:N12,"")
Dynamic array formulas.
 
Upvote 0
Maybe I missed something, if so continue with Fluff's formula.

Libro1
MNO
1FORMULA
2NAMEVALUERESULT
3A11
4B2 
5C3 
6A44
7E5 
8F6 
9A77
10F8 
11A99
12A1010
Hoja1
Cell Formulas
RangeFormula
O3:O12O3=IF(M3="A",N3,"")
 
Upvote 0
Solution
@DanteAmor You haven't missed anything, it's just if the OP has 365 the formula only needs to go in 1 cell & it spills down.
It's also nice to see you back. :)
 
Upvote 0
Glad we could help & thanks for the feedback.

PS. Please don't forget to update your account details to show what version/platform you are using. ;)
 
Upvote 0

Forum statistics

Threads
1,214,432
Messages
6,119,468
Members
448,900
Latest member
Fairooza

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