D
darius
Hi
This is a bit convoluted. Pls bear with me.
I have a table of survey data, like this
user date question1 question2
user1 1/1/01 excellent good
user2 1/2/02 fair good
user3 5/4/03 poor fair
I have a cell with =counta formula that keeps track of the # of rows in
the table.
I define a dynamic named range for each question column, using an =offset
formula in conjunction with the counta formula above.
I have a separate table that tabulates the results, like this
excellent good fair poor
question1 1 0 1 1
question2 0 2 1 0
All the cells contain countif formulas, e.g.
countif(question1,"excellent") where question1 is named range.
All of this works just fine. The problem is when I define an adv. filter
on the date, the tabulation table is wrong. It still only "sees" the old
table. For example, if I filter out the date to after 2001, it seems to
know that they are only 2 rows in the table now, but it still just pick
the top 2 rows in the unfiltered table, instead of the bottom 2 rows that
are now visible.
filtered data
user date question1 question2
user2 1/2/02 fair good
user3 5/4/03 poor fair
tabulation table
excellent good fair poor
question1 1 0 1 0
question2 0 2 0 0
and if the filtered data has only 1 row, it'll just see the 1st row in
the unfiltered table. and so on.
What am I doing wrong?
thanks
This is a bit convoluted. Pls bear with me.
I have a table of survey data, like this
user date question1 question2
user1 1/1/01 excellent good
user2 1/2/02 fair good
user3 5/4/03 poor fair
I have a cell with =counta formula that keeps track of the # of rows in
the table.
I define a dynamic named range for each question column, using an =offset
formula in conjunction with the counta formula above.
I have a separate table that tabulates the results, like this
excellent good fair poor
question1 1 0 1 1
question2 0 2 1 0
All the cells contain countif formulas, e.g.
countif(question1,"excellent") where question1 is named range.
All of this works just fine. The problem is when I define an adv. filter
on the date, the tabulation table is wrong. It still only "sees" the old
table. For example, if I filter out the date to after 2001, it seems to
know that they are only 2 rows in the table now, but it still just pick
the top 2 rows in the unfiltered table, instead of the bottom 2 rows that
are now visible.
filtered data
user date question1 question2
user2 1/2/02 fair good
user3 5/4/03 poor fair
tabulation table
excellent good fair poor
question1 1 0 1 0
question2 0 2 0 0
and if the filtered data has only 1 row, it'll just see the 1st row in
the unfiltered table. and so on.
What am I doing wrong?
thanks