View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default Identify if a cell contains a numerical string

On Tue, 15 Jan 2008 09:31:26 -0800 (PST), Pierre wrote:

Have a long list of identifiers:

E6A3289A
F9DB1200G5W
KRQ7356VQ
G1200GUWY87

In a helper column, we need to identify (true or false is ok) if the
value in the first column contains the string 1200.


Assuming data is in A1:An

=COUNTIF(A1,"*1200*")0

It may appear anywhere in the cell value; it is not consistently found
after or before a given number of other characters within that cell.


--ron