Find text within text in a column.

BrianM

Well-known Member
Joined
Jan 15, 2003
Messages
768
Office Version
  1. 2016
Platform
  1. Windows
Can anyone suggest a way to return the cell address when performing a "Find" or "Search" for a specific text within text in an entire column? I understand the use of both 'Search' and 'Find' when interrogating a cell, but, I'm struggling with how to find this specific text (within text) in an entire column and returning the cell address of the cell in which the text was found. The column I would be interrogating is Column A. Note: This text will only ever be found in one (1) cell. Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,724
Office Version
  1. 365
Platform
  1. Windows
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’)
Maybe
Excel Formula:
=CELL("address",INDEX(A2:A30,MATCH("*test*",A2:A30,0)))
 
Solution

BrianM

Well-known Member
Joined
Jan 15, 2003
Messages
768
Office Version
  1. 2016
Platform
  1. Windows
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’)
Maybe
Excel Formula:
=CELL("address",INDEX(A2:A30,MATCH("*test*",A2:A30,0)))
Thanks for the advice regarding my 'Account Details'. I've updated. I'll try your formula.
 

BrianM

Well-known Member
Joined
Jan 15, 2003
Messages
768
Office Version
  1. 2016
Platform
  1. Windows
Another question, with the returned cell address e.g. $A$331, can I perform and Right function on that value? e.g. Right(= CELL("address",INDEX(A2:A30,MATCH("*test*",A2:A30,0))),10)
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,724
Office Version
  1. 365
Platform
  1. Windows
What are you trying to do?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,724
Office Version
  1. 365
Platform
  1. Windows
Glad you sorted it & thanks for the feedback.
 

Forum statistics

Threads
1,176,197
Messages
5,901,857
Members
434,924
Latest member
husamco

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