×

TrumpExcel's video: 3 Right Ways to Delete Blank Rows in Excel

@3 Right Ways to Delete Blank Rows in Excel ✅
In this video, I will show you three ways to delete blank rows in Excel. 00:00 Intro 00:10 Go To Special to Delete Blank Rows 02:51 Delete Blank Rows Using the SORT Option 05:25 Delete Blank Rows Using Find and Replace 08:20 VBA to Delete Blank Rows -------------------------------------------------------------------------------- Here is the VBA code I used in the video: 'Code Developed by Sumit Bansal from https://TrumpExcel.com Sub DeleteBlankRows() Dim EntireRow As Range On Error Resume Next MsgBox Selection.Row.Count Application.ScreenUpdating = False For i = Selection.Rows.Count To 1 Step -1 Set EntireRow = Selection.Cells(i, 1).EntireRow If Application.WorksheetFunction.CountA(EntireRow) = 0 Then EntireRow.Delete End If Next Application.ScreenUpdating = True End Sub ---------------------------------------------------------------------------------- While most people I see use the Go To Special option, it has a big drawback. It would also delete rows where only some of the cells are blank. None of the methods I have covered in this video have this issue. ☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - https://www.buymeacoffee.com/SumitB ✅ Free Excel Course (Basic to Advanced) - https://trumpexcel.com/learn-excel/ ✅ Free Dashboard Course - https://bit.ly/free-excel-dashboard-course ✅ Free VBA course - https://bit.ly/excel-vba-course ✅ Free Power Query Course - https://bit.ly/power-query-course ✅ Best Excel Books: https://trumpexcel.com/best-excel-books/ Subscribe to get awesome Excel Tips every week: https://www.youtube.com/user/trumpexcel?sub_confirmation=1

127

18
TrumpExcel
Subscribers
339K
Total Post
415
Total Views
1.6M
Avg. Views
21.5K
View Profile
This video was published on 2024-01-04 18:00:02 GMT by @TrumpExcel on Youtube. TrumpExcel has total 339K subscribers on Youtube and has a total of 415 video.This video has received 127 Likes which are lower than the average likes that TrumpExcel gets . @TrumpExcel receives an average views of 21.5K per video on Youtube.This video has received 18 comments which are lower than the average comments that TrumpExcel gets . Overall the views for this video was lower than the average for the profile.TrumpExcel #Excel #ExcelTips #ExcelTutorial has been used frequently in this Post.

Other post by @TrumpExcel