Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
String stuff again!!
Hi,
Can someone tell me the function used to ectract a number from a string?? i.e. asdf12345asdfg to give 12345 Cheers Manny |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
String stuff again!!
Hi
if all your strings start with four alpha followed by five numeric then use =MID(A1,5,5) Cheers JulieD "Mannyluk" wrote in message ... Hi, Can someone tell me the function used to ectract a number from a string?? i.e. asdf12345asdfg to give 12345 Cheers Manny |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
String stuff again!!
Hi
if the number is somethere in the middle of a string try: = IF(ISNUMBER(LOOKUP(2,1/MID(A1,seq,1),seq)),MID(A1,LOOKUP(2,1/MID(A1,102 4-seq,1),1024-seq),LOOKUP(2,1/MID(A1,seq,1),seq)-LOOKUP(2,1/MID(A1,1024 -seq,1),1024-seq)+1),"") where seq is a defined name with the formula: =ROW(INDIRECT("1:1024")) -- Regards Frank Kabel Frankfurt, Germany Mannyluk wrote: Hi, Can someone tell me the function used to ectract a number from a string?? i.e. asdf12345asdfg to give 12345 Cheers Manny |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need help about some basic stuff | New Users to Excel | |||
plz help...simple stuff | Excel Discussion (Misc queries) | |||
update stuff comes at the top | Excel Discussion (Misc queries) | |||
Fun newbie stuff | Excel Programming | |||
Basic Stuff. | Excel Programming |