G
Guest
I am trying to do a sum if with two worksheets as follows:
Worksheet 1
(A1) Area Code B C
(A2) 111111 This Year 50000
(A3) Last Year 25000
(A4) Budget 75000
Worksheet 2
(A1) Area Code This Year
(A2) 111111 Where the formula is
I did the following =SUMPRODUCT(((Worksheet1A1:Z100=A2)*(Worksheet1A1:Z100="This Year"), Worksheet1C1:C100)
I am getting the message #VALUE!. In the first part of the formula I am looking am trying to match the criteria to worksheet 2 cell A2.
Any ideas?
Worksheet 1
(A1) Area Code B C
(A2) 111111 This Year 50000
(A3) Last Year 25000
(A4) Budget 75000
Worksheet 2
(A1) Area Code This Year
(A2) 111111 Where the formula is
I did the following =SUMPRODUCT(((Worksheet1A1:Z100=A2)*(Worksheet1A1:Z100="This Year"), Worksheet1C1:C100)
I am getting the message #VALUE!. In the first part of the formula I am looking am trying to match the criteria to worksheet 2 cell A2.
Any ideas?