+ Reply to Thread
Results 1 to 9 of 9

Create dynamic list based on blank cells

  1. #1
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Create dynamic list based on blank cells

    Hi Folks,

    I run a training oversight workbook and I'm trying to dynamically create a list of users who need to be enrolled in training.

    Using data from the "Data Source" worksheet, I'm trying to dynamically create a list on different worksheet based on whether or not the cells in column O or Q is blank.

    If one or other (or both) of the cells in columns O and Q are blank, then I want to be able to pull certain values across to the 'desired output' tab (without any blank rows).
    • Columns A - M of the "Data Source" tab (Headers marked in Red) MUST be maintained in the order they're in
    • I have no issues with having a 'helper' column in column Z of the "Data Source" Tab.

    I've tried working it with Index and Aggregate and while I feel I've been close it just doesn't quite work for me.

    Any help, as always, will be very much appreciated.

    Any questions, queries or clarity needed, drop me a line

    MM
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Create dynamic list based on blank cells

    do you have 2019 or office 365
    filter would work

    =FILTER('Data Source'!A3:Z200,(('Data Source'!B3:B200<>"")*(('Data Source'!O3:O200="")+('Data Source'!Q3:Q200=""))))
    and can use choosecols() to restrict the columns

    have to go - half way through this - sorry
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Create dynamic list based on blank cells

    Taking it a step forward:

    =LET(A,CHOOSECOLS(FILTER('Data Source'!A3:Z200,(('Data Source'!B3:B200<>"")*(('Data Source'!O3:O200="")+('Data Source'!Q3:Q200="")))),2,3,4,6,23,24,25),IF(A="","",A))

    BUT. Where are the raw data for columns H-M???
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Create dynamic list based on blank cells

    Another way "A2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    by pressing shift+ctrl+enter
    Red font : change as per column.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Create dynamic list based on blank cells

    I found a few more. In this formula, replace the 1s with whatever column you need. I couldn't figure it out!! The seem NOT to exist...


    =LET(A,CHOOSECOLS(FILTER('Data Source'!A3:Z200,(('Data Source'!B3:B200<>"")*(('Data Source'!O3:O200="")+('Data Source'!Q3:Q200="")))),2,3,4,6,23,24,25,1,1,1,1,1,1,5,16,1,10,14,11),IF(A="","",A))
    Attached Files Attached Files

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Create dynamic list based on blank cells

    sorry i had to leave after producing a partial solution, however looks like you have answers now , so i will leave to the other experts here

  7. #7
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Re: Create dynamic list based on blank cells

    Hi Team

    Firstly, I was able to use the basis of etaf's initial solution to work out a good solution. Basically, I used the "Filter" just in column A and then, as the employee number is unique, I used Index and Match for the remainder of the data.

    @Glenn. A couple of weeks ago my work laptop was refreshed, and I lost several functions and capabilities (more than a little bit annoying ) So I couldn't implement your solution. Also, you asked where the data for columns H - M were. The data in those cells is generated by the content in the location, Secondary filter and the final column (which is the individual's grade) Whatever is calculated in those columns determines wehre a "Y" entered in to columns J - N and then the values in H, (I) and J is calculated based on that.

    All this enables me to export the A2:M? as a CSV for uploading in to the LMS.

    Anyway, thanks again to all of you for all your help. I will mark this thread as solved.

    MM

  8. #8
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Re: Create dynamic list based on blank cells

    Quote Originally Posted by etaf View Post
    sorry i had to leave after producing a partial solution, however looks like you have answers now , so i will leave to the other experts here
    No problems, you pointed me in the right direction - Rep added

  9. #9
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Create dynamic list based on blank cells

    you are welcome

+ 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] Make a Dynamic List & Ignore Blank Cells
    By daxcallagher in forum Excel General
    Replies: 1
    Last Post: 04-07-2022, 12:18 AM
  2. [SOLVED] Create Dynamic List with Blank Rows in the Data
    By Lewis Clark in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-17-2020, 04:53 PM
  3. [SOLVED] How to create a dynamic list (column) of data and remove blank
    By Daddynocred in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-25-2017, 02:07 PM
  4. Create a dynamic list based on multiple dynamic factors.
    By sabin348 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-07-2015, 11:05 AM
  5. [SOLVED] using vba to create a dynamic list that is based on the first list
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2013, 02:40 AM
  6. [SOLVED] Create new list based on data from another dynamic list
    By y_not in forum Excel General
    Replies: 6
    Last Post: 01-04-2013, 09:16 AM
  7. Skipping blank cells in a list to create an uninterrupted list
    By bdance in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2007, 06:26 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