A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to look for a sequence of numbers in a string?



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2005, 01:35 AM
brett
external usenet poster
 
Posts: n/a
Default How to look for a sequence of numbers in a string?

I am trying identify numbers that contain a specific sequence of numbers in
the entire string....ie 61302...I would be interested in identifying that
this string of numbers contained the sequence #13##. Can anyone help?
  #2  
Old October 27th, 2005, 01:41 AM
Roger Govier
external usenet poster
 
Posts: n/a
Default How to look for a sequence of numbers in a string?

Hi Brett

=ISNUMBER(FIND("13",A1)) will return TRUE if 13 is present, otherwise FALSE.

Regards

Roger Govier


brett wrote:
I am trying identify numbers that contain a specific sequence of numbers in
the entire string....ie 61302...I would be interested in identifying that
this string of numbers contained the sequence #13##. Can anyone help?

  #3  
Old October 27th, 2005, 01:44 AM
Mladen_Dj
external usenet poster
 
Posts: n/a
Default How to look for a sequence of numbers in a string?

Use formula:

=IF(ISNUMBER(FIND("13",TEXT(A1,"#####"))),TRUE,"")

"brett" wrote in message
...
I am trying identify numbers that contain a specific sequence of numbers in
the entire string....ie 61302...I would be interested in identifying that
this string of numbers contained the sequence #13##. Can anyone help?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching Code DS General Discussion 2 August 22nd, 2005 11:21 PM
Correcting out of sequence Figure numbers Jeff New Users 2 May 12th, 2005 07:00 PM
Can i convert numbers into string format? talia_k General Discussion 3 April 28th, 2005 03:27 PM
What if the back-end "moves"? John S. Ford, MD General Discussion 13 November 15th, 2004 09:33 PM
how do i get numbers from a text string Zack D General Discussion 3 November 3rd, 2004 11:31 PM


All times are GMT +1. The time now is 05:16 PM.


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