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

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

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

  • @LeilaGharani
    @LeilaGharani  19 часов назад +3

    Download the practice file I used in the video: xelplus.ck.page/remove-blank-rows-file. And if you're ready to make Excel even easier, check out my Power Query course for automating tasks 👉 www.xelplus.com/course/excel-power-query/
    or learn about Pivot Tables to analyze data faster 👉www.xelplus.com/course/excel-pivot-tables/.
    These tools will save you tons of time!

  • @ruthngmj
    @ruthngmj 14 часов назад +6

    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  11 часов назад

      Our pleasure! Glad you liked our Power Query course.

  • @jackennis9258
    @jackennis9258 16 часов назад +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? 😊

  • @chrism9037
    @chrism9037 17 часов назад +3

    I like option 3 too, thanks Leila!

  • @patrickpointer8380
    @patrickpointer8380 15 часов назад +4

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

  • @leorc564
    @leorc564 Час назад

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

  • @Ticky66MN
    @Ticky66MN 15 часов назад +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.

  • @StephanBenne
    @StephanBenne 8 часов назад

    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.

  • @rosalindchen7935
    @rosalindchen7935 11 часов назад

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

  • @leerv.
    @leerv. 3 часа назад

    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!!! :)

  • @keishrich
    @keishrich 12 часов назад

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

  • @chh8860
    @chh8860 18 часов назад +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  11 часов назад

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

    • @chh8860
      @chh8860 11 часов назад

      @@LeilaGharani 😂🤣😂 ... 👍👍

  • @weightmn
    @weightmn 18 часов назад +1

    I definitely like option 3, thanks for the video!

  • @abdanomer
    @abdanomer 19 часов назад +2

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

  • @AnbarasuAnnamalai
    @AnbarasuAnnamalai 14 часов назад +1

    I like the Power Query method

  • @albertokusmic9239
    @albertokusmic9239 7 часов назад

    Brilliant, thanks for sharing 🌹

  • @SAKE42able
    @SAKE42able 14 часов назад +1

    Power Query is the best

  • @MrSupernova111
    @MrSupernova111 11 часов назад

    Very cool! Thanks!

  • @adanudave886
    @adanudave886 18 часов назад

    You are simply the best.

  • @khokhar4931
    @khokhar4931 18 часов назад

    Thank you, Leila👍

  • @andraveda
    @andraveda 18 часов назад

    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. 👍

  • @davida6955
    @davida6955 4 часа назад

    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.

  • @mramsch
    @mramsch 14 часов назад +1

    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 :)

  • @deliabee
    @deliabee 16 часов назад

    Method #3. Very nice.

  • @Aftab_Ahmad_ajk
    @Aftab_Ahmad_ajk 9 часов назад

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

  • @zro.tolerance
    @zro.tolerance 13 часов назад

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

  • @JosephFallon
    @JosephFallon 18 часов назад +3

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

  • @BobG-eh5fc
    @BobG-eh5fc 18 часов назад

    All methods are great, thanks for sharing your knowledge.

  • @ferziziibrahim3354
    @ferziziibrahim3354 19 часов назад

    Thanks!

  • @lftr_react
    @lftr_react 9 часов назад

    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!

  • @favourabiodun3572
    @favourabiodun3572 18 часов назад

    Thank you very much

  • @karhukivi
    @karhukivi 17 часов назад

    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  11 часов назад +1

      Happy to help!

    • @karhukivi
      @karhukivi 11 часов назад

      @@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!

  • @neelamzaidi9945
    @neelamzaidi9945 14 часов назад +1

    More I use power query the more I am loving it

  • @arunbaburaj
    @arunbaburaj 18 часов назад

    Hi Leila, in method 2, shouldn't we select the visible cells before deleting or does it get selected automatically?

  • @chiwilanjabulosikwila3487
    @chiwilanjabulosikwila3487 17 часов назад

    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.

  • @isalmankhan1
    @isalmankhan1 11 часов назад

    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👍🏻👍🏻👍🏻

  • @karhukivi
    @karhukivi 17 часов назад

    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  11 часов назад +1

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

    • @karhukivi
      @karhukivi 11 часов назад

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

  • @rabcproj
    @rabcproj 12 часов назад

    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.

  • @svenwagner4270
    @svenwagner4270 18 часов назад

    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 🧑‍🍳🚙💊

  • @luchoniv
    @luchoniv 12 часов назад

    The Power Query option... the best option

  • @reigngrifth
    @reigngrifth 19 часов назад +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

  • @deegadams
    @deegadams 2 часа назад

    I love power query

  • @lahneem2010
    @lahneem2010 8 часов назад

    I'm a big fan of power query option 3

  • @michaelnewtown
    @michaelnewtown 18 часов назад

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

  • @mdajimbhuiyan9092
    @mdajimbhuiyan9092 19 часов назад

    Love from Bangladesh 🎉

  • @williamarthur4801
    @williamarthur4801 14 часов назад

    I liked some of the shortcuts best, now how about inserting blank rows at given intervals or change in value ?

    • @LeilaGharani
      @LeilaGharani  11 часов назад

      Power Query is great for that 😀

  • @GeertDelmulle
    @GeertDelmulle 12 часов назад

    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.

  • @gandhisunil3
    @gandhisunil3 11 часов назад

    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

  • @johnphilippatos
    @johnphilippatos 11 часов назад +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.

  • @robparker1625
    @robparker1625 15 часов назад +2

    I have some VBA to do this

  • @marathoner43
    @marathoner43 14 часов назад

    The 3rd method seems best. My only question would be can it handle the rows where say the date is blank, but there is data in the rest of the row, like you showed in example 2.

    • @LeilaGharani
      @LeilaGharani  11 часов назад

      That and much more. Power Query is amazing.

  • @vinayanna
    @vinayanna Час назад

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

  • @anantshah5094
    @anantshah5094 14 часов назад

    Leila what if the case is like- in same data set two cells are merged but one has content & another not..how can I demerge them in one time.

  • @Merione
    @Merione 18 часов назад

    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

  • @cerealport2726
    @cerealport2726 16 часов назад

    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

  • @shyn5613
    @shyn5613 Час назад

    I like option 1. It doesn't require you to either create a helper column or rename your table range etc.

  • @kassimbusari
    @kassimbusari 19 часов назад

    All methods are good depending on the need.

  • @sivashankerkrishnaswamy2339
    @sivashankerkrishnaswamy2339 14 часов назад

    Definitely 2 & 3 option...2nd is more useful when two or more cell are merged

  • @ennykraft
    @ennykraft 9 часов назад

    Or you could use the FILTER function. With the data you used for Power Query the function would be: =FILTER(A2:H196,A2:A196"")
    ETA: For the second data set, it would be =FILTER(A2:H392,BYROW(A2:H392,LAMBDA(t,TEXTJOIN("",,t)))"")

  • @WitoldWiniarczyk
    @WitoldWiniarczyk 18 часов назад

    I prefer method nr 3 :)

  • @pdrg
    @pdrg 19 часов назад +12

    "Remove Duplicates" will also leave you with a single blank row to delete

    • @doomed1389
      @doomed1389 13 часов назад

      Tbh, firstly agreed with you. But if cell with date is blank (like example date is given once per day in upper cell), but all other cells of row are filled with the same values - row will be removed as duplicated.
      Example: john washed 3 cars per whole day, and earned 60 euros. And this repeated in three days. But dates were different 15/10 and 18/10. And as described higher on example if cell with date is blank. Then instead of two rows you will get one, as duplicate will think that all data is the same and will remove duplicated row.

    • @keylanoslokj1806
      @keylanoslokj1806 13 часов назад

      ​@@doomed1389damn I'm too dumb to understand that😂

    • @doomed1389
      @doomed1389 12 часов назад +1

      @@keylanoslokj1806 not you, me, if i couldn't describe well)
      Shortly, you have 5 columns like: 1 date (can be blank) , 2nd (Mika/John), 3rd (car wash/waxing), 4th (1/3/73 cars per day), 5th (how much money was earned). And example John washed 3 cars an got 60 euros on 15/10 and the same on 18/10. So in this case you will have same data in two rows. But the first column where the date is blank for these rows. So it will be duplicated, right? And John washed them 15/10 and 18/10. So if you remove one row as a duplicate - you will lose some data.

    • @doomed1389
      @doomed1389 12 часов назад

      @@keylanoslokj1806 so, the main idea is: iIf you want to remove duplicates based on 5 columns, you should be sure that Excel will not understand some rows as duplicated. Or you may lose some rows as removed by duplicate.
      And on example instead of 100 rows - you will get 98 rows. As two had the same information and were removed. But examples shown by leila will not remove such rows, as at least there is some info given.

    • @doomed1389
      @doomed1389 12 часов назад

      ​​​@@keylanoslokj1806my additional comment disappeared)
      So, if you want to use remove duplicate by 5 columns - you should be sure that some of rows will not have the same information in each of columns. As instead of 100 rows you can get 98, as two were removed as fully had the same information. And examples given by Leila avoid this, as if there are at least some info - rows will not be deleted.

  • @nadermounir8228
    @nadermounir8228 7 часов назад

    Power Query

  • @clifforddsouza4855
    @clifforddsouza4855 17 часов назад

    Power query is the way forward

  • @jaredweaver6889
    @jaredweaver6889 5 часов назад

    #2. I've used something like that before.

  • @fransbast3018
    @fransbast3018 10 часов назад

    Alternative: Sort the rows based on the unique keys and name of person and the blank lines can be selected and deleted at once.

  • @Kunalindia3
    @Kunalindia3 12 часов назад

    PQ ofcourse. But on simple data set, method 1 just works faster 😊

  • @annalukacs4399
    @annalukacs4399 8 часов назад +2

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

  • @enocharthur4322
    @enocharthur4322 19 часов назад +1

    Got here first

  • @SgtRock4445
    @SgtRock4445 9 часов назад

    Just sort the dataset?

  • @BobG-eh5fc
    @BobG-eh5fc 15 часов назад

    I wish there was a quick way to get to the end of a row, bypassing blank cells. ctrl+shift+end gets me to the end of everything, then I can go to the row I want, but wish there was a hot key...

  • @savantank1560
    @savantank1560 18 часов назад

    I am Doing Just Shorting data and Done..

  • @quicktastic
    @quicktastic 6 часов назад

    Always make backup copy before starting.

  • @TheDigitalOne
    @TheDigitalOne 25 минут назад

    Why not just ask the AI of Excel to delete all blank rows, that should be simpler and faster, right? Thanks, cool time saving when deleting multiple blank rows! 🥰✨💎

  • @krzysztofmazurkiewicz5270
    @krzysztofmazurkiewicz5270 19 часов назад

    I would progbably use option 2 but i can see uses for option 3

  • @toddrowe9670
    @toddrowe9670 14 часов назад +1

    LOL, I just noticed the Breaking Bad data...

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz 16 часов назад

    I like option 3. I am forcing myself to use Power Query instead of Excel functions for data cleaning tasks.

  • @anouarmizouri1310
    @anouarmizouri1310 15 часов назад

    👍👍😃😃

  • @sebfox2194
    @sebfox2194 3 часа назад

    I filter, select only the blanks, then delete them all at once.

  • @deamon606
    @deamon606 17 часов назад

    2137 👀
    🇻🇦

  • @salmanmehmood470
    @salmanmehmood470 18 часов назад

    U r cute 🥰

  • @AndreiSamson2
    @AndreiSamson2 19 часов назад

    A girl that knows more than plugging in a PC? Impossibru!

  • @ryanyang2486
    @ryanyang2486 14 часов назад

    I like way 1. But it can be easier that you just choose the whole first column, choose the blank cells and delete the whole rows. Key point is to choose the whole column.