+ Reply to Thread
Results 1 to 8 of 8

Scheduling List - Need to Remove Blank Rows

  1. #1
    Registered User
    Join Date
    07-25-2020
    Location
    Wharton, NJ
    MS-Off Ver
    Office 365 ProPlus
    Posts
    4

    Scheduling List - Need to Remove Blank Rows

    Good morning everyone. I need some help with putting together a scheduling list for training. I've been working on it for days to no avail. I just can't get my head around how Arrays, Index, Small, Row works in order to create the results I need. I have a large spreadsheet with the data (I'm attaching a small version of some of the info in generic terms). Sheet 1 has my data. What I need to do is take everyone from Column F and place them into their corresponding Group on Sheet 2. But when I use my formula, it comes out looking like Sheet 2 but I would like it to look like Sheet 3. Is there a way to do this? I would also love an explanation of how and why to set it up the correct way if possible. Thanks in advance!

    The formula I used is =IF(F3="Group 1 - Class 1",A3,"")
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Scheduling List - Need to Remove Blank Rows

    Welcome to the forum.

    Please update your forum profile - your MS Office version is not New Jersey! Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-25-2020
    Location
    Wharton, NJ
    MS-Off Ver
    Office 365 ProPlus
    Posts
    4

    Re: Scheduling List - Need to Remove Blank Rows

    Sorry about that, all fixed now! Thanks.

  4. #4
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Scheduling List - Need to Remove Blank Rows

    Hi Snagrodla

    Group 1
    =IFERROR(IF(ROWS(E$17:E17)>COUNTA($A$17:$A$27),"",INDEX(A:A,SMALL(IF($A$17:$A$27<>"",ROW($A$17:$A$27)),ROWS(E$17:E17)))),"")
    Group 2
    =IFERROR(IF(ROWS(F$17:F17)>COUNTA($B$17:$B$26),"",INDEX(B:B,SMALL(IF($B$17:$B$26<>"",ROW($B$17:$B$26)),ROWS(F$17:F17)))),"")
    Group 3
    =IFERROR(IF(ROWS(G$17:G17)>COUNTA($C$17:$C$26),"",INDEX(C:C,SMALL(IF($C$17:$C$26<>"",ROW($C$17:$C$26)),ROWS(G$17:G17)))),"")

    These are array formula, press CTRL-SHIFT-ENTER and drag down for each column
    Christopher Yap

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Scheduling List - Need to Remove Blank Rows

    As you have 365, you may have the dynamic array functions. If you do, here is another option
    In A17
    =FILTER(Table1[Colulmn A],Table1[Colulmn F]=A16&" - Class 1")
    then for b17, just change the A16 in the formula to B16 & similar for C17

  6. #6
    Registered User
    Join Date
    07-25-2020
    Location
    Wharton, NJ
    MS-Off Ver
    Office 365 ProPlus
    Posts
    4

    Re: Scheduling List - Need to Remove Blank Rows

    Quote Originally Posted by Fluff13 View Post
    As you have 365, you may have the dynamic array functions. If you do, here is another option
    In A17
    =FILTER(Table1[Colulmn A],Table1[Colulmn F]=A16&" - Class 1")
    then for b17, just change the A16 in the formula to B16 & similar for C17
    Thank you, I think this worked for me!!!

  7. #7
    Registered User
    Join Date
    07-25-2020
    Location
    Wharton, NJ
    MS-Off Ver
    Office 365 ProPlus
    Posts
    4

    Re: Scheduling List - Need to Remove Blank Rows

    Quote Originally Posted by bluesky63 View Post
    Hi Snagrodla

    Group 1
    =IFERROR(IF(ROWS(E$17:E17)>COUNTA($A$17:$A$27),"",INDEX(A:A,SMALL(IF($A$17:$A$27<>"",ROW($A$17:$A$27)),ROWS(E$17:E17)))),"")
    Group 2
    =IFERROR(IF(ROWS(F$17:F17)>COUNTA($B$17:$B$26),"",INDEX(B:B,SMALL(IF($B$17:$B$26<>"",ROW($B$17:$B$26)),ROWS(F$17:F17)))),"")
    Group 3
    =IFERROR(IF(ROWS(G$17:G17)>COUNTA($C$17:$C$26),"",INDEX(C:C,SMALL(IF($C$17:$C$26<>"",ROW($C$17:$C$26)),ROWS(G$17:G17)))),"")

    These are array formula, press CTRL-SHIFT-ENTER and drag down for each column
    Thank you for responding! I'm still trying to get this one to work for me. when I copied it into my real spreadsheet, which has 230 rows, not all the names were displayed that should've been displayed. I'm going to keep trying it though since I'm sure it was me having the change the row letters and numbers to get it to work on the real sheet! Thank you again!

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Scheduling List - Need to Remove Blank Rows

    Thank you, I think this worked for me!!!
    You're welcome & thanks for the feedback.

+ 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. [SOLVED] Remove Blank Rows
    By mikehk in forum Excel General
    Replies: 8
    Last Post: 02-01-2019, 04:13 AM
  2. [SOLVED] Remove blank rows that aren't really blank (contain unused formulas)
    By painterartist in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2014, 02:01 PM
  3. [SOLVED] VBA to remove blank rows
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2013, 10:11 AM
  4. Scheduling: Calendar style scheduling based on scheduling list
    By denkatprieto in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-19-2012, 11:10 AM
  5. Remove blank rows from list box
    By delolding in forum Excel General
    Replies: 6
    Last Post: 08-30-2012, 12:19 PM
  6. How to remove blank rows, then insert blank row conditionally, PLUS error proof
    By GTS115 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2009, 11:39 AM
  7. [SOLVED] remove blank rows
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 02-20-2006, 11:45 AM

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