I want that value which is returned by below formula will be ascending order and with Unique value.

"=OFFSET(Details!$B$2,0,0,COUNTA(Details!$B:$B),1)"

Please Help.