Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KoriBustard
 
Posts: n/a
Default Sum if is only calculating one column

I am trying to calculate more data in more than one column with the sumif
function but it only adds up data in the first column. The formula I have is

=SUMIF($A$10:$A$12,$A1,B10:D12)

For some reason it only adds up data in column b and not columns b to d as
expected.

Is this unique to Excel 2003 as I believe I used to be able to do this in
older versions.

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Sum if is only calculating one column

Not unique to 2003, all versions of sumif has this, one possible way

=SUMPRODUCT((A10:A12=A1)*(B10:D12))


--

Regards,

Peo Sjoblom



"KoriBustard" wrote in message
...
I am trying to calculate more data in more than one column with the sumif
function but it only adds up data in the first column. The formula I have

is

=SUMIF($A$10:$A$12,$A1,B10:D12)

For some reason it only adds up data in column b and not columns b to d as
expected.

Is this unique to Excel 2003 as I believe I used to be able to do this in
older versions.



  #3   Report Post  
Richard Buttrey
 
Posts: n/a
Default Sum if is only calculating one column

On Mon, 24 Oct 2005 09:36:16 -0700, "KoriBustard"
wrote:

I am trying to calculate more data in more than one column with the sumif
function but it only adds up data in the first column. The formula I have is

=SUMIF($A$10:$A$12,$A1,B10:D12)

For some reason it only adds up data in column b and not columns b to d as
expected.

Is this unique to Excel 2003 as I believe I used to be able to do this in
older versions.



{=SUM(($A$10:$A$12=A1)*(B10:D12))}

Array formula entered with CTRL SHIFT & Enter will achieve what you
want.


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
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
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Calculating Profit and Loss in one column Dismal Excel Discussion (Misc queries) 0 June 11th 05 02:32 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Calculating totals in a column based on a lookup in another column Michael Wright via OfficeKB.com Excel Worksheet Functions 1 April 15th 05 09:52 AM
Column Not Calculating ftpsteve Excel Worksheet Functions 2 November 18th 04 07:07 PM


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