Hello,
Here's a little challenge for all excel freaks out there. I am trying to make a conditional sum over multiple sheets. Each sheet lists the costs for a different work package of my project.
A simple sum works perfect:
=SUM(Sheet2:Sheet3!G:G) ' Sums correctly all costs listed in column G of Sheet2 and Sheet3
Now I'd like to do the same with SUMIF() and COUNTIF(), for example to make one sum for all costs in EUR and another for all costs in USD. However, here I run into a problem. The analogous COUNTIF formula returns #VALUE!
=COUNTIF(Sheet2:Sheet3!H:H;$A4) = #VALUE!
Same thing with the analogous SUMIF formula:
=SUMIF(Sheet2:Sheet3!H:H;$A4;Sheet2:Sheet3!G:G) = #VALUE!
Have also experimented a little with the SUMPRODUCT formula, just to see if it would work:
=SUMPRODUCT(Sheet2:Sheet3!C:C;Sheet2:Sheet3!E:E) = #REF!
Anybody got an idea how to solve the problem or an explanation to at least help me understand why it does not work?
Thanks a lot for your help!
/ Henrik
Here's a little challenge for all excel freaks out there. I am trying to make a conditional sum over multiple sheets. Each sheet lists the costs for a different work package of my project.
A simple sum works perfect:
=SUM(Sheet2:Sheet3!G:G) ' Sums correctly all costs listed in column G of Sheet2 and Sheet3
Now I'd like to do the same with SUMIF() and COUNTIF(), for example to make one sum for all costs in EUR and another for all costs in USD. However, here I run into a problem. The analogous COUNTIF formula returns #VALUE!
=COUNTIF(Sheet2:Sheet3!H:H;$A4) = #VALUE!
Same thing with the analogous SUMIF formula:
=SUMIF(Sheet2:Sheet3!H:H;$A4;Sheet2:Sheet3!G:G) = #VALUE!
Have also experimented a little with the SUMPRODUCT formula, just to see if it would work:
=SUMPRODUCT(Sheet2:Sheet3!C:C;Sheet2:Sheet3!E:E) = #REF!
Anybody got an idea how to solve the problem or an explanation to at least help me understand why it does not work?
Thanks a lot for your help!
/ Henrik