Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Jim, If the text string is in cell D6 - try this. =IF(ISERROR(SEARCH("categoryid=",D6)),"",MID(D6,SE ARCH("categoryid=",D6)+11,LEN(D6)-SEARCH("categoryid=",D6)+11)) This function assumes that the numbers are on the end of the text string. if there is a constant text ending - such as ".com" or something, simply subtract the length of that string ending from the mid function. -- barrfly Excel User - Energy markets ------------------------------------------------------------------------ barrfly's Profile: http://www.excelforum.com/member.php...fo&userid=4141 View this thread: http://www.excelforum.com/showthread...hreadid=376856 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting 7 digit number from alphanumeric string | Excel Discussion (Misc queries) | |||
EXTRACT NUMBER FROM STRING | Charts and Charting in Excel | |||
Change a 1,2,3 or 4 digit number to a 6 character text string | Excel Worksheet Functions | |||
How to extract each digit from a number in one cell? | Excel Discussion (Misc queries) | |||
How to extract the Number from a String | New Users to Excel |