I created a custom Web Analytics Report in SharePoint. I went into the associated Excel file and tried to perform a vlookup to modify the report. No matter what I do, all references to any cell in the result ALWAYS end up as 0. I tried just doing a direct reference to a cell and the result is 0. I tried changing the value to TEXT and it still is a 0.
So for example:
The returned array covers A31 to D2030. If I go to some random cell in the workbook and enter "=A32" instead of returning the value in the cell (or even the formula), it returns 0. It doesn't matter what is in the cell, whether text or number.
The formula in the cells are "=IFERROR(GetWebAnalyticsReportData(Global.Site,Global.ReportLevel,"TopPageForPageReport",$B4,$B5),$A31:$D2030)
The value in A32 is the URL of a aspx page.
I wanted to use a VLOOKUP to make the chart more readable since the URL is quite long and I wanted to strip out the common portion of the URL