Well, I can't actually do that. One column used for a criteria is a number for the month in the year, the other is a class code, also a number. The data being pulled is a sum of a bigger set of data. I am needing to pull information for instance if the month is January ("1") and the Class code is "22" then pull the number summed from that row of the dataset.
What I have at the moment is this:
=INDEX('301'!$B$1:$D$250, MATCH(1,'301'!$B$1:$B$250,), MATCH("Sum",'301'!$B$1:$D$1,))
But this only gives me filtering out of the Month not the month and the class like I need.
I tried nesting an if statement after looking at some Microsoft support documents, which did not work. Example of this below.
=INDEX('301'!$B$1:$D$250, MATCH(1,(IF,'301'!$A$1:$A$250=1,'301'!$B$1:$B$250,), MATCH("Sum",'301'!$B$1:$D$1,))
I also need to make the results if there is no match to display a"0" instead of a "#N/A" that I get now, so I can total the numbers.
I hope this makes sense...