Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sumifs statement with one criteria looking at multiple columns to sum

Posted on 2013-06-11
5
Medium Priority
?
327 Views
Last Modified: 2013-06-27
I have a spreadsheet with multiple columns. In columns B, E and H, I have my payment type. In columns C, F and I are the payment amounts. I need to sum to total payments made by payment type. See attached spreadsheet as example. The formula in L5 should total $1,100, L6 should total $1,325, etc. How would i do this? Thanks!
Example.xlsx
0
Comment
Question by:brasiman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 1400 total points
ID: 39239599
Use this formula:

=SUMPRODUCT((B7:H11="Visa")*1,C7:I11)

Kevin
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 39239603
See attached.

Kevin
Example.xlsx
0
 
LVL 19

Assisted Solution

by:Raheman M. Abdul
Raheman M. Abdul earned 300 total points
ID: 39239608
Total visa = =VLOOKUP(K5,$B$7:$C$11,2)+VLOOKUP(K5,$E$7:$F$11,2)+VLOOKUP(K5,$H$7:$I$11,2)
0
 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 300 total points
ID: 39240526
You can use SUMIF, i.e. this formula in L5 copied down

=SUMIF(B$7:H$11,K5,C$7:I$11)

regards, barry
0
 

Author Closing Comment

by:brasiman
ID: 39282557
They all worked. Thanks for the example too Kevin!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question