akstiffney
New Member
- Joined
- Oct 29, 2018
- Messages
- 3
Hello, I have an excel sheet that uses an INDEX function with multiple criteria reference inputs and the function looks through a table of data and returns the rows that match the criteria inputs. I want to be able to ignore certain criteria if i want. I didn't know if a certain value could be entered into the reference inputs that would make the INDEX function ignore that variable. I hope that makes sense. I attached my formula below.
=IFERROR(INDEX('Total Data'!$A$9:$A$4581, SMALL(IF(1=((--('User Interface'!$B$13='Total Data'!$AD$9:$AD$4581))*(--('User Interface'!$B$7='Total Data'!$X$9:$X$4581))*(--('User Interface'!$B$10='Total Data'!$Z$9:$Z$4581))), ROW('Total Data'!$A$9:$A$4581)-8,""), ROW()-26)),"")
=IFERROR(INDEX('Total Data'!$A$9:$A$4581, SMALL(IF(1=((--('User Interface'!$B$13='Total Data'!$AD$9:$AD$4581))*(--('User Interface'!$B$7='Total Data'!$X$9:$X$4581))*(--('User Interface'!$B$10='Total Data'!$Z$9:$Z$4581))), ROW('Total Data'!$A$9:$A$4581)-8,""), ROW()-26)),"")