I've been working with this Excel formula for a month or so. It comes from Leila Gharani's Youtube tutorial.
=IF(ROWS($A$1000:$A1000)<$J$291,INDEX($B$2:$B$300,AGGREGATE(15,3,($N$2:$N$300="Japanese")/($N$2:$N$300="Japanese")*ROW($N$2:$N$300)-ROW($N$1),ROWS($A$1000:$A1000)))," ")
In this iteration, it's indexing column B, which is a list of movie names, and returning a list of every Japanese language film. Film languages are listed in column N. The formula takes advantage of Aggregate's "Ignore error" option; since Excel treats yeses as 1's and nos as 0's, dividing the aggregate results by itself returns an error for all the nos, since you can't divide by zero. Pretty clever. Then the formula multiplies the 1 by the row where it's located, and finally returns the smallest number in the list to the index function (then the second smallest, then third smallest as you drag down the formula).
My question is, how do I add criteria so the film not only has to be in Japanese, but also has to have a RottenTomatoes score of >75%, if Column T is RottenTomatoes scores? I'm feel I should just multiply the Japanese criteria by the RT criteria in brackets and then divide that product by itself, but I keep getting errors when I try this. Maybe my syntax is screwy?
And yes, I know it would be a lot easier to do this using VBA, but I'm running the workbook on Sharepoint, which doesn't support VBA.
Thanks!