+ Reply to Thread
Results 1 to 7 of 7

Formula to Create a Partial List from a Complete List

Hybrid View

  1. #1
    Registered User
    Join Date
    07-18-2014
    Location
    Lexington, KY
    MS-Off Ver
    2007
    Posts
    29

    Formula to Create a Partial List from a Complete List

    I tried to use the Lookup(Max but that apparently works only for dates. My example is set up based on this attempt and may not be the best way to do what I am trying to do.

    Column B is a complete list of personnel qualified to do a job. Checking the associated blocks means they are not available. Based on that information, I want to populate a list of personnel available in column F with no gaps so I can reference the "Available" list in another formula to auto-populate a calendar for scheduling.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Formula to Create a Partial List from a Complete List

    Try this...it ain't perfect, but might put you on the right track!

    Select F3:F17 (the Available box) and enter this array formula (while all of those cells are selected)
    =INDEX(B3:B17,LARGE(--(NOT(A3:A17))*ROW(1:15),ROW(1:15)))
    Hold down Control + Shift and press Enter. The formula will get {}'s around it and look like this in the cell
    {=INDEX(B3:B17,LARGE(--(NOT(A3:A17))*ROW(1:15),ROW(1:15)))}
    The problem with this formula is it repeats A on the bottom when you start checking boxes. it does remove the letter from the list and shift the rest up, but it adds an A on the bottom for no value...

    idk
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Formula to Create a Partial List from a Complete List

    slindfors, Good afternoon.

    I did this example for you.
    18-07-2014_ExcelForum_List_of_Available_Workers-OK.xlsx

    Is it what you want?
    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  4. #4
    Registered User
    Join Date
    07-18-2014
    Location
    Lexington, KY
    MS-Off Ver
    2007
    Posts
    29

    Re: Formula to Create a Partial List from a Complete List

    Thank you both very much. I was able to use the example to get it done!!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to Create a Partial List from a Complete List

    Try this array formula** entered in F3:

    =IFERROR(INDEX(B:B,SMALL(IF(A$3:A$17=TRUE,ROW(A$3:A$17)),ROWS(F$3:F3))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Registered User
    Join Date
    07-18-2014
    Location
    Lexington, KY
    MS-Off Ver
    2007
    Posts
    29

    Re: Formula to Create a Partial List from a Complete List

    I will check that out as well, thank you!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to Create a Partial List from a Complete List

    Tip...

    A checkbox "floats" on top of the sheet and does not occupy a cell. Although, when we use checkboxes we typically draw them to the dimensions of a cell(s).

    So, instead of using another column for the linked cells just use the cells that the checkboxes cover.

    In your case the linked cells would be C3:C17.

    Set the font color to be the same as the fill color then the cells will appear to be empty.

+ 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: 0
    Last Post: 01-09-2013, 11:44 AM
  2. Replies: 3
    Last Post: 07-20-2012, 09:52 AM
  3. Replies: 2
    Last Post: 07-17-2012, 01:18 PM
  4. Mapping incomplete list to a complete list
    By Ctrl Alt Sweet in forum Excel General
    Replies: 1
    Last Post: 11-21-2006, 05:54 AM
  5. [SOLVED] create an automatic complete list from existing data in the sheet
    By Etienne in forum Excel General
    Replies: 2
    Last Post: 02-08-2006, 10:00 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