QUERY UPDATED AND CLARIFIED
This is the first time I've worked with more than 1 formula in a cell at a time and also the first time I've tried to work across sheets. I got the template from someone else and I'm having serious trouble modifying it to do what I want. I am working with the following formula in each calendar cell on the second sheet:
=IFERROR(INDEX(Data!$E:$E,SMALL(IF(Data!$F$1:$F$10012<=INDEX(D:D,INT(ROW()/4)*4),IF(Data!$G$1:$G$10012>=INDEX(D:D,INT(ROW()/4)*4),IF(Data!$A$1:$A$10012=$C$1,ROW(Data!$F$1:$F$10012)))),MOD(ROW(),4))),"")
I have a drop down list at the top of the page that allows me to sort by a certain characteristic that lives in column A on the Data sheet. It then populates a calendar with everything that meets those conditions in the specified date range (that part is fine and works great). My problem is that I want to add more conditions for it to meet. Instead of just column A, I need it to look in columns A, B, C, and D and return results that match all of the selected criteria. I already made it so that the dropdown menu can have multiple selections, but the problem is the code in the boxes doesn't know how to look in the other columns to find those selections.
A specific example: I want to select items assigned to Test A, Level 2, in the Test Development department (it would be even better if I could select items assigned to Test A, Levels 1 OR 2, in the test development OR editing departments, but that seems a whole lot more complicated so maybe I'm asking for too much)
I thought it would just be copy and pasting "IF(Data!$A$1:$A$10012=$C$1" multiple times and updating A to be the different columns I want. However, this did not work. I keep getting errors, but it won't tell me why or how to fix it. "Evaluate formula" just adds a bunch of 0's to the formula and doesn't explain anything. I have been reading forums for hours and I am nowhere closer to understanding what is happening.
I am open to adding more drop down lists so each criteria has its own cell at the top if that would make things easier. I just don't really know what I'm doing (obviously)
Bookmarks