Hi all,
would like to have a formula where excel formula pick data from right after first space from right ends until the next space as shown in the attached file column B
Hi all,
would like to have a formula where excel formula pick data from right after first space from right ends until the next space as shown in the attached file column B
Might be a long-winded way but it should work:
WBDPlease Login or Register to view this content.
Office 365 on Windows 11, looking for ✶ rep!
or:
=--MID(A1,FIND(CHAR(1),SUBSTITUTE($A1," ",CHAR(1),LEN(A1)-LEN(SUBSTITUTE(A1," ",""))-1))+1,4)
or:
=FILTERXML("<A><B>"&SUBSTITUTE(A1," ","</B><B>")&"</B></A>","//B[position()="&LEN(A1)-LEN(SUBSTITUTE(A1," ",""))&"]")
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
working but doesnt work if there a text instead number.
Take the "+0" off the end if it's not guaranteed to be a number.
WBD
1. Who are you talking to?
2. If there can be text there, why did your sample file only contain numbers?
Thanks it worked
Also, Glenn's second suggestion is very cool and clever. You could even shorten it a little:
WBDPlease Login or Register to view this content.
Norman. To avoid confusion, please say who you're talking to when replying to threads if more than 1 person is helping you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks