Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have nested some Numbers into [ ], into a description column.
What i would like to do is extract the numbers between these [ ]' s example; [33462] 3/4" EMT ON STL 3 #12 I can not use the MID function as I also have some descriptions that look like the following; [ ] 3/4" CONDUIT - EMT with no data in the [ ]'s, which i would like to produce a null value. Please can anyone help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
With the string in A1 try this formula: =IF(MID(A1,2,SEARCH("]",A1,2)-2)="",0,VALUE(MID(A1,2,SEARCH("]",A1,2)-2))) Regards, Per "Ziantist" skrev i meddelelsen ... I have nested some Numbers into [ ], into a description column. What i would like to do is extract the numbers between these [ ]' s example; [33462] 3/4" EMT ON STL 3 #12 I can not use the MID function as I also have some descriptions that look like the following; [ ] 3/4" CONDUIT - EMT with no data in the [ ]'s, which i would like to produce a null value. Please can anyone help. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISNUMBER(--MID(A1,2,1)),--MID(A1,2,FIND("]",A1)-2),"")
"Ziantist" wrote: I have nested some Numbers into [ ], into a description column. What i would like to do is extract the numbers between these [ ]' s example; [33462] 3/4" EMT ON STL 3 #12 I can not use the MID function as I also have some descriptions that look like the following; [ ] 3/4" CONDUIT - EMT with no data in the [ ]'s, which i would like to produce a null value. Please can anyone help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting the data according the number of cell (at specific range) | New Users to Excel | |||
Extracting the data according the number of cell (at specific range) | New Users to Excel | |||
selecting multiple cell in a roll that falls withing a range | Charts and Charting in Excel | |||
Cleaning data | Excel Worksheet Functions | |||
Cleaning Up Data | Excel Discussion (Misc queries) |