3 Easy Ways to Delete Blank Rows in Excel ✅

Поделиться
HTML-код
  • Опубликовано: 1 июл 2024
  • 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 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 - 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: ruclips.net/user/trumpexc...
    #Excel #ExcelTips #ExcelTutorial

Комментарии • 44

  • @trumpexcel
    @trumpexcel  5 месяцев назад +2

    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

  • @Satwant2463
    @Satwant2463 5 месяцев назад +2

    Thank you. Excellent explanation.

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Glad you found the video useful

  • @nadermounir8228
    @nadermounir8228 5 месяцев назад +1

    Thank u Trump for this nice video especially the VBA solution

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thanks... Glad you found the video useful :)

  • @brianmaggs8714
    @brianmaggs8714 5 месяцев назад +1

    👍Very useful, especially for spreadsheets with many blank rows to be eliminated.👍

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Glad you found the video useful 😊

  • @Unpleasant_Truth96
    @Unpleasant_Truth96 5 месяцев назад +1

    Thank you. Very useful

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thanks... Glad you found the video useful :)

  • @einoconsult5563
    @einoconsult5563 5 месяцев назад +1

    Thanks, Power Query is also a good way to do it :)

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      True... I think I got lazy and didn't add that as another method. I did include it in the written article here - trumpexcel.com/delete-blank-rows-excel/

  • @udayasankar5930
    @udayasankar5930 5 месяцев назад +1

    Fantastic!!! Congratulations👍

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thank you... Glad you found the video useful

  • @pancux670
    @pancux670 5 месяцев назад +1

    Very nice and we'll explained as usual

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thanks for commenting... Glad you found the video useful

  • @rajeevgosavi4514
    @rajeevgosavi4514 5 месяцев назад +1

    Nice and very informative.

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Glad you found the video useful

  • @ktp.
    @ktp. 5 месяцев назад +1

    Happy New Year Sumit! Great video and will tune in to more as I am subscribed. 💯🎉

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thank You and Happy New Year 😊

  • @IvanCortinas_ES
    @IvanCortinas_ES 5 месяцев назад +1

    Hi Sumit!!! Excellent explanation!!

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Thanks Iván... Good to see you in the comments section 😊

  • @uppalapatikarthik
    @uppalapatikarthik 5 месяцев назад +2

    Long time no see!

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Been a while since I created videos. Planning to release new video every week now.

  • @roselyncrasco6318
    @roselyncrasco6318 5 месяцев назад

    Thank you Sir for the update. It is very useful for me who are using excel for our Daily Monitoring Data. I have concerns for my data. Since I add more cell and column and rows , as I search for the specific data I want to input my daily monitoring it is very loading............. Is there anything I must do to lessen the search or loading?

  • @chintanvasavada5475
    @chintanvasavada5475 3 месяца назад +1

    Lovely Brother

    • @trumpexcel
      @trumpexcel  3 месяца назад

      Glad you found the video helpful 🙂

    • @chintanvasavada5475
      @chintanvasavada5475 3 месяца назад

      @@trumpexcel yes and problem was solved as well. Although I was able to remove blanks using the filter post the first step of naming the blanks and not blanks.

  • @soniccheese01
    @soniccheese01 5 месяцев назад

    Like the different approaches to removing blanks. I would highlight column A and turn on Filters, then select Blanks and delete the returned blanks rows, then switch off filters.

    • @trumpexcel
      @trumpexcel  5 месяцев назад +1

      But that can be issue if the blank cell is only in column A and the rest of the row in not blank

  • @peterstratton9516
    @peterstratton9516 5 месяцев назад +1

    HNY! Thanks!

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      HNY Peter... Glad you found the video useful :)

  • @suneethamerlapaku8723
    @suneethamerlapaku8723 5 месяцев назад +1

    Explain about hlookup and pivot table

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      These videos might interest you:
      - ruclips.net/video/wn_YO1t9C5o/видео.html
      - ruclips.net/video/4Q0FYcvIfFg/видео.html
      - ruclips.net/video/5TkRnGdC1NM/видео.html

  • @michaellundsrensen2292
    @michaellundsrensen2292 5 месяцев назад

    Thanks, long time!
    In the example, why not click on the box above "1" and to the left of "A". And then sort column A?

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      It would mess up the original dataset. So if that is not a concern, we can sort and get rid of the blank rows

  • @abhisheksamantray5244
    @abhisheksamantray5244 5 месяцев назад

    sir, we can delete row by using filter also

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      It can be issue if the blank cell is only in column where you have applied the filter and the rest of the row is not empty

  • @akashdeshmukh116
    @akashdeshmukh116 5 месяцев назад +1

    Where have you been...?? 🤔🤔
    Now it's time for BI.. ✔️

    • @trumpexcel
      @trumpexcel  5 месяцев назад

      Soon my friend.. I need to learn BI well enough first to start making videos on it

  • @mohmmedimran3000
    @mohmmedimran3000 4 дня назад

    Delete ni hora Bhai please help me

  • @meghajoshi1545
    @meghajoshi1545 3 месяца назад

    hI DO YOU DO ONLINE TUTORIAL ??

  • @salmaalaa6158
    @salmaalaa6158 5 месяцев назад +1