I have MS Excel 2007.
Hello. Hoping someone will be kind enough to answer my question
I have a spreadsheet containing 50 columns starting with col. B. Each column has 100 rows.
I need a function which will look at one column at a time, and for each column calculate the sum of the previous 20 rows ...where the 20th row is the current row, and then give me the lowest sum which was found among all 100 columns...this lowest sum would be put in col. A of each row. The formula would be put in col. A starting with row 20 (since the formula needs the previous 20 values).
I've attempted to do this using an array, but had no success. My best attempt was...
{=MIN(SUM(B1:AY20),B:AY)}. I copied this into A20:A100. Somewhat close but no cookie !!! I am able to find the lowest sum for the 20 rows at 81:100 but then this value gets put into all of the rows (20 - 79) which are above it. I'm very new to Excel so pardon me if this is a simple problemI would totally appreciate anyone's help in this.
Bookmarks