Reputation: 11
I have this example data:
I need to get maximum value as from summing groups of values in this data. What I want to sum is:
First count from A1. In this case, I have 42.
Second, I just can go down and lower right diagonal.
Last, I must reach the end (line 25).
I need to get the maximum value among all diagonal summations.
How to do it in Excel?
Upvotes: 0
Views: 175
Reputation: 5567
Assuming your range is named A
and starts at A1
, try entering this formula in a free cell:
=MAX(MMULT(N(OFFSET(A,MOD(ROW(A)+COLUMN(A)-2,ROWS(A)),COLUMN(A)-1)),ROW(A)^0))
Upvotes: 2