ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum If (https://www.excelbanter.com/excel-discussion-misc-queries/179887-sum-if.html)

Scoob

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.

Pete_UK

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.





All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com