Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() =IF(MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"012345678 9"))LEN(A1),0,MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7, 8,9},A1&"0123456789")),7)) That formula assumes your text entry is in A1. It also assumes that the first numeric digit is the 1st digit in the 7 digit number you need to extract. If there are any other digits ahead of that group, it will return the wrong results. Hope that helps. I actually found it in a posting by Mike White of the UK on another site. "Eric_NY" wrote: ,I'm using Outlook 2003. I have a column containing free-format text values. (Example: "HNSMUPP requested authority of ICIEMERG for reason HNSMUPP ICIEMERG 1026382 - RST OF GUS, CMC FROM AFTSAVE. 03/07/09 06:51 QPGMR I5IPRD2A"). I need to find and extract the 7-digit numeric value (in this example: 1026382) into another cell. Any suggestions? Can this be done with Excel built-in functions? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format part of text in concatenated field | Excel Worksheet Functions | |||
Find and Add a number in a text field | Excel Worksheet Functions | |||
Copying text from a free form field | Excel Worksheet Functions | |||
ddd format to 'text' field | Excel Discussion (Misc queries) | |||
Everytime I need to format cells or text, Excel 2003 takes a lot of time or free | Excel Discussion (Misc queries) |