Hi,
cant seem to get this right.........
I have the following text string
"Start Up: 15Wks"
Now the number 15 can vary...ie...the number 15 could be 153 or 4.......but i need to parse out the number just before the "Wks".
Any ideas?
Hi,
cant seem to get this right.........
I have the following text string
"Start Up: 15Wks"
Now the number 15 can vary...ie...the number 15 could be 153 or 4.......but i need to parse out the number just before the "Wks".
Any ideas?
Last edited by welchs101; 11-09-2012 at 09:59 PM.
With your text string in A1...
Courtesy of Ron Coderre
=LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW($1:$10000))))
HTH
Regards, Jeff
try it array formula
{=MID(A1;MIN(IF(ISNUMBER(--MID(A1;ROW(1:1000);1));ROW(1:1000)));COUNT(IF(ISNUMBER(--MID(A1;ROW(1:1000);1));ROW(1:1000))))}
thanks .........
You are very welcome...glad it worked out for you.
=====================================================
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks