Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default SUMIF for Multiple Criteria

I am trying to use sumif for multiple criteria. I need A to = A and B to = B
and provide a sum of a colum if these two criteria are met.

SHEET 1 SHEET 1 SHEET 1 SHEET 2 SHEET 2
A Book 500.00 A
Book
B Copy 675.00 B
Copy
C DVD 950.00 C
DVD

I need a formula that says...... If A in sheet 1 = A in sheet 2 AND Book in
Sheet 1 = Book in Sheet 2, give me the sum of 500.00.

I have tried using =SUMIF and =DSUM and =SUMPRODUCT but can't get any of
them to work.

Can someone please help me!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default SUMIF for Multiple Criteria

In Sheet2:

=SUMPRODUCT((Sheet1!$A$2:$A$100=A2)*(Sheet1!$B$2:$ B$100=B2)*($C$2:$C$100))

HTH
Kostis Vezerides



Pcakes wrote:
I am trying to use sumif for multiple criteria. I need A to = A and B to = B
and provide a sum of a colum if these two criteria are met.

SHEET 1 SHEET 1 SHEET 1 SHEET 2 SHEET 2
A Book 500.00 A
Book
B Copy 675.00 B
Copy
C DVD 950.00 C
DVD

I need a formula that says...... If A in sheet 1 = A in sheet 2 AND Book in
Sheet 1 = Book in Sheet 2, give me the sum of 500.00.

I have tried using =SUMIF and =DSUM and =SUMPRODUCT but can't get any of
them to work.

Can someone please help me!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default SUMIF for Multiple Criteria

Sumproduct is really your best option for summing an array with multiple
criteria. Here is a link to an explanation of SumProduct...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


"Pcakes" wrote:

I am trying to use sumif for multiple criteria. I need A to = A and B to = B
and provide a sum of a colum if these two criteria are met.

SHEET 1 SHEET 1 SHEET 1 SHEET 2 SHEET 2
A Book 500.00 A
Book
B Copy 675.00 B
Copy
C DVD 950.00 C
DVD

I need a formula that says...... If A in sheet 1 = A in sheet 2 AND Book in
Sheet 1 = Book in Sheet 2, give me the sum of 500.00.

I have tried using =SUMIF and =DSUM and =SUMPRODUCT but can't get any of
them to work.

Can someone please help me!

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
How do I use the sumif if I have multiple criteria (i.e. greater . Kellyatisl Excel Worksheet Functions 3 June 4th 06 06:33 AM
Multiple SUMIF Criteria azazel Excel Worksheet Functions 3 November 10th 05 08:31 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


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