Hi, I'm trying to make this formula compatible with Excel 2007, I think I just need to replace AGGREGATE with SMALL but I'm getting errors. The INDIRECTS are referring to Data Validation cells where I have user-selectable filter criteria. Here is the original formula that works in modern versions:
And here is where I'm at with my attempt to use SMALL:
This returns a #Div/0 error. I also tried IFERROR(SMALL(IF(...)),"") but then I get a #Value error... I am doing CTRL+SHIFT+Enter.
Any help would be much appreciated! Thanks..
Code:
=IF(ROWS(V$4:V4)>$A$36,"",
INDEX(Table1[Name],
AGGREGATE(15,6,(ROW(Table1[Name])-ROW(Table1[#Headers]))/
(
(INDIRECT("Table1[["&$A$30&"]:["&$A$30&"]]")<>"")*
(INDIRECT("Table1[["&$A$31&"]:["&$A$31&"]]")<>"")*
(INDIRECT("Table1[["&$A$5&"]:["&$A$5&"]]")<>"")*
(INDIRECT("Table1[["&$A$8&"]:["&$A$8&"]]")<>"")*
(INDIRECT("Table1[["&$A$11&"]:["&$A$11&"]]")<>"")*
(INDIRECT("Table1[["&$A$14&"]:["&$A$14&"]]")<>"")*
(INDIRECT("Table1[["&$A$17&"]:["&$A$17&"]]")<>"")*
(INDIRECT("Table1[["&$A$20&"]:["&$A$20&"]]")<>"")*
(INDIRECT("Table1[[Year]:[Year]]")>=$A$24)*
(INDIRECT("Table1[[Year]:[Year]]")<=$A$26)),
ROWS(V$4:V4))))
And here is where I'm at with my attempt to use SMALL:
Code:
=IF(ROWS(V$4:V4)>$A$36,"",
INDEX(Table1[Name],
SMALL(IF((ROW(Table1[Name])-ROW(Table1[#Headers]))/
(
(INDIRECT("Table1[["&$A$30&"]:["&$A$30&"]]")<>"")*
(INDIRECT("Table1[["&$A$31&"]:["&$A$31&"]]")<>"")*
(INDIRECT("Table1[["&$A$5&"]:["&$A$5&"]]")<>"")*
(INDIRECT("Table1[["&$A$8&"]:["&$A$8&"]]")<>"")*
(INDIRECT("Table1[["&$A$11&"]:["&$A$11&"]]")<>"")*
(INDIRECT("Table1[["&$A$14&"]:["&$A$14&"]]")<>"")*
(INDIRECT("Table1[["&$A$17&"]:["&$A$17&"]]")<>"")*
(INDIRECT("Table1[["&$A$20&"]:["&$A$20&"]]")<>"")*
(INDIRECT("Table1[[Year]:[Year]]")>=$A$24)*
(INDIRECT("Table1[[Year]:[Year]]")<=$A$26)),1),
ROWS(V$4:V4))))
This returns a #Div/0 error. I also tried IFERROR(SMALL(IF(...)),"") but then I get a #Value error... I am doing CTRL+SHIFT+Enter.
Any help would be much appreciated! Thanks..