Find text and then show text

Obewan

Board Regular
Joined
Aug 25, 2021
Messages
68
Office Version
  1. 365
Platform
  1. Windows
In column A I have a list of all different words and name but the main issue is this - this appears in cell A113 but also there will be other names in this column - this is the name of a dog I am trying to replicate in another column (i.e. the bold text)
WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna Chill

I have it's name in column AR (i.e. AR13) - but the row should be irrelevant as long as it's within the range - i.e. rows 2:4250
WILLIAM BALE

So what I am trying to do is write a formula that says:
- if the text in column AR2:AR4250 can be found in columns A2:a4250 can it write that name in column X - therefore at X113 it would answer WILLIAM BALE

They are on completely different row so I need to cover rows 2:4250 and be able to drag the formula down row X from 2:4250

Hope that makes sense?

rergards

Seamus
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Receip.xlsm
GHI
1DataCriteriaOut Put
2WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillWILLIAM BALEWILLIAM BALE
3WILLIAM / D Jul-21 Allen Deed x Dyna ChillSanke 
4 D Jul-21 Allen Deed x Dyna ChillAllen DeedAllen Deed
5 D Jul-21 Allen Deed x Dyna ChillDragon 
2023
Cell Formulas
RangeFormula
I2:I5I2=IF(ISNUMBER(SEARCH("*"&H2&"*",G2)),H2,"")
 
Upvote 0
Close but needs to work where the Criteria is on a different row to the Data - i.e. somewhere between row 2 to 4250. The Out Put should be on the same row as the Data
 
Upvote 0
Try this

Book1
ABC
1DataCriteriaOut Put
2 D Jul-21 Allen Deed x Dyna ChillWILLIAM BALEWILLIAM BALE
3WILLIAM / D Jul-21 Allen Deed x Dyna ChillSanke 
4 D Jul-21 Allen Deed x Dyna ChillAllen DeedAllen Deed
5WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillDragon 
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=IF(ISNUMBER(MATCH("*"&B2&"*",$A$2:$A$5,0)),B2,"")
 
Upvote 0
DataCriteriaOutput
WILLIAM BALE
OBLIGING CYNDIE
LET'S WIN MINDEE
YOGI'S BABY
VACANT BOX
BEIJING LING
CHIPPED PENNY
MICK'S GAL
Tips:
WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillWILLIAM BALE
Trainer: Juanita Thompson (Tungamull)Owner: Bradley Mulvihill
Prizemoney: $160
Rating:97
Our Price:$2.4
Date

Try this

Book1
ABC
1DataCriteriaOut Put
2 D Jul-21 Allen Deed x Dyna ChillWILLIAM BALEWILLIAM BALE
3WILLIAM / D Jul-21 Allen Deed x Dyna ChillSanke 
4 D Jul-21 Allen Deed x Dyna ChillAllen DeedAllen Deed
5WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillDragon 
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=IF(ISNUMBER(MATCH("*"&B2&"*",$A$2:$A$5,0)),B2,"")
 
Upvote 0
Minisheet.xlsx
ABC
1DataCriteriaOutput
2WILLIAM BALE
3OBLIGING CYNDIE 
4LET'S WIN MINDEE 
5YOGI'S BABY 
6VACANT BOX 
7BEIJING LING 
8CHIPPED PENNY 
9MICK'S GAL 
10Tips: 
11  
12  
13  
14WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna Chill WILLIAM BALE
15Trainer: Juanita Thompson (Tungamull)Owner: Bradley Mulvihill  
16Prizemoney: $160  
17Rating:97  
18Our Price:$2.4  
19Date  
20MON  
Sheet1
Cell Formulas
RangeFormula
C3:C13,C15:C20C3=IF(ISNUMBER(MATCH("*"&B3&"*",$A$2:$A$500,0)),B3,"")
B11:B20B11=IF(ISNUMBER(MATCH("*"&#REF!&"*",$A$2:$A$5,0)),#REF!,"")
 
Upvote 0
So column C would have the formula and answer would be in the green cell at C14
 
Upvote 0
Like this?

Book1
ABC
1
2DataCriteriaOutput
3WILLIAM BALE
4OBLIGING CYNDIE
5LET'S WIN MINDEE
6YOGI'S BABY
7VACANT BOX
8BEIJING LING
9CHIPPED PENNY
10MICK'S GAL
11
12
13
14
15WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillWILLIAM BALE
16Trainer: Juanita Thompson (Tungamull)Owner: Bradley Mulvihill 
17Prizemoney: $160 
18Rating:97 
19Our Price:$2.4 
20Date 
Sheet1
Cell Formulas
RangeFormula
C15:C20C15=IFERROR(LOOKUP(1,-SEARCH($B$3:$B$10,A15),$B$3:$B$10),"")
 
Upvote 0
Like this?

Book1
ABC
1
2DataCriteriaOutput
3WILLIAM BALE
4OBLIGING CYNDIE
5LET'S WIN MINDEE
6YOGI'S BABY
7VACANT BOX
8BEIJING LING
9CHIPPED PENNY
10MICK'S GAL
11
12
13
14
15WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillWILLIAM BALE
16Trainer: Juanita Thompson (Tungamull)Owner: Bradley Mulvihill 
17Prizemoney: $160 
18Rating:97 
19Our Price:$2.4 
20Date 
Sheet1
Cell Formulas
RangeFormula
C15:C20C15=IFERROR(LOOKUP(1,-SEARCH($B$3:$B$10,A15),$B$3:$B$10),"")
Sorry I had columns in wrong order

Book5
ABC
1DataOutputCriteria
2 WILLIAM BALE
3 OBLIGING CYNDIE
4 LET'S WIN MINDEE
5 YOGI'S BABY
6 VACANT BOX
7 BEIJING LING
8 CHIPPED PENNY
9 MICK'S GAL
10 Tips:
11 
12 
13 
14WILLIAM BALEBKW / D Jul-21 Allen Deed x Dyna ChillWILLIAM BALE 
15Trainer: Juanita Thompson (Tungamull)Owner: Bradley Mulvihill 
16Prizemoney: $160 
17Rating:97 
18Our Price:$2.4 
19Date 
20MON 
Sheet1
Cell Formulas
RangeFormula
B2:B10B2=IF(ISNUMBER(MATCH("*"&C2&"*",$A$2:$A$5,0)),C2,"")
C11:C20C11=IF(ISNUMBER(MATCH("*"&#REF!&"*",$A$2:$A$5,0)),#REF!,"")
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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