#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sum If

I have a large table of data that I want to sum, based on 2 criteria.
A small example of table as follows:

Quarter Type Value Resource

Q1 Fire 2,000 John
Q2 Project 1,500 Bob
Q1 Project 2,000 Sam
Q3 Fire 2,000 Louise
Q1 Fire 1,000 Shirley
Q1 Project 5,000 Jill

What I want to do is total up the the value of Fire for Q1.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Sum If

You can only use SUMIF with a single condition, so try this instead:

=SUMPRODUCT((A1:A100="Q1")*(B1:B100="Fire")*(C1:C1 00))

Adjust ranges to suit, but you can't use full column references prior to
Excel 2007.

Hope this helps.

Pete

"Scoob" wrote in message
...
I have a large table of data that I want to sum, based on 2 criteria.
A small example of table as follows:

Quarter Type Value Resource

Q1 Fire 2,000 John
Q2 Project 1,500 Bob
Q1 Project 2,000 Sam
Q3 Fire 2,000 Louise
Q1 Fire 1,000 Shirley
Q1 Project 5,000 Jill

What I want to do is total up the the value of Fire for Q1.



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



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