the attachment in post #14 above .I attached sheet again hereStocks Sorting.xlsm