Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ucamms
 
Posts: n/a
Default 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   Report Post  
Domenic
 
Posts: n/a
Default


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   Report Post  
ucamms
 
Posts: n/a
Default


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble shooting#NA error in Array formula RonR Excel Discussion (Misc queries) 2 June 14th 05 09:58 PM
Changing a range of an array in a SUMPRODUCT formula gives a #N/A error Chrism Excel Discussion (Misc queries) 4 May 4th 05 04:06 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Will an Array Formula work here? Rob Gould Excel Discussion (Misc queries) 2 February 1st 05 01:25 PM


All times are GMT +1. The time now is 12:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"