Hi, I asked this question on another forum but no reply,
I am trying to create an array that would return unique sectors from column A, aggregate all the values (from column B) for each unique sector and then sort the new unique table from largest to smallest.
I have been able to accomplish everything but the sorting.
If you have any ideas on how to accomplish this please let me know.
Cell A13:
hope it's not against the rules..but here is the xlsx
http://www.woofiles.com/dl-261987-VMPBFpbw-excelforumquestion.xlsx
thanks
edit:
I do have a limitation. I cannot just link to cells A12:B17 with another custom formula to sort it because of the layout on the sheet, otherwise I would have done just that.
I am trying to create an array that would return unique sectors from column A, aggregate all the values (from column B) for each unique sector and then sort the new unique table from largest to smallest.
I have been able to accomplish everything but the sorting.
If you have any ideas on how to accomplish this please let me know.
Cell A13:
Cell B13:=INDEX($A$2:$A$8,MATCH(0,IF(ISBLANK($A$2:$A$8),"",COUNTIF($A$12:A12,$A$2:$A$8)),0))
=SUMIFS($B$2:$B$8,$A$2:$A$8,A13)
hope it's not against the rules..but here is the xlsx
http://www.woofiles.com/dl-261987-VMPBFpbw-excelforumquestion.xlsx
thanks
edit:
I do have a limitation. I cannot just link to cells A12:B17 with another custom formula to sort it because of the layout on the sheet, otherwise I would have done just that.
Last edited: