How to Ignore Left Side and then Divide Remaining Characters in Half

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Enclosed is the screenshot. As you can see, I am trying to get rid of the word "Select"
and the space. And then, depending on how many characters are left, I only want
half of them (in order) left.

So, for example, here are other examples

SELECT BBBABBBA (Correct answer is BBBA)
SELECT VYYXXVYYXX (Correct answer is VYYXX)
 

Attachments

  • Screen Shot 2022-10-11 at 7.23.27 AM.jpg
    Screen Shot 2022-10-11 at 7.23.27 AM.jpg
    78.9 KB · Views: 16
Upvote 0
How about
Excel Formula:
=LET(a,TEXTAFTER(A1," "),LEFT(a,LEN(a)/2))
 
Upvote 0
Solution
Based on your sample data, also
Excel Formula:
=MID(A1,8,(LEN(A1)-7)/2)
 
Upvote 0
Thanks Fluff and Peter. I tried Fluffs formula and works perfectly!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top