View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
ryguy7272 ryguy7272 is offline
external usenet poster
 
Posts: 2,836
Default Get column reference after string found

Let's say you are searching for WW02 and/or WWO3, use this function:
=ADDRESS(MATCH("WW02",A1:A4,0),MATCH("WW03",A1:D1, 0))

The items in quotes are the strings; you can use one or both (I think you
only need one for your purposes...)

Regards,
Ryan---
--
RyGuy


"Les Stout" wrote:

Hi all, i need to find a string on a spreadsheet and once found i need
to get the column that it is in. Could anybody help me with some code
please ?
I have the find string code, i just need to know how to get the column
that the string is in.


Best regards,

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***