I successfully used the following functions to create a unique list of "units" (store numbers in a multi-store list) thanks to help from this site. However the list that is created is not in alphanumeric sort and I need the units to be sorted alphanumerically - hopefully without having to click on some sort macro... is there a way to modify this formula to return a sorted list?
=IF(ROWS($A$3:A3)<=$A$1,INDEX(Unit,
SMALL(IF(FREQUENCY(IF(Unit<>"",
MATCH("~"&Unit&"",Unit&"",0)),
ROW(Unit)-ROW(Sheet1!$AC$6)+1),ROW(Unit)-ROW(Sheet1!$AC$6)+1),
ROWS($B$3:B3))),"")
=IF(ROWS($A$3:A3)<=$A$1,INDEX(Unit,
SMALL(IF(FREQUENCY(IF(Unit<>"",
MATCH("~"&Unit&"",Unit&"",0)),
ROW(Unit)-ROW(Sheet1!$AC$6)+1),ROW(Unit)-ROW(Sheet1!$AC$6)+1),
ROWS($B$3:B3))),"")