Split one row to multiple rows

AFZAL SOHAIL

Board Regular
Joined
May 31, 2023
Messages
146
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
Respected Team;-
I need a formula who split one row contents into multiple rows,
As shown in the below:

Text​
Expected Result​
Text 1
Text2
Text3
Text4
Text5
Text6
Text7​
Text1​
Text2​
Text3​
Text4​
Text5​
Text6​
Text7​
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
For 2021 how about
Fluff.xlsm
AB
1
2Text 1 Text2 Text3 Text4 Text5 Text6 Text7Text 1
3Text2
4Text3
5Text4
6Text5
7Text6
8Text7
Sheet6
Cell Formulas
RangeFormula
B2:B8B2=FILTERXML("<k><m>"&SUBSTITUTE(A2,CHAR(10),"</m><m>")&"</m></k>","//m")
Dynamic array formulas.
 
Upvote 0
Thanks a lot Sir,
This formula is working very well,thanks, thanks, thanks.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,221,417
Messages
6,159,789
Members
451,589
Latest member
Harold14

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