ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Error in formula after auto-filtered (https://www.excelbanter.com/excel-discussion-misc-queries/259842-error-formula-after-auto-filtered.html)

may25

Error in formula after auto-filtered
 
In a table, i have one column (let say Column A) where the formula is
referred to another workbook. The formula works well, until i do an
auto-filtered on another column (Column B). The formula in Column A would
then displayed "#Value!". The formula would works well only if i have the
other workbook opened.

How do i do an auto-filter without getting the error on the formula?

Pls advice.

Thanks

Dave Peterson

Error in formula after auto-filtered
 
I know that there are some worksheet functions that only work if the other
workbook is open. A few of them are =countif(), =sumif(), =indirect().

There may be workarounds with =sumproduct() or =index(), but you'd have to share
the offending formula to get any sort of guess.

And I don't have a guess why the autofilter causes a problem.

may25 wrote:

In a table, i have one column (let say Column A) where the formula is
referred to another workbook. The formula works well, until i do an
auto-filtered on another column (Column B). The formula in Column A would
then displayed "#Value!". The formula would works well only if i have the
other workbook opened.

How do i do an auto-filter without getting the error on the formula?

Pls advice.

Thanks


--

Dave Peterson

may25

Error in formula after auto-filtered
 
Hi,

Thanks. I am using SumIf(). Will try to replace it with SumProduct().

Cheers!

"Dave Peterson" wrote:

I know that there are some worksheet functions that only work if the other
workbook is open. A few of them are =countif(), =sumif(), =indirect().

There may be workarounds with =sumproduct() or =index(), but you'd have to share
the offending formula to get any sort of guess.

And I don't have a guess why the autofilter causes a problem.

may25 wrote:

In a table, i have one column (let say Column A) where the formula is
referred to another workbook. The formula works well, until i do an
auto-filtered on another column (Column B). The formula in Column A would
then displayed "#Value!". The formula would works well only if i have the
other workbook opened.

How do i do an auto-filter without getting the error on the formula?

Pls advice.

Thanks


--

Dave Peterson
.



All times are GMT +1. The time now is 08:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com