I am trying to write a formula that does the following:
I have data with say 200 company names, their interest income each year, the year the income was generated, and who they received interest income from (one of 200 other companies).
I want to sum the interest income (which is in 3 different columns) where the company is one of 2+, the year is 1 specific year, and their partner is one of 2+.
Example: Sum where company A, company b, and company c have interest income with company 2, company 4, or company 6, in 2004.
My data looks like this:
tab1:
A B
1 company a
2 company b
3 company c
4 2004
5 company 2
6 company 4
7 company 6
tab 2:
A B C D E F
1 company a 2004 company 2 $100 $20 $0
2 company b 2004 company 3 $0 $0 $35
3 company c 2004 company 4 $10 $0 $60
4 company d 2004 company 5 $0 $45 $10
5 company e 2004 company 6 $50 $75 $5
6 company a 2005 company 1 $100 $20 $0
7 company b 2005 company 4 $0 $0 $35
8 company c 2005 company 2 $10 $0 $60
9 company d 2005 company 7 $0 $45 $10
10 company e 2005 company4 $50 $75 $5
If anyone can help that would be awesome!! so far I have tried:
=SUMIFS(tab2!d1:f10,tab2!b1:b10,tab1!b4,tab2!a1:a10,tab1!a1:a3,tab2!c1:c10,tab1!a5:a7)
I have data with say 200 company names, their interest income each year, the year the income was generated, and who they received interest income from (one of 200 other companies).
I want to sum the interest income (which is in 3 different columns) where the company is one of 2+, the year is 1 specific year, and their partner is one of 2+.
Example: Sum where company A, company b, and company c have interest income with company 2, company 4, or company 6, in 2004.
My data looks like this:
tab1:
A B
1 company a
2 company b
3 company c
4 2004
5 company 2
6 company 4
7 company 6
tab 2:
A B C D E F
1 company a 2004 company 2 $100 $20 $0
2 company b 2004 company 3 $0 $0 $35
3 company c 2004 company 4 $10 $0 $60
4 company d 2004 company 5 $0 $45 $10
5 company e 2004 company 6 $50 $75 $5
6 company a 2005 company 1 $100 $20 $0
7 company b 2005 company 4 $0 $0 $35
8 company c 2005 company 2 $10 $0 $60
9 company d 2005 company 7 $0 $45 $10
10 company e 2005 company4 $50 $75 $5
If anyone can help that would be awesome!! so far I have tried:
=SUMIFS(tab2!d1:f10,tab2!b1:b10,tab1!b4,tab2!a1:a10,tab1!a1:a3,tab2!c1:c10,tab1!a5:a7)