LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default SUMIF to sum multiple columns of data?

Hi,

The sumrange of the SUMIF function must be a single column or a single row.
In place of SUMIF you can use an array sum or SUMPRODUCT. You already have a
SUMPRODUCT solution so here is an array solution:

=SUM((A1:A7=I1)*B1:G7)

To make it an array you must enter it by pressing Shift+Ctrl+Enter. I1
contains W in this example.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Seve66" wrote:

Help Please!
I am trying to use the SUMIF function to sum multiple columns of data.
example.
My Range is A1:A7, Criteria is "W", Sum_Range is B1:G7
The answer should be 31 but the formula won't return 31!

There are blank rows in the Range!

A B C D E F G
1 W 2 3 0 4 0 5
2
3 D 1 1 1 1 1 1
4
5 S 1 1 1 1 1 1
6 W 2 4 1 2 3 5
7 C 0 0 0 0 0 0

 
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
sumif from multiple columns dcoxdcox Excel Worksheet Functions 6 February 2nd 09 06:49 AM
sumif for multiple columns Byron Excel Worksheet Functions 1 October 8th 08 06:38 PM
Sumif data from multiple columns Nick Excel Worksheet Functions 4 May 6th 08 05:30 PM
Sumif Multiple Columns [email protected] Excel Worksheet Functions 2 December 17th 07 08:40 PM
SUMIF and multiple columns wait3264 Excel Discussion (Misc queries) 3 August 11th 06 01:04 PM


All times are GMT +1. The time now is 03:59 AM.

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

About Us

"It's about Microsoft Excel"