A and B column query to provide Sum of column C

Solved/Closed
Rian Crabtree - 29 Nov 2016 à 16:36
yg_be Posts 23437 Registration date Sunday 8 June 2008 Status Contributor Last seen 6 June 2025 - 29 Nov 2016 à 17:21
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!



Related:

1 response

yg_be Posts 23437 Registration date Sunday 8 June 2008 Status Contributor Last seen 6 June 2025 5
29 Nov 2016 à 17:21
Try this :
=SUMIFS(C1:C8;A1:A8;"abc";B1:B8;"y")