Split Text to Rows in Excel (3 Easy Ways)

  Рет қаралды 13,520

TrumpExcel

TrumpExcel

Күн бұрын

In this video, I will show you three ways to split text into rows in Excel. While Text to Columns is an everyday need, many times, you may also want to split the text in a cell into separate rows.
This can be done easily thanks to some awesome formulas in Excel and VBA.
00:00 Intro
00:46 Split Text to Rows using TEXTSPLIT function
06:42 Split Text to Rows using Text to Columns and Transpose
09:10 VBA to Split Text to Rows in Excel
---------------------------------------------------------------------------------
Below is the VBA code used in this video
'Code developed by Sumit Bansal from trumpexcel.com
Function SplitCellToRows(CellValue As Range, Delimiter As String)
Dim SplitValues() As String
'Split the value by the specified delimiter into an array
SplitValues = Split(CellValue.Value, Delimiter)
'Go through each element of the array and remove any leading or trailing spaces
For i = LBound(SplitValues) To UBound(SplitValues)
SplitValues(i) = Trim(SplitValues(i))
Next i
'Return the array
SplitCellToRows = WorksheetFunction.Transpose(SplitValues)
End Function
---------------------------------------------------------------------------------------
☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - www.buymeacoffee.com/SumitB
✅ Free Excel Course (Basic to Advanced) - trumpexcel.com/learn-excel/
✅ Free Dashboard Course - bit.ly/free-excel-dashboard-c...
✅ Free VBA course - bit.ly/excel-vba-course
✅ Free Power Query Course - bit.ly/power-query-course
✅ Best Excel Books: trumpexcel.com/best-excel-books/
Subscribe to get awesome Excel Tips every week: kzfaq.info...
#Excel #ExcelTips #ExcelTutorial

Пікірлер: 33
@trumpexcel
@trumpexcel 6 ай бұрын
If you found this video useful, please give it a thumbs up 👍 and subscribe to the channel. Also, let me know what Excel topics you want me to cover in future videos. Also, I have made all of my Excel courses available for free. You can check these out using the below links: ✅ Free Excel Course (Basic to Advanced) - trumpexcel.com/learn-excel/ ✅ Free Dashboard Course - bit.ly/free-excel-dashboard-course ✅ Free VBA course - bit.ly/excel-vba-course ✅ Free Power Query Course - bit.ly/power-query-course
@jagatkrishna1543
@jagatkrishna1543 6 ай бұрын
Thanks ❤🙏 SIR
@michaellundsrensen2292
@michaellundsrensen2292 6 ай бұрын
I know Textsplit but you gave me new knowledge with your good examples. Thanks!
@trumpexcel
@trumpexcel 6 ай бұрын
Glad the video gave you some ideas. If you do use TextSplit in any creative way, would love to know about it
@IvanCortinas_ES
@IvanCortinas_ES 6 ай бұрын
Brilliant explanation. Grandmaster Sumit Bansal. Thank you!!
@trumpexcel
@trumpexcel 6 ай бұрын
You are very kind my friend... Thank you for all the comments :)
@nadermounir8228
@nadermounir8228 6 ай бұрын
Thank you trump for this nice video especially the VBA part. U can also use filterXML along with the transpose function if u don't have the textsplit in your version of excel.
@trumpexcel
@trumpexcel 6 ай бұрын
Glad you found the video useful... will check out the FilterXML method :)
@Joseph-xt2qg
@Joseph-xt2qg 6 ай бұрын
You are an excellent teacher. Thanks!
@trumpexcel
@trumpexcel 6 ай бұрын
Thank you so much for the kind words Joseph... Glad you are finding the videos useful :)
@Satwant2463
@Satwant2463 6 ай бұрын
Thank you so much for this lesson. Highly useful.
@trumpexcel
@trumpexcel 6 ай бұрын
Glad you found the video useful :)
@neccomputercenter458
@neccomputercenter458 6 ай бұрын
very useful for anybody. Thank you !
@trumpexcel
@trumpexcel 6 ай бұрын
Glad you found the video useful :)
@girishpadshala9689
@girishpadshala9689 6 ай бұрын
Thank you, & vba code function.
@mohsinraza4453
@mohsinraza4453 6 ай бұрын
Accept love from Pakistan you are doing so so so well 💓
@trumpexcel
@trumpexcel 6 ай бұрын
Thanks so much for the kind words Mohsin... I am glad you are finding the videos useful ❤
@da_ta
@da_ta 6 ай бұрын
Excellent thank you
@trumpexcel
@trumpexcel 6 ай бұрын
Glad you found the video useful :)
@kryss8302
@kryss8302 2 ай бұрын
❤ Thank you!!
@rajsuthar999
@rajsuthar999 6 ай бұрын
👌 indeed useful 🎉
@trumpexcel
@trumpexcel 6 ай бұрын
Thanks... Glad you found the video useful :)
@xeeshanahmad8757
@xeeshanahmad8757 6 ай бұрын
Hello Sir, Great To see you
@trumpexcel
@trumpexcel 6 ай бұрын
Thanks for commenting... Good to be back on YT and making videos again :)
@formylove5972
@formylove5972 6 ай бұрын
sir mere excel me ye textsplit wala formula h hi nhi. or mujhe ye ache se smjhaaya tha av kya kru
@michaellundsrensen2292
@michaellundsrensen2292 6 ай бұрын
How can I learn VBA from the beginning? I did code in Bacic and Pascal many years a go, and I make Macros and modify them slightly.
@trumpexcel
@trumpexcel 6 ай бұрын
You can check out this free VBA course - kzfaq.info/sun/PLm8I8moAHiH2n5HC4ZXBgS-cBLjxWDreu
@michaellundsrensen2292
@michaellundsrensen2292 6 ай бұрын
@@trumpexcel Thanks, Ill do
@triciaevans7303
@triciaevans7303 2 ай бұрын
How to you split them into rows if there are rows already occupied with data underneath?
@subhabratade93
@subhabratade93 6 ай бұрын
mere liye spit ho nehi raja. sirf 1st word split ho raha hain.kaha par galti kar raha hun? Please help Sumit ji..
@trumpexcel
@trumpexcel 6 ай бұрын
Can you share the formula here? Also, I am assuming you are using M365 and have TEXTSPLIT function in your version of Excel.
@Bikinigirl05
@Bikinigirl05 4 ай бұрын
THANK YOU SO MUCH!!!!
@trumpexcel
@trumpexcel 4 ай бұрын
Glad you found the video helpful 🙂
7 Clever Excel Custom Formatting Tricks (Advanced)
19:14
TrumpExcel
Рет қаралды 223 М.
Prevent Duplicate Entries in Excel (2 Simple Ways)
6:53
TrumpExcel
Рет қаралды 10 М.
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 30 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 63 МЛН
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 463 М.
Wise Owl Answers - How do I split text into multiple rows in Excel VBA?
21:19
How To Highlight The Current Row In Excel
3:34
Some little tips
Рет қаралды 17 М.
Remove Duplicates Within a Cell in Excel (2 Easy Ways)
10:22
TrumpExcel
Рет қаралды 5 М.
Stop using VLOOKUP in Excel. Switch to INDEX MATCH
11:05
Excel Level Up
Рет қаралды 2,3 МЛН
10 Excel Formulas That Will Set You Apart (Cheat Sheet)
18:04
MyOnlineTrainingHub
Рет қаралды 221 М.
Learn Excel MACROS in 10 Minutes Using Real World Examples
9:13
Kenji Explains
Рет қаралды 1,1 МЛН