Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default FIND the first (and any) number within a cell

is there some sort of wildcard that can be used to represent any number? I
would like to find the first number in a cell.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default FIND the first (and any) number within a cell

Hi Matt,

Consider a cell contains both alphabet and numeric say cell A1 contains as
follows

Soundar1

Use the following formula in B1(or where ever your want), you will get
result as 1

=MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$9),1) ),0),1)

and press control+shift+enter. You will get first number from the cell A1.

Note it will work upto 9 characters length in A1, if your text length is
more, change $9 to the length you want.

For more details information please refer below link

http://office.microsoft.com/en-us/ex...549011033.aspx

Hope this will clear your doubt.

Regards,
Soundar.


and give

"Matt" wrote:

is there some sort of wildcard that can be used to represent any number? I
would like to find the first number in a cell.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default FIND the first (and any) number within a cell

Thank you Soundar1.

"Soundar" wrote:

Hi Matt,

Consider a cell contains both alphabet and numeric say cell A1 contains as
follows

Soundar1

Use the following formula in B1(or where ever your want), you will get
result as 1

=MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$9),1) ),0),1)

and press control+shift+enter. You will get first number from the cell A1.

Note it will work upto 9 characters length in A1, if your text length is
more, change $9 to the length you want.

For more details information please refer below link

http://office.microsoft.com/en-us/ex...549011033.aspx

Hope this will clear your doubt.

Regards,
Soundar.


and give

"Matt" wrote:

is there some sort of wildcard that can be used to represent any number? I
would like to find the first number in a cell.

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
find a number in a cell Jambruins Excel Discussion (Misc queries) 21 October 23rd 07 05:36 AM
Is there a way to find out whether theres a number in a cell?? [email protected] Excel Discussion (Misc queries) 7 June 29th 07 02:29 PM
Can I find the number of letters in a cell? dave_laroche Excel Discussion (Misc queries) 4 April 30th 07 07:17 PM
Find the 1st occurance of a number in a cell lovemuch Excel Worksheet Functions 4 August 17th 06 01:02 AM
find the cell above any number in any range steve alcock Excel Worksheet Functions 12 May 27th 05 05:48 AM


All times are GMT +1. The time now is 12:59 PM.

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

About Us

"It's about Microsoft Excel"