Splitting data on | lines

Kvv

New Member
Joined
Jan 21, 2008
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Is there a formula that can split into individual cells this data?

H|19-080724B|20240807|
D|08291|30|20240806|320264
D|08291|34|20240806|320247
D|72900|1|20240805|320253
D|72900|1|20240805|320255
D|72900|1|20240805|320254
D|72900|1|20240805|320256
D|72900|1|20240805|320257
D|72900|1|20240805|320258
X|0070540185|20240806|49.100
X|0070540215|20240806|49.100
X|0070540206|20240806|49.100
X|0070540218|20240806|49.100

I am using =mid but when number of characters changes I have to adjust each row.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
If you have Excel 2021+ or Excel 365:
Excel Formula:
=TEXTSPLIT("D|72900|1|20240805|320254","|")
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
You're welcome!
hi.gif
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,711
Members
453,748
Latest member
akhtarf3

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