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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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,223,635
Messages
6,173,481
Members
452,516
Latest member
archcalx

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