Stop Wasting Time! 3 Easy Ways to Remove Blank Rows in Excel

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 259

  • @LeilaGharani
    @LeilaGharani  Місяць тому +8

    Our Black Friday Sale is here! 🎉 link.xelplus.com/yt-bf-savings
    👉 Grab exclusive discounts today. Master data analysis, Excel, Power BI, and more...
    This offer won’t last long-don’t miss it!

  • @sarienvanschalkwyk6318
    @sarienvanschalkwyk6318 Місяць тому +26

    I'm an advanced Excel user, have done 4 of your cources and thought there is no reason for me to watch a video on deleting blank rows.
    🤯 I never knew the trick to create a Named Range and then import that into PQ! That is why I follow your content - Always something new to learn. Thank you.

    • @LeilaGharani
      @LeilaGharani  Місяць тому +3

      Thank you for sharing this! There is always more to learn. 😊

    • @KStew_UM
      @KStew_UM Місяць тому

      Same. :D I watched because I love Leila. I'm learning more than just tricks. I'm learning how to do fantastic training sessions for my team.
      My usual way is to apply a filter and remove rows with no date (which is business critical for me).
      But Power Query is better in that you don't "mess" with the raw data.

    • @karenmackstewart
      @karenmackstewart Місяць тому

      Same. :D I watched because I love Leila. I'm learning more than just tricks. I'm learning how to do fantastic training sessions for my team.
      My usual way is to apply a filter and remove rows with no date (which is business critical for me).
      But Power Query is better in that you don't "mess" with the raw data.
      What I would do though is to make the entire columns the named range. It is bad practice to add non-data rows below a data set - or anywhere on the data sheet. One of my pet corns.

  • @ruthngmj
    @ruthngmj Місяць тому +8

    I have been using method 1 and 2.
    even I complete your power query course (money well spent!)
    method 3 still blows my mind!
    I always think we have to use table for power query.
    thanks again!!❤

    • @LeilaGharani
      @LeilaGharani  Місяць тому

      Our pleasure! Glad you liked our Power Query course.

    • @vishalagrawal8717
      @vishalagrawal8717 Місяць тому

      How was the course? What were the fees? If it's available offline?

  • @patrickpointer8380
    @patrickpointer8380 Місяць тому +8

    Leila, This is great. i like the simplicity of #2 the best.

  • @pauljackson2436
    @pauljackson2436 Місяць тому +2

    I'm up to section 18 in your PQ course. The skills I've learnt so far have already saved my team a heap of time. Awesome!

    • @vishalagrawal8717
      @vishalagrawal8717 Місяць тому

      How was the course? What were the fees? If it's available offline?

    • @LeilaGharani
      @LeilaGharani  Місяць тому

      Thanks so much for your feedback! I'm so happy to hear you're already using these skills at work-that's what it's all about.

    • @StephanBenne
      @StephanBenne Місяць тому

      @@vishalagrawal8717 The course was "Excel Power Query Beginner to Advanced (including M)" I found it on Udemy, but is not available any more. It is a great course. Leila takes you step by step to the course.

  • @moncacas
    @moncacas Місяць тому

    What a fantastic surprise Leila! While I was familiar with removing blank rows in Excel, your video taught me two amazing features I never knew about. Loading data into Power Query using a Range and sending it directly to a PivotTable are absolute game-changers!
    It's wonderful how even familiar tools can still surprise us with hidden gems. These new shortcuts will definitely streamline my workflow.
    Thank you for sharing this valuable knowledge!

  • @mramsch
    @mramsch Місяць тому +2

    Option 4: Add an index helper column (1, 2, 3, ...) and then use sorting to get all the rows you want to do something with (e.g. empty rows for deletion) into a block of consecutive rows. Now it is easy to edit (e.g. delete) these rows. When you have finished manual editing, restore the original order by sorting according to the index column.
    It is not updated automatically, as is the case with option 3. However, it is practical if you only want to edit your data once and want to include several different criteria for editing that may be difficult to automate but are easy to do manually.
    But usually option 3 is my favorite too :)

  • @JeffreyLawrence-w6o
    @JeffreyLawrence-w6o Місяць тому +1

    You make everything seem so much simpler, thank you!

  • @StephanBenne
    @StephanBenne Місяць тому

    I finished your Power Query course. (Like some said before "Money well spent") And I'm a big fan of Power Query , but in this case I like option 1. It is fast and simple and it prevents making a duplicate data set.

    • @vishalagrawal8717
      @vishalagrawal8717 Місяць тому

      How was the course? What were the fees? If it's available offline?

  • @chrism9037
    @chrism9037 Місяць тому +3

    I like option 3 too, thanks Leila!

  • @MrSparkefrostie
    @MrSparkefrostie Місяць тому

    Your advice has helped, although I have move far along from excel, what has helped me to this day is the arrays, if I can add, I would use the filter formula, that way you can apply it accross a certain amount of columns but all rows, will likely need aome trickery to see if the specific colum is not blank, even more trickery to check all columns

  • @stuartmalevich8093
    @stuartmalevich8093 Місяць тому

    Your my new goto to learn how to make my work managable. I also watch because you have such a patient voice it makes it easier to pay attention and follow along.

  • @francisaranha
    @francisaranha Місяць тому

    Loved the lesson Leila! I'm a fan of your content. My favorite is definitely the Power Query.

  • @shawnpaiva2347
    @shawnpaiva2347 28 днів тому

    These tutorials are so informative and concise! I've learned so much over the years! Keep up the good work

  • @keishrich
    @keishrich Місяць тому

    Simple, concise, relevant and substantial. You appeal to my way of learning. Thank you Leila!

  • @kurtjohnson1341
    @kurtjohnson1341 Місяць тому

    I wrote a macro more than 20 years ago to do this and still use it as needed. Good to learn some other ways as well, though, especially with PQ.

  • @kayvankoohestani1889
    @kayvankoohestani1889 26 днів тому

    Hi Leila Jaan,
    Thank you for the amazing video. I especially appreciate the second method for its simplicity and innovetiveness. 👍

  • @rosalindchen7935
    @rosalindchen7935 Місяць тому

    That's exactly what I have been looking for. Both #2 & #3 are my favorites. Love your clear and concise teaching! Thank you.

  • @daleanderson5258
    @daleanderson5258 Місяць тому

    Thanks Leila. Three great examples but I like #3 the best. I am in the process of learning Power Query. I like its power, and I still have a lot to learn.

  • @leerv.
    @leerv. Місяць тому

    Leila, thank you!! I can't believe that all this time I didn't realize you could import a named range into PQ! I always thought it had to be a table..... yes, even though the action is named From Table/Range. Thank you!!! :)

  • @johncouture3890
    @johncouture3890 Місяць тому

    Thanks. I always find something new to me when watching your videos. This time it was the named range. 👍

  • @karhukivi
    @karhukivi Місяць тому

    As always, Leila you're a star! I deal with very large data sets and when I sort them there are large numbers of blank rows which can be treated as "zero" values by some statistical operations in other software, so I need to remove blank rows. I found a fix using other software, but then the dataset has to be transferred back to Excel and this means another file name/extension etc. So your tutorial arrived at a good time and as I added my "like" I saw it was a nice binary number of 2^8 - must be a sign 🙂 Thank you!

    • @LeilaGharani
      @LeilaGharani  Місяць тому +1

      Happy to help!

    • @karhukivi
      @karhukivi Місяць тому

      @@LeilaGharani My data sets of geophysical data often have more than 1 million rows and 20 to 40 columns. To use them I usually have to filter them by the coordinates to a smaller size for the area of interest, so perhaps 5000 rows and 10 columns. Very unwieldy stuff!

  • @weightmn
    @weightmn Місяць тому +1

    I definitely like option 3, thanks for the video!

  • @lftr_react
    @lftr_react Місяць тому

    Ever want to get rid of blank rows in your dataset? Here's a feature that gives you vast data manipulation and can automate tasks and functions until the report is practically a living being... oh yea, and remove blank rows!
    Great stuff as always!

  • @shoboyjr
    @shoboyjr Місяць тому

    Great content as always! my highlight has to be the ability to get data into Power Query without converting it to a Table by using a Named Range. This is really useful to know. Thanks!

    • @LeilaGharani
      @LeilaGharani  Місяць тому +1

      Glad you found something helpful!

  • @jackennis9258
    @jackennis9258 Місяць тому +2

    Excellent video Leila! I’ve purchased many of your courses, including your first Power Query course - I’d love a comprehensive course on M and using M functions - have you any plans to develop a course on advanced M? 😊

  • @abdanomer
    @abdanomer Місяць тому +2

    Thank you Leila for these great ideas, I would use the 2nd way.
    I wish if you could share more Power Bi vidoes.

  • @andraveda
    @andraveda Місяць тому

    Hi Master Leila. Thank You! I love the power query method (#3) too.. I used to work with a lot of data source, and i use power query to gather these files all. It's realible and so fast. 👍

  • @BB0015
    @BB0015 Місяць тому

    Thanks Leila - Exactly what I was looking for!

  • @smitabidnur4401
    @smitabidnur4401 Місяць тому

    Thank you for this ... loved option 3 and your choice of Campaign Names & Responsible Person...

  • @chiwilanjabulosikwila3487
    @chiwilanjabulosikwila3487 Місяць тому

    Great video!
    At 1:51 another option is to press the 'F5' key instead of Ctrl+G to get to the Go To dialogue box.

  • @svenwagner4270
    @svenwagner4270 Місяць тому

    THANK YOU! i started as a BDM this week and i spend so much time on removing them by hand.
    And i love your Breaking Bad Data 🧑‍🍳🚙💊

  • @davida6955
    @davida6955 Місяць тому

    Go to special has long been my favorite, but the CountA helper column is very cool. Sometimes I get bogged down in Power Query efforts and they don't give me the results I want or it introduces complications that annoy...Still a great way to do it. So easy.

  • @karhukivi
    @karhukivi Місяць тому

    Hi Leila, method #1 works for me as the X and Y coordinates of data are essential identifiers - no coordinates and the data in that row is worthless. I don't think I can use method #3 power query and it seems rather complicated for me anyway. Method #2 using the "count entry cells" looks very useful for other operations where some data is missing. Thank you again!!

    • @LeilaGharani
      @LeilaGharani  Місяць тому +1

      No way, basic Power Query is easy. You should give it a try.

    • @karhukivi
      @karhukivi Місяць тому

      @@LeilaGharani Not sure it is in my version of Excel, I'll have a look - thanks!

  • @extraktAI
    @extraktAI Місяць тому

    I clicked away and was looking for the range and then you explained it. Amazing video!

  • @brentinokinawa
    @brentinokinawa Місяць тому

    I've been watching your videos for about 2 years now, and you've helped me SO MUCH! THANK YOU! But what if you needed to add rows between data...and I mean a bunch of rows where I need to add a blank row below each one. Is there an easy way to do that? Thanks again, and keep the good stuff coming.

  • @sunitha5467
    @sunitha5467 14 днів тому

    Thanks 👍 I will try the last one 😊

  • @RTWRTW-RTWRTW
    @RTWRTW-RTWRTW 10 годин тому

    Easier said than done! 🙏🤲.
    Good luck!

  • @melissabrown1068
    @melissabrown1068 Місяць тому

    Another great lesson. Thank you for the wealth of knowledge you have and are continuing to share with me

  • @mrdennischapman
    @mrdennischapman 28 днів тому

    I really love your great video's along with the gorgeous smile. I have another way to do this, which I think is the most simple. To delete blank rows I sort the first column by whatever is in there and the blank rows appear at the bottom. Then I select all of those blank rows and delete. It only takes me about 20 seconds to do this.

  • @RABacct
    @RABacct Місяць тому

    All of them are good. The most useful for me is #3, as I'm often having to deal with changing data. Also, was so busy following steps, I just noticed the responsible people and their activities lol.

  • @humansizedaperture
    @humansizedaperture Місяць тому

    Thank you for the named range work around, not that power query from a table is ever too big of a problem but it is nice to have alternatives. I still vote 2!

  • @AnnieAwudi
    @AnnieAwudi 18 днів тому

    Watching this in 2024 and Leila is the real GOAT. Thumbs up

  • @Ticky66MN
    @Ticky66MN Місяць тому +1

    I just right click in a blank and filter by selection and I keep delete rows in my custom ribbon to remove them quickly. Thanks Leila! I do need to use PQ more and more though.

  • @leorc564
    @leorc564 Місяць тому

    thank you!! Power Query is the best!! Maravilloso!! Awesome!

  • @JosephFallon
    @JosephFallon Місяць тому +4

    This is very, very cool. I'm embarrassed how long I've spent removing blank rows

  • @kenmcmillan2637
    @kenmcmillan2637 Місяць тому

    Hands down, #3. A no-brainer!!

  • @BobG-eh5fc
    @BobG-eh5fc Місяць тому

    All methods are great, thanks for sharing your knowledge.

  • @fareedbadar8793
    @fareedbadar8793 21 день тому

    As usual wonderful!

  • @zro.tolerance
    @zro.tolerance Місяць тому

    Thanks!! That name range thing with Power Query is nice.

  • @prashantk.a.6849
    @prashantk.a.6849 Місяць тому

    Really cool. My favourite is power query ❤

  • @NicolasChanCSY
    @NicolasChanCSY Місяць тому +1

    The first and second methods are great most of the time, unless the range is referenced by many formula, and in such case Excel will take a long time to update all references for each row deletion. Then, creating a copy based on COUNTA or PQ would be more efficient.

  • @tamer9898
    @tamer9898 Місяць тому

    Thanks Leila, This is great job 👋👋👋

  • @jasonipfatsiong2062
    @jasonipfatsiong2062 Місяць тому

    Impressive, many thanks Leila..yup 3rd option

  • @francesdobbins2964
    @francesdobbins2964 Місяць тому

    Very informative tutorial, Leila.

  • @neciwillis2055
    @neciwillis2055 27 днів тому

    This was so helpful

  • @jignasajoshi27
    @jignasajoshi27 17 днів тому

    I like Option 3 ..... Thank you.

  • @ayanray88
    @ayanray88 Місяць тому

    Powerquery is my obvious choice. But, I just learnt how to create a named range and use it in the powerquery. Thank you

  • @cherifcherif5652
    @cherifcherif5652 18 днів тому +1

    Hi !
    Thanks for your videos.
    Could you please make a simple video to show us how we can combine multiple sheets of an excel file dynamically so if I add another sheet ,my new file will be updated,thank you in advance

  • @sevetp
    @sevetp Місяць тому

    Great video :-) not a big addition to it, but, for the counta() method, instead of scrolling down to copy the formula, I usually type a random sign ("*" usually) at the bottom of the data set (I176) then starting from I2 where the formula is, CTRL + SHIFT + down to copy the formula.

  • @AnbarasuAnnamalai
    @AnbarasuAnnamalai Місяць тому +1

    I like the Power Query method

  • @Aftab_Ahmad_ajk
    @Aftab_Ahmad_ajk Місяць тому

    I apply all three tricks but the 3rd one is super for data integrity.

  • @vinayanna
    @vinayanna Місяць тому

    Two things I loved about this video:
    1. The Power Query method
    2. The Breaking Bad references ♥️

  • @quicktastic
    @quicktastic Місяць тому +3

    Always make backup copy before starting.

  • @isalmankhan1
    @isalmankhan1 Місяць тому

    WoW Amazing Thanks for sharing, you're the Best in the World👍🏻👍🏻👍🏻
    I hope someday I will be a pro learning from your channel, it's a blessing😍😍😍
    Love your work, huge fan👍🏻👍🏻👍🏻

  • @brucepeaslee3952
    @brucepeaslee3952 Місяць тому

    I almost did not watch this, thinking it would not be useful. But I did, and the next day I imported a needed spreadsheet with dozens of blank lines. If not for the technique, I would still be at it manually. Thx.

    • @LeilaGharani
      @LeilaGharani  Місяць тому

      Fantastic! Glad the video was helpful.

  • @SAKE42able
    @SAKE42able Місяць тому +1

    Power Query is the best

  • @chh8860
    @chh8860 Місяць тому +2

    ALWAYS a treat when I receive a notification of another 'Leila' instructional video (caught me a bit by surprise this morning ... I had black coffee in hand, but no pound cake ... 😞).
    I don't deal with such large data sets. But once again, I find myself smiling during Lelia's delivery and thinking " ... oh, that's pretty cool ...". I had no idea these options were available. I would likely use #1 as I am still a 'Not-Ready-For-Primetime' Nija when it comes to Power Query and Pivot Tables. But I am moving closer. Leila's ideas and delivery are still SO good. Thank you ... thank you ... thank you ... 😍😍😍.
    PS
    At the 6:42 mark, " ... I am not a fan of these table styles, I am just going to go and remove this ...". 😁 ... 😂🤣😂... 😂🤣😂 ...😂🤣😂

    • @LeilaGharani
      @LeilaGharani  Місяць тому

      Thank you so much for tuning in again! Next time 2 slices. 😁

    • @chh8860
      @chh8860 Місяць тому

      @@LeilaGharani 😂🤣😂 ... 👍👍

  • @E-ToolBox
    @E-ToolBox Місяць тому

    wow nice short cut keys i like, thanks

  • @asmrindia
    @asmrindia Місяць тому +1

    Nice Mam😊

  • @CB-gb7uq
    @CB-gb7uq 14 днів тому

    Awesome, thank you. Love the Breaking Bad reference! 😊

  • @GeertDelmulle
    @GeertDelmulle Місяць тому

    All of the above.
    BTW: I like to use Excel Tables, too, so I have that dynamic aspect as well.
    For me I like to go with the dynamic route (and the data would be in a separate file, therefore PQ-M for the win, here.

  • @muraliramachandran1064
    @muraliramachandran1064 29 днів тому

    Using Power Query is great

  • @albertokusmic9239
    @albertokusmic9239 Місяць тому

    Brilliant, thanks for sharing 🌹

  • @vartikcsaba
    @vartikcsaba Місяць тому

    This is super useful!

  • @adanudave886
    @adanudave886 Місяць тому

    You are simply the best.

  • @remco2777
    @remco2777 Місяць тому

    Brilliant tip!

  • @johnphilippatos
    @johnphilippatos Місяць тому +1

    I sometimes like to practice the old ways. I would add a column before column A and then I would create a numerical sequence (1,2,3...etc.) from cell A1 all the way downwards to the last row of my dataset. I would create another column before A, and from cell A1 and downwards, I would use, either the COUNTA function the way you used it (more failsafe and quick), or, if I would like to punish myself some more, I would use an OR function featuring inside every cell in the row like this: OR(C1"",D1"",......) and so on, nested inside an IF function that would convert TRUE and FALSE to 1 and 0 respectively. The complete function would look like this: =IF(OR(C1"",D1""......),1,0). I would autofill the function downwards, so that if a row is completely blank I'd get a 0, or an 1, if any of the cells was not blank. Then, I would sort the whole dataset ascending, by column A firstly and column B secondly. This would put all the zeros a.k.a the blank rows together. Then, I would delete all the rows for which that the function gave back 0 and then I would remove column A, sort data again by the new column A (not a necessary step, as they will have been already sorted correctly, but just in case) and finally I would remove (the new) column A and job is done. COUNTA would work in the same way, but instead of 0 and 1, it would give me back all kinds of positive integers, depending on how many cells in a row are not blank. Nevertheless, I would still delete the rows with the zeros.
    From the three solutions, my vote goes to the second, but only because I'm not familiar with power query.
    Thanks Leila for everything.

  • @robertdon777
    @robertdon777 13 днів тому

    Thank the Lord!...Perfect

  • @neelamzaidi9945
    @neelamzaidi9945 Місяць тому +1

    More I use power query the more I am loving it

  • @junejaundoo3827
    @junejaundoo3827 Місяць тому

    Power query, for sure 💪🏼

  • @gandhisunil3
    @gandhisunil3 Місяць тому

    Method 3 is most certain method when we are not certain about identifying column
    I love Power query as i learnt from a mentor none other than you

  • @michaelnewtown
    @michaelnewtown Місяць тому

    Power query is my favorite, but the other two ways are fun.

  • @samshoes1
    @samshoes1 Місяць тому

    Number 3, no question!

  • @MrSupernova111
    @MrSupernova111 Місяць тому

    Very cool! Thanks!

  • @chintandholakiya
    @chintandholakiya Місяць тому

    I personally do the one with counta a lot, but will definately checkout powerquery

  • @khokhar4931
    @khokhar4931 Місяць тому

    Thank you, Leila👍

  • @flaviogarlatticosta
    @flaviogarlatticosta Місяць тому

    Great ! best way for me #3

  • @teoxengineer
    @teoxengineer Місяць тому

    Thanks for this useful video.
    How can regular line breaks be added to data ranges in a full dataset?

  • @westleyempeigne6541
    @westleyempeigne6541 16 днів тому

    Definitely no 3 if I’m going to have to do that a lot

  • @sushilexcel4966
    @sushilexcel4966 Місяць тому

    I like 3 one... Thank you Genious

  • @cerealport2726
    @cerealport2726 Місяць тому

    i think each method has its merits. if it's a spreadsheet that is not going to be updated much, or is just temporary, then methods 1 and 2 are nice. method 3 is great if its a spreadsheet that is part of a workflow

  • @deliabee
    @deliabee Місяць тому

    Method #3. Very nice.

  • @reigngrifth
    @reigngrifth Місяць тому +1

    I think method 2 is my go to since I don't have power user colleagues and its really frustrating when they break functions by doing the uninformed way

  • @jorgelara3116
    @jorgelara3116 Місяць тому

    Thanks a lot again you are amazing❤ Gby

  • @Merione
    @Merione Місяць тому

    What I usually do in this case is to use the sort function: if I have an identifier column, like the date in this case, I would select the entire column, and then simply sort it either in ascending or descending order (depending on the situation), and I make sure that I expand the selection to the entire table, not just the column. This automatically puts all the empty rows at the bottom, without the need to delete anything. And if there's data missing in my identifier column they will also all be grouped at the end, so that I can check them manually if I have to

  • @deegadams
    @deegadams Місяць тому +2

    I love power query

  • @extraktAI
    @extraktAI Місяць тому

    Great video! Just wondering, does macbook have a home key?

  • @kamranqureshi9142
    @kamranqureshi9142 23 дні тому

    Please share videos to make learn excel convenient for chartered accountants

  • @annalukacs4399
    @annalukacs4399 Місяць тому +7

    How about the lazy way? Sort the range and let the empty ones go to the end😂