A and B column query to provide Sum of column C

Solved/Closed
Rian Crabtree - Updated by Rian Crabtree on 29/11/16 at 04:38 PM
yg_be Posts 22720 Registration date Sunday June 8, 2008 Status Contributor Last seen April 23, 2024 - Nov 29, 2016 at 05:21 PM
Hello and thank you for your help.

Please use this scenario for reference:
- A B C
1 abc x 1
2 abc y 2
3 def z 3
4 abc y 4
5 ghi x 5
6 ghi z 6
7 def x 7
8 abc y 8

What can I use to generate IF (A1:A8 = 'abc') AND (B1:B8 = 'y') THEN SUM of C column associated values? In this example the answer I'm looking to generate in a single cell is 14.

Thanks in advance!



1 response

yg_be Posts 22720 Registration date Sunday June 8, 2008 Status Contributor Last seen April 23, 2024 5
Nov 29, 2016 at 05:21 PM
Try this :
=SUMIFS(C1:C8;A1:A8;"abc";B1:B8;"y")
0