Suppose I have a very simple (and entirely hypothetical) structured table in Excel containing data about people.[ ] Its columns might be:[ ] Name, DateOfBirth, Salary, Department.
Outside the table, above it and aligned with the appropriate table columns, I have cells containing correctly structured formulae for:[ ] Earliest date of birth;[ ] Latest date of birth;[ ] and[ ] Average salary.[ ] At this stage I have no filters applied, so all the table's rows are displayed and the formulae I describe above are doing exactly what I would expect.[ ] So far, so good.[ ]
Now I apply some table filtering.[ ] I click on the down-arrow inside the header of the Department column, and restrict the table to displaying only the entries for the "Clothing" department.[ ] The cells for averages etc that are outside the table still reflect the entire table rather than being restricted to only the entries that are currently displayed inside the table.[ ] That's fine, but[ ]…
Is there a way that I can have my "averages etc" cells apply only to the table's displayed entries?
Alternatively, is there a way to create an extra column inside the table that indicates whether the row is currently displayed?[ ] If so, then I could use the entry in this extra column to condition my "averages etc" cells to achieve what I am after.
I have tried using everyone's favourite search engine to get an answer to this, but get completely inundated with irrelevant replies.[ ] I am using Excel[ ]2010 so I do not have access to the FILTER() function.
Outside the table, above it and aligned with the appropriate table columns, I have cells containing correctly structured formulae for:[ ] Earliest date of birth;[ ] Latest date of birth;[ ] and[ ] Average salary.[ ] At this stage I have no filters applied, so all the table's rows are displayed and the formulae I describe above are doing exactly what I would expect.[ ] So far, so good.[ ]
Now I apply some table filtering.[ ] I click on the down-arrow inside the header of the Department column, and restrict the table to displaying only the entries for the "Clothing" department.[ ] The cells for averages etc that are outside the table still reflect the entire table rather than being restricted to only the entries that are currently displayed inside the table.[ ] That's fine, but[ ]…
Is there a way that I can have my "averages etc" cells apply only to the table's displayed entries?
Alternatively, is there a way to create an extra column inside the table that indicates whether the row is currently displayed?[ ] If so, then I could use the entry in this extra column to condition my "averages etc" cells to achieve what I am after.
I have tried using everyone's favourite search engine to get an answer to this, but get completely inundated with irrelevant replies.[ ] I am using Excel[ ]2010 so I do not have access to the FILTER() function.