LINEST() function update when using filter on tables

Copper Contributor

Hello everyone i have been trying to figure out how to update my LINEST() range when i apply a filter to the data in my table. I have asked many forums and watched many videos, none seem to be able to address this problem?






None of the above options seem to work. Any ideas?

2 Replies



I'm not a PT person.  But does GETPIVOTDATA solve the problem?


If not, I suspect that it would help (someone else) if you provided an example Excel file that demonstrates the problem.


Ideally, click "browse" to attach the Excel file.  Alternatively, upload an example Excel file that demonstrates the problem to a file-sharing website, and post a download URL that does not require that we log in.  I like; others like You might like because it uses the same login as this forum.


If the forum does not allow you post URLs (yet), edit the URL so that it does not look like a URL.  For example, the edited URL for this thread is

techcommunity dot microsoft dot com /t5/excel/linest-function-update-when-using-filter-on-pivot-tables/m-p/3739692#M180491