PC Review


Reply
Thread Tools Rate Thread

Add totals based on more than one criteria

 
 
Quo.vadio
Guest
Posts: n/a
 
      12th Aug 2008
how can I add totals from one column based on criteria in two other columns.

For example. I need to add the total amount of payments received between
two dates, based on the method of payment

Columns are A: amount Payed B: Date C: Method (e.g. check, cash,
etc.)
 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      12th Aug 2008
Try something like this.

List your criteria in a range of cells:

E1 = start date
F1 = end date
G1 = method type

Then your formula is:

=SUMPRODUCT(--(B1:B100>=E1),--(B1:B100<=F1),--(C1:C100=G1),A1:A100)

--
Biff
Microsoft Excel MVP


"Quo.vadio" <(E-Mail Removed)> wrote in message
news:196AC8B6-6A31-4EAA-AE20-(E-Mail Removed)...
> how can I add totals from one column based on criteria in two other
> columns.
>
> For example. I need to add the total amount of payments received between
> two dates, based on the method of payment
>
> Columns are A: amount Payed B: Date C: Method (e.g. check,
> cash,
> etc.)



 
Reply With Quote
 
Adilson Soledade
Guest
Posts: n/a
 
      12th Aug 2008
Search for the uses of the SUMPRODUCT function. I recommend these links:
http://www.meadinkent.co.uk/xlsumproduct.htm
http://www.bygsoftware.com/Excel/fun...sumproduct.htm
http://www.bettersolutions.com/excel...U014532021.htm
Good Luck


--
Adilson Soledade


"Quo.vadio" wrote:

> how can I add totals from one column based on criteria in two other columns.
>
> For example. I need to add the total amount of payments received between
> two dates, based on the method of payment
>
> Columns are A: amount Payed B: Date C: Method (e.g. check, cash,
> etc.)

 
Reply With Quote
 
John C
Guest
Posts: n/a
 
      12th Aug 2008
=SUMPRODUCT(--($B$2:$B$100>=startdate),--($B$2:$B$100<=enddate),--($C$2:$C$100=method),($A$2:$A$100))

startdate, stopdate, and method are whatever cell references you need to be.
The range is from row 2 to 100, expand as needed (and they all should be same
length).
--
John C


"Quo.vadio" wrote:

> how can I add totals from one column based on criteria in two other columns.
>
> For example. I need to add the total amount of payments received between
> two dates, based on the method of payment
>
> Columns are A: amount Payed B: Date C: Method (e.g. check, cash,
> etc.)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calcuate totals based on specific criteria Dhardy Microsoft Excel Worksheet Functions 1 10th Aug 2009 03:48 PM
counting totals based on certain criteria - Excel 2K tech1NJ Microsoft Excel Worksheet Functions 9 24th Oct 2008 10:04 PM
Summing totals on separate worksheet based on 2 criteria Cheese_whiz Microsoft Excel Misc 4 6th Jan 2008 10:34 PM
showing record totals from one field based on current record criteria chanchito Microsoft Access 7 25th Oct 2006 04:05 AM
Totals based on meeting multiple criteria =?Utf-8?B?SmVycnlT?= Microsoft Excel Worksheet Functions 3 8th Jan 2006 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:38 AM.