0

Is there an "order" for the hide function?

I want to hide columns based on displayed activity in the column, but there appears to be an order in which the columns are hidden. On the attached report on the Report tab, I was using the formula, =IF(OR(MINA(I11:I35)<>0,MAXA(I11:I35)<>0),"Show","Hide") to hide a column if there was no activity in the column which worked fine, but when the selection on the options tab is selected to hide prior year activity, columns are still displayed even though no visible activity is shown. Therefore I switched to =IF(OR(AGGREGATE(4,5,G11:G35)<>0,AGGREGATE(5,5,G11:G35)<>0),"Show", "Hide") which appears like it should work as the columns with no activity are hidden but columns with hidden (row) activity are still displayed. When I "unhide" rows 1and 2, it shows "Hide" for the columns with only hidden activity, but the columns are still showing. Therefore I am assuming that the hide column function is processed prior to the hide row function. Is this a correct assumption? If yes, is there a work around for this situation? Thanks in advance for assistance with this issue. Bob T

2 comments

Please sign in to leave a comment.