How would I get the values from D and E using A and B with formulas?
Column D needs to be able to pick out unique values, and hopefully be extendable as A grows. A will not necessarily be sorted as well.
Column E needs to add all adjacent values to the value in column D.