excel - How do I add an array INDEX function nested inside of a GETPIVOTDATA function? -
i have workbook 2 spreadsheets. sheet 1 has pivot table, sheet 2 has comparable data , getpivotdata formula. having trouble getting formula work. think because have nested index/match array formula (which works find on own), i'm not sure how fix it. here have far:
=getpivotdata("[m].[u a]",'sheet 1'!$a$10,"[a].[p]","[a].[p].[r t 1].&["&'sheet 2'!f$1&"]","[s].[s n]","[s].[s n].&["&index('sheet 1'!a:a,match('sheet 2'!a12,left('sheet 1'!a:a,find("_", 'sheet 1'!a:a&"_")-1),0))&"]")
i getting #ref error. have suggestions?
you missing argument in index
bit. assume 1 column number.
Comments
Post a Comment