+ Reply to Thread
Results 1 to 11 of 11

Create List From Table

  1. #1
    Registered User
    Join Date
    07-04-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    17

    Create List From Table

    Dear all,

    Excel List.jpg

    As per the above - how can I create a list of required tasks based on a dropdown box - I think this is an INDEX formula?

    Many thanks in advance
    Paul

  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,460

    Re: Create List From Table

    Attach the workbook, not an image of it.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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-04-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Create List From Table

    Hope the attached has worked,

    Thanks
    Paul
    Attached Files Attached Files

  4. #4
    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,460

    Re: Create List From Table

    In L2:

    =IFERROR(INDEX(B:B,SMALL(IF(INDEX($F$2:$H$19,,MATCH($L$1,$F$1:$H$1,0))="x",ROW($A$2:$A$19)),ROWS($A$1:A1))),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once confirmed, drag copy down.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Create List From Table

    Try

    in L2

    =IFERROR(INDEX($B$2:$B$19,SMALL(IF(INDEX($F$2:$H$19,,MATCH($L$1,$F$1:$H$1,0))="X",ROW($B$2:$B$19)-ROW($B$2)+1,""),ROWS($B$2:B2))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    THEN drag down

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

    Re: Create List From Table

    Too slow Glenn!! Again. Same formula as Ali....

    =IFERROR(INDEX(B:B,SMALL(IF(INDEX($F$2:$H$19,,MATCH($L$1,$F$1:$H$1,0))="x",ROW($B$2:$B$19)),ROWS($1:1))),"")
    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

  7. #7
    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,460

    Re: Create List From Table

    More or less the same - does the same thing!

  8. #8
    Registered User
    Join Date
    07-04-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Create List From Table

    Many thanks guys, this is an amazing forum

  9. #9
    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
    43,986

    Re: Create List From Table

    If your profile is out of date and you have Excel 2010 or later (you attached an xlsx, so at least you MUST have 2007), this ordinary formula will also work:

    =IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW($B$2:$B$19)/(INDEX($F$2:$H$19,,MATCH($L$1,$F$1:$H$1,0))="x"),ROWS($1:1))),"")

  10. #10
    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,460

    Re: Create List From Table

    You're very welcome!

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

  11. #11
    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
    43,986

    Re: Create List From Table

    FWiW, another ordinary formula, which works with excel 2007 (AGGREGATE is only 2010+)

    =IFERROR(INDEX($B:$B,SMALL(INDEX((INDEX($F$2:$H$19,,MATCH($L$1,$F$1:$H$1,0))<>"x")*10^10+ROW($B$2:$B$19),0),ROWS($1:1))),"")

+ 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. Create a list from Table
    By sqrcbc in forum Excel General
    Replies: 1
    Last Post: 09-12-2017, 08:19 PM
  2. [SOLVED] How do I create a list from a table with no blank cells
    By thedunna in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-20-2017, 10:17 PM
  3. Index on Table to Create a list
    By dmills21 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2016, 08:47 PM
  4. [SOLVED] Create list from table
    By Networkdrone in forum Excel General
    Replies: 4
    Last Post: 01-02-2016, 07:21 AM
  5. Create a list from a table
    By Jogier505 in forum Excel General
    Replies: 4
    Last Post: 09-13-2010, 02:17 PM
  6. Create List from Pivot Table
    By JoeyGirl in forum Excel General
    Replies: 7
    Last Post: 02-26-2010, 01:21 AM
  7. create a drop down list without using a table
    By punter in forum Excel General
    Replies: 5
    Last Post: 09-26-2007, 04:27 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