Couldn't get that formula to work either. Two zeroes and then only hyphens. Perhaps, Dighi can demonstrate how it works on his side!
Now, I don't have Excel 2013 anymore so can't test the formula below, but it I believe it should work. (Will try to get my hands on this ancient version though).
=IFERROR(INDEX($E$8:$E$1007,MATCH("-",$E$8:$E$1007,0)+ROW($E$8)-ROW()),"x")
Enter it in X8 and copy it down until you get to an "x". It should produce a list starting with one hyphen followed by the last value above the first hyphen and then work its way up the original list.