EXCEL: find string in vector & return cell reference
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. |
EXCEL: find string in vector & return cell reference
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 "Audit Compliance Man" wrote in message ... 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. |
All times are GMT +1. The time now is 01:01 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com