#1   Report Post  
savv32
 
Posts: n/a
Default Summing Columns

My question revolves around summing particular items in a column based upon
the number meeting 2 criteria. I have done this before with the sumif
function for one criteria and am wondering how to do this using 2 criteria.
  #2   Report Post  
bj
 
Posts: n/a
Default

This is often done using the sumproduct() function
=sumproduct(--(range1 = criteria 1),--(range2 = criteria 2))
the arrays in each section must be the same size but tcannot be the
shorthand for full columns. (A:A won't work)
the "--()" changes the logical true false to a numeric 1 0 for calulations

"savv32" wrote:

My question revolves around summing particular items in a column based upon
the number meeting 2 criteria. I have done this before with the sumif
function for one criteria and am wondering how to do this using 2 criteria.

  #3   Report Post  
RagDyer
 
Posts: n/a
Default

Depending on exactly what the situations are, you can add your Sumif()
together, or Sum a Sumif() which contains an array constant of criteria, or
use the Sumproduct function.

What are you looking to accomplish?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"savv32" wrote in message
...
My question revolves around summing particular items in a column based

upon
the number meeting 2 criteria. I have done this before with the sumif
function for one criteria and am wondering how to do this using 2

criteria.

  #4   Report Post  
JR
 
Posts: n/a
Default

=SUMIF(E10:E15,E8,F10:F15)+SUMIF(E10:E15,F8,F10:F1 5)
This will work. The only thing changed from the first sumif to the second
is lookup value (E8 and F8)

"savv32" wrote:

My question revolves around summing particular items in a column based upon
the number meeting 2 criteria. I have done this before with the sumif
function for one criteria and am wondering how to do this using 2 criteria.

  #5   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

You may use array formulas (Ctrl+Shift+Enter) to get around your problem.

=sum(if((condition 1)*(condition 2), sum to range))

Regards,

Ashish Mathur

"savv32" wrote:

My question revolves around summing particular items in a column based upon
the number meeting 2 criteria. I have done this before with the sumif
function for one criteria and am wondering how to do this using 2 criteria.



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
Summing Columns Highlander Excel Worksheet Functions 2 July 28th 05 04:46 PM
SUMMING COLUMNS IN DIFFERENT WORKSHEETS Peggy Excel Discussion (Misc queries) 3 June 22nd 05 06:29 AM
Not summing a columns? Nicole Excel Worksheet Functions 2 April 23rd 05 03:30 PM
Summing values of corresponding columns lanceg Excel Worksheet Functions 0 November 7th 04 10:56 AM
Summing values of corresponding columns lanceg Excel Worksheet Functions 0 November 4th 04 10:10 PM


All times are GMT +1. The time now is 02:32 PM.

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"