Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel: Sumif function with two sets of criteria? Can it be done?

I have a spread sheet that has different organizations in column A, Dates in
Column B and payments received in C. I would like to do a calculation that
will add all of organizations received payments with a calendar month. I
know I can do a sumif function by date and a sumif by organization name. I
need to know if there is a way to do both. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Excel: Sumif function with two sets of criteria? Can it be done?

=sumproduct((a2:a22="orgA")*(month(b2:b22)=1)*c2:c 22)
or
=sumproduct(--(a2:a22="orgA"),--(month(b2:b22)=1),c2:c22)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Steelfan" wrote in message
...
I have a spread sheet that has different organizations in column A, Dates
in
Column B and payments received in C. I would like to do a calculation
that
will add all of organizations received payments with a calendar month. I
know I can do a sumif function by date and a sumif by organization name.
I
need to know if there is a way to do both. Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Excel: Sumif function with two sets of criteria? Can it be done?

Hi,

Here's one way

=SUMPRODUCT((A1:A100=D1)*(B1:B100=D2)*(B1:B100<=D 3)*(C1:C100))

Where
D1= organisation name
D2= date of 1st day of the month to sum
D3 =date of last day of month to sum


Mike


"Steelfan" wrote:

I have a spread sheet that has different organizations in column A, Dates in
Column B and payments received in C. I would like to do a calculation that
will add all of organizations received payments with a calendar month. I
know I can do a sumif function by date and a sumif by organization name. I
need to know if there is a way to do both. Thanks

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
SUMIF with two sets of criteria luvthavodka Excel Discussion (Misc queries) 5 May 29th 06 08:02 PM
How do I add a second criteria to the SUMIF or DSUM function? jlpwilley Excel Worksheet Functions 2 January 12th 06 04:44 PM
for SUMIF function, how do I use 2 sets of range & criteria Bob Excel Worksheet Functions 6 January 10th 06 07:48 PM
Help with SUMIF function criteria Marina Excel Worksheet Functions 4 April 27th 05 01:13 AM
SUMIF function - criteria of between two dates. How? Frannie21 Excel Worksheet Functions 4 January 27th 05 03:28 PM


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