I posted a similar question on general discussion forum (which is where the potential solution below was generated (from "ExcelHero"). But after almost 200 views did not get much......... Hoping that someone here knows more and can help.........
I have data in cells A1:A5000 and would like to extract the maximum of every 5 consecutive cells into a named array that I can then refer to and plot on a chart. So, the first entry of the array would be max(A1:A5), the next max(A6:A10), and so on.
I'm trying to do this so I do not have to generate another column of data in the spreadsheet. I'd also like to see if I can avoid using VB, as I have a lot of data, and VB seems to slow down the computer quite a bit as it calculates all 1000 max's and puts them together.
It appears that
=MAX(OFFSET(Sheet1!$A$1,ROW(Sheet1!$A$1:INDEX(Sheet1!$A:$A,250))*5-5,0,5,1))
should work, but for some reason it does not. Would be greatful for any new ideas.....
Thank you
Bookmarks