EXCEL: find string in vector & return cell reference

  • Thread starter Thread starter Audit Compliance Man
  • Start date Start date
A

Audit Compliance Man

Need to search for a text string anywhere in a column on another sheet, and
return the cell reference of the first match found. Searched for text string
will be embedded within larger text.
Example: Find the text string "Joe" (contained in Sheet1, cell A2) within
the entire column G of text on Sheet2. When "Joe" is found in Sheet2 Column
G, row 365, return cell reference G365.
 
Mr. Audit Compliance Man,

=ADDRESS(MATCH("*" & Sheet1!A1 & "*",Sheet2!G:G,FALSE),COLUMN(Sheet2!G:G),4)

will return the cell address of the first instance.

HTH,
Bernie
MS Excel MVP
 
Back
Top