Hi,
I am trying to find the number (could be 3 or 4 numbers long) after the 2nd '#' and before the 3rd '#'.
0000434269#In#1253###20150622#075650.wav
The number I want is 1253.
Thanks,
Paul
Hi,
I am trying to find the number (could be 3 or 4 numbers long) after the 2nd '#' and before the 3rd '#'.
0000434269#In#1253###20150622#075650.wav
The number I want is 1253.
Thanks,
Paul
Last edited by paularthur90; 07-30-2015 at 10:10 AM.
Try this...
Formula:![]()
=MID(H7,FIND("@",SUBSTITUTE(H7,"#","@",2))+1,FIND("@",SUBSTITUTE(H7,"#","@",3))-FIND("@",SUBSTITUTE(H7,"#","@",2))-1)
This will return you text 1234 (not number but text):
Formula:![]()
TRIM(LEFT(SUBSTITUTE(MID(SUBSTITUTE(A1,"#",REPT(" ",255),2),255,255),"#",REPT(" ",255)),255))
If you want number you need to multiply this result by 1*formula but this will return you erro in case there si something else than number.
For example: 0000434269#In#12C3###20150622#075650.wav will cause error while previous wont so I didn't multiply it.
Never use Merged Cells in Excel
Hi Paul,
Try this one
=TRIM(MID(SUBSTITUTE(A1,"#",REPT(" ",LEN(A1))),LEN(A1)*2,LEN(A1)))
See the attached.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Thank you everyone for all your help.
Got it all sorted![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks