Hi guy's,
if anyone can help me out i would really apprecicate it.
i need to find the number of cells between the smallest and largest values in an array (between 2004:2010) per row. this number will be used as a divider to calc a rate per year.
the divider column indicates the value required. i cant work out how to make the array dynamic.
i thought that it could look like count(small(A1:A7,1):large(A1:A7,1))-1 but it did noy not pick up small(A1:A7,1):large(A1:A7,1) as an array.
for example
2004, 2005, 2006, 2007, 2008, 2009, 2010, Divider,
0, 0.3, 0.6, 0, 0, 0, 0, 1,
0.5, 0.5, 0, 0, 0.7, 0, 0, 3,
0, 0.3, 0, 0, 0, 0.5, 0, 4,
0.1, 0, 0, 0, 0.2, 0, 0, 4,
0, 0, 0.9, 0, 1, 0, 0, 2,
0, 0.2, 0, 0, 0, 0.8, 0, 4,
0, 0, 0, 0.6, 0, 0, 1, 3,
sorry i can't seem to insert a table "," indicates next cell.
help would be fantastic, thanks in advance,
liam.
Bookmarks