I have a table with two columns - both columns have cell references. These columns produce a summary table.
The first column scans a row of data and only returns a list of unique values. There are over 500 rows of data, and my formula returns a maximum of 18 unique values. Sometimes the data will return fewer unique values.
In the second column, I calculate an average based on each of the unique values (using averageif).
In theory, I would like to be able to filter this table based off of the second column (from smallest-to-largest or largest-to-smallest), but when I add filters and filter, the references all get out of wack.
Can I do this by editing my formula?
Column 1 formula (entered into B41 dragged down to B58):='LPA Categories & Data Validate'!A4
Column 2 formula (entered into B41 dragged down to B58): =IFERROR(AVERAGEIF('Selected LP List'!$C$4:$C$740,'LPA Tables'!$B41,'Selected LP List'!$I$4:$I$740),"")
My current solution is to create a third column a rank the values from 1-18. I think create a second table (called "Sorted") which just does an index match off of the first table to return the data from 1-18 in descending order. I do not like having two tables in my workbook. Can this be done in one workbook?
I'm not opposed to a macro.
The first column scans a row of data and only returns a list of unique values. There are over 500 rows of data, and my formula returns a maximum of 18 unique values. Sometimes the data will return fewer unique values.
In the second column, I calculate an average based on each of the unique values (using averageif).
In theory, I would like to be able to filter this table based off of the second column (from smallest-to-largest or largest-to-smallest), but when I add filters and filter, the references all get out of wack.
Can I do this by editing my formula?
Column 1 formula (entered into B41 dragged down to B58):='LPA Categories & Data Validate'!A4
Column 2 formula (entered into B41 dragged down to B58): =IFERROR(AVERAGEIF('Selected LP List'!$C$4:$C$740,'LPA Tables'!$B41,'Selected LP List'!$I$4:$I$740),"")
My current solution is to create a third column a rank the values from 1-18. I think create a second table (called "Sorted") which just does an index match off of the first table to return the data from 1-18 in descending order. I do not like having two tables in my workbook. Can this be done in one workbook?
I'm not opposed to a macro.