+ Reply to Thread
Results 1 to 7 of 7

Extract/Filter Names From A List AND Filter Out Blank Cells

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Extract/Filter Names From A List AND Filter Out Blank Cells

    I have a table with a list of staff names (about 400 rows) and a column with the team they belong to (1-6). I then have 31 columns, one for each day of the month and text entered in some of those cells. Not every cell is populated though.

    What I'm looking to do, in another sheet, is...
    a) create a new table with a list of just Team 1 staff and
    b) only show their entries for whichever day(s) they have info in those cells (and not include all the blank cells)

    I.e. if someone only had data in the 2 Jun and 7 Jun columns I'd want the table to show their name and then the 2 Jun / 7 Jun details and nothing else.

    I have attached a small example of this. I tried to use FILTER with Index/Match and Vlookup to search for their name and then return the relevant results but haven't got this to work... Can anyone help with this?
    Attached Files Attached Files

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

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    How about in E5 dragged down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    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,491

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    This maybe?

    =SORT(FILTER('Full List'!$B$5:$L$15,('Full List'!$C$5:$C$15=1)))

    Or this:

    =LET(s,SORT(FILTER('Full List'!$B$5:$L$15,('Full List'!$C$5:$C$15=1))),IF(s=0,"",s))
    Last edited by AliGW; 07-01-2022 at 07:05 AM.
    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.

  4. #4
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    Hi Fluff13.

    This formula does the job perfectly, thanks!

  5. #5
    Registered User
    Join Date
    10-15-2013
    Location
    Scotland
    MS-Off Ver
    Microsoft 365
    Posts
    71

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    Hi AliGW.

    Both those formulas do the job of pulling the names for team 1 but also all of the data - it doesn't filter out the blanks though. However, the formula from Fluff13 filters out the blanks so I can use that one. Thanks for taking the time to reply.

  6. #6
    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,491

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

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

    Re: Extract/Filter Names From A List AND Filter Out Blank Cells

    Glad to help & 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. Filter and sort out a list into data input sheet except a blank cells
    By Mohammad Munawar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-31-2020, 09:26 AM
  2. [SOLVED] How to filter the names from a list of names without duplicates
    By jayait2000 in forum Excel General
    Replies: 6
    Last Post: 10-11-2012, 04:24 AM
  3. Filter list of names by letter
    By Mark1011 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-19-2012, 12:10 AM
  4. Using a filter on a list of names
    By reynastus in forum Excel General
    Replies: 3
    Last Post: 03-11-2011, 02:11 AM
  5. [SOLVED] How do I use advanced filter to filter for blank cells?
    By Monique in forum Excel General
    Replies: 2
    Last Post: 03-21-2006, 02:45 PM
  6. Extract filter items from Drop-Down Automatic Filter
    By karpatov in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2006, 02:10 PM
  7. filter 400 names from list 1 from list 2 with 4000 names
    By Ed in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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