Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EXCEL function;find string in entire column & return cell referenc Audit Compliance Man Excel Worksheet Functions 2 April 21st 23 10:24 AM
function to find value and return cell reference rcc Excel Discussion (Misc queries) 6 June 27th 12 02:55 AM
Find data in Range, Return Cell Reference Hugh Excel Discussion (Misc queries) 7 April 16th 09 04:22 PM
Find a value in a table and return the cell or column reference jgrout Excel Discussion (Misc queries) 3 February 6th 07 06:21 AM
Find a value in a table and return the cell reference Rasoul Khoshravan Excel Worksheet Functions 10 October 26th 06 11:23 PM


All times are GMT +1. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"