+ Reply to Thread
Results 1 to 3 of 3

Automatically delete empty rows in new column

  1. #1
    Registered User
    Join Date
    01-06-2023
    Location
    Amsterdam
    MS-Off Ver
    mac
    Posts
    1

    Automatically delete empty rows in new column

    I have a column in Excel with a number of values below each other, with empty rows in between. I would like to automatically create a new column on a new page where all these values will be lined up, without the empty rows in between.
    Is there a way (formula) to do this?
    To illustrate, I have attached a file of how I would like it.

    Hope you have an idea to make this happen!

    Thank you in advance
    Giel
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,372

    Re: Automatically delete empty rows in new column

    Put in D5 then copied down

    =IFERROR(INDEX($B$5:$B$15,AGGREGATE(15,6,(ROW($B$5:$B$15)-MIN(ROW($B$5:$B$15))+1)/($B$5:$B$15<>""),ROW(A1))),"")
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,849

    Re: Automatically delete empty rows in new column

    "mac" is not an Excel Version - please update your profile. IF you are on MS 365 or 2021 or higher, try this:

    =FILTER(B5:B15,B5:B15<>"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-07-2019, 10:54 AM
  2. [SOLVED] Automatically delete empty rows
    By applebanana in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-07-2018, 06:24 PM
  3. Check column for empty rows, delete rows shift cells up?
    By B.W.B. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-06-2017, 12:41 PM
  4. Delete empty rows above and below in a column
    By emymeeky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-05-2014, 01:00 PM
  5. How do I delete empty rows in column A?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-20-2011, 09:13 AM
  6. How to delete empty rows in multiple column?
    By x15 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2005, 04:40 PM
  7. Automatically hide or delete empty rows after IF ?
    By Lost! in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2005, 05:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1