Tex Split Formula

ChetanPuri

Board Regular
Joined
Sep 5, 2018
Messages
70
Office Version
  1. 365
Platform
  1. Windows
Good Morning All,

I have a text split formula question, I have number of Accounts where I would like to separate last 3 digits and then in the next column 121 and petty cash are split. Many thanks for all your help.

Book1
ABC
2 10.11.100.121 Petty Cash121Petty Cash
Sheet1
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try:
Book1
ABC
2 10.11.100.121 Petty Cash121Petty Cash
Sheet11
Cell Formulas
RangeFormula
B2B2=TEXTBEFORE(TEXTAFTER(A2,".",-1)," ")
C2C2=TEXTAFTER(TRIM(A2)," ")
 
Upvote 0
Put this formula in cell B2 and it will fill both B2 and C2 with the text you seek...
Excel Formula:
=TEXTSPLIT(SUBSTITUTE(TEXTAFTER(A2,".",-1)," ","|",1),"|")
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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