Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default SUMIF across 2 columns.

Hi all,

Could somebody help me create a formula to sumif across two columns. Attached is an example. Columns F&G are columns A&B with removed duplicates.

I am looking for the total values of C against each combination of A&B. In Red is the answer that I am trying to get to.


What formula can i put in column H to produce this result?

Thanks
Attached Images
 
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by VZBoon View Post
Hi all,

Could somebody help me create a formula to sumif across two columns. Attached is an example. Columns F&G are columns A&B with removed duplicates.

I am looking for the total values of C against each combination of A&B. In Red is the answer that I am trying to get to.


What formula can i put in column H to produce this result?

Thanks
Excel 2003 or earlier use: =SUMPRODUCT((A$1:A$11=F1)*(B$1:B$11=G1),C$1:C$11)
Excel 2007 or later use: =SUMIFS(C$1:C$11,A$1:A$11,F1,B$1:B$11,G1)

Enter in H1 and copy down.
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
Using Sumif On Two Columns of Data - How? [email protected] Excel Worksheet Functions 3 May 9th 08 09:33 PM
SUMIF across Columns JICDB Excel Worksheet Functions 2 May 7th 07 02:48 PM
Sumif across columns mminsf Excel Worksheet Functions 8 June 29th 05 11:46 PM
Sumif over multiple columns Josh O. Excel Worksheet Functions 1 February 15th 05 04:33 PM
SUMIF testing two columns... lgarcia Excel Worksheet Functions 1 November 25th 04 07:55 PM


All times are GMT +1. The time now is 12:18 PM.

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"