Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paul Clough
 
Posts: n/a
Default sumif columns and rows

I have an array that has about 100 columns and 25 rows.

I am trying to sum all the cells within the array that satisfy conditions
within the header rows and columns (e.g. all the cells with columns titled
"unrestricted" AND rows titled "donation").

I am sure that sumif or sumproduct must hold the solution but this is
proving elusive.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi Paul
not tested but try something like
=SUMPRODUCT((A2:A25="donation")*(B1:AX1="unrestric ted")*(B2:AX25))

"Paul Clough" wrote:

I have an array that has about 100 columns and 25 rows.

I am trying to sum all the cells within the array that satisfy conditions
within the header rows and columns (e.g. all the cells with columns titled
"unrestricted" AND rows titled "donation").

I am sure that sumif or sumproduct must hold the solution but this is
proving elusive.

  #3   Report Post  
Paul Clough
 
Posts: n/a
Default

Frank,

Thanks - worked a treat.

Paul

"Frank Kabel" wrote:

Hi Paul
not tested but try something like
=SUMPRODUCT((A2:A25="donation")*(B1:AX1="unrestric ted")*(B2:AX25))

"Paul Clough" wrote:

I have an array that has about 100 columns and 25 rows.

I am trying to sum all the cells within the array that satisfy conditions
within the header rows and columns (e.g. all the cells with columns titled
"unrestricted" AND rows titled "donation").

I am sure that sumif or sumproduct must hold the solution but this is
proving elusive.

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
Why does my excel have numbered columns and rows DLYNN Excel Discussion (Misc queries) 1 January 22nd 05 12:20 AM
Can I rotate excel sheets so columns are rows & vice-versa (i.e.. JamesR Excel Discussion (Misc queries) 3 January 12th 05 02:18 PM
repeated transpose from rows to columns with unequal groups kraymond Excel Discussion (Misc queries) 3 December 20th 04 02:39 PM
interchange columns with rows Herman Excel Discussion (Misc queries) 2 December 8th 04 05:40 PM
Rows and columns Loi New Users to Excel 0 November 30th 04 07:42 PM


All times are GMT +1. The time now is 03:07 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"