Hello.
I'm trying to extract just the score line from any given result as shown in cell A1 of the attachment.
In row 3, is the required result. Can this be done?
Thank you.
Hello.
I'm trying to extract just the score line from any given result as shown in cell A1 of the attachment.
In row 3, is the required result. Can this be done?
Thank you.
Last edited by tom hatten; 01-24-2021 at 03:10 PM.
In A3, copeid across:
=TRIM(MID(SUBSTITUTE(" "&$A1," ",REPT(" ",125)),125*COLUMNS($A:A),125))
HOWEVER, I guarantee that the ACTUAL problem will be more complicated that this suggests...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
An alternative that will work with multi-word team names.
team 1
=LEFT(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))-1)
Score
=TRIM(LEFT(TRIM(SUBSTITUTE(A1,F5,"")),SEARCH(" ",TRIM(SUBSTITUTE(A1,F5,"")))))
Team 2
=MID(A1,SEARCH(G5,A1)+LEN(G5)+1,255)
You seem to be using an older version of Excel than me. So, please refer to the attached file. If the formulae are enclosed within a pair of { }, these are array formulae.
These are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see the curly brackets { } appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Another option if you have names that contain a space
=TRIM(LEFT(A1,FIND("-",A1)-2))
=TRIM(MID(A1,FIND("-",A1)-2,5))
=TRIM(SUBSTITUTE(A1,A3&" "&B3,""))
Both solutions work well for me. Thank you both very much.
Glad to help & thanks for the feedback.
You're welcome.
It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.
Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks