Names down the rows. Dates across the columns. Each student has either a 1, "x" or no value for a given date.
I have a dropdown with a list of all the dates in my table (columns).
I want to create a formula that will search my table for the matching date and then look down that column for all the values of 1 and provide me with a list of names.
This is essentially an auto-populating, dynamic filter function.
I have thought about several formulas (Index Match, Index Match Match, Small Rows) and even pivot tables but no luck. The main issue seems to be, making the date (column address) dynamic in the formula.
=IFERROR(SMALL(IF((GANTT!$FT$14:$FT$1003=1),GANTT!$A$14:$A$1003,""),ROW()-16),"")
In the above formula, FT
corresponds to the date Sunday, 7 Oct 2018
and produces all of the correct names for the static column of FT. How do I make the FT
variable and link it to a dropdown? Can I use address and indirect in some way?
Could I use some kind of helper cells to tell the formula which column to look use, instead of search through years of data?
Sorry, I cant figure out how to post my sample data table.
NAME | DATE1 | DATE2 | DATE3
JON | | 1 | 4
Jane | | 0 | 1
BILL | 1 | | 2