Home |
Search |
Today's Posts |
#1
|
|||
|
|||
An array formula to sum row max
I have a data range of 1000 rows and 20 columns. I need a sum of the maximum number of each rows. I usually add another column to calculate row max. But is it possible to eliminate this intermediate step and just use a single cell array formula to return the sum of row maxes? Thanks -- ucamms ------------------------------------------------------------------------ ucamms's Profile: http://www.excelforum.com/member.php...o&userid=19151 View this thread: http://www.excelforum.com/showthread...hreadid=382107 |
#2
|
|||
|
|||
Assuming that A1:T1000 contains your data, try... =SUMPRODUCT(SUBTOTAL(4,OFFSET(A1:T1000,ROW(A1:T100 0)-MIN(ROW(A1:T1000)),0,1))) Hope this helps! ucamms Wrote: I have a data range of 1000 rows and 20 columns. I need a sum of the maximum number of each rows. I usually add another column to calculate row max. But is it possible to eliminate this intermediate step and just use a single cell array formula to return the sum of row maxes? Thanks -- Domenic ------------------------------------------------------------------------ Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785 View this thread: http://www.excelforum.com/showthread...hreadid=382107 |
#3
|
|||
|
|||
It wooked. Very clever. I didn't think of using offset() and row() combination. Thank you for helping. -- ucamms ------------------------------------------------------------------------ ucamms's Profile: http://www.excelforum.com/member.php...o&userid=19151 View this thread: http://www.excelforum.com/showthread...hreadid=382107 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Trouble shooting#NA error in Array formula | Excel Discussion (Misc queries) | |||
Changing a range of an array in a SUMPRODUCT formula gives a #N/A error | Excel Discussion (Misc queries) | |||
Formula to count number of dates in an array | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Will an Array Formula work here? | Excel Discussion (Misc queries) |