Hi,
I'm using a sumproduct formula to sum the numbers in a column based on criteria in other columns. For example...
A..........B..........C
Up.......On.........10
Up.......On.........15
Down...On.........20
=SUMPRODUCT(--(A2:A4="UP"),--(B2:B4="On"),--(C2:C4)
should return 25. This works fine if the data and sumproduct function are in the same workbook, but if they are in separate workbooks, sumproduct returns #Value!. Is sumproduct not able to do this when linked to other workbooks? I know if i cut out the last part of the function (C2:C4), it will give me a correct count (2) even when linked to another workbook, but when trying to get a sum of column C, it returns an error. Any ideas? Thanks
I'm using a sumproduct formula to sum the numbers in a column based on criteria in other columns. For example...
A..........B..........C
Up.......On.........10
Up.......On.........15
Down...On.........20
=SUMPRODUCT(--(A2:A4="UP"),--(B2:B4="On"),--(C2:C4)
should return 25. This works fine if the data and sumproduct function are in the same workbook, but if they are in separate workbooks, sumproduct returns #Value!. Is sumproduct not able to do this when linked to other workbooks? I know if i cut out the last part of the function (C2:C4), it will give me a correct count (2) even when linked to another workbook, but when trying to get a sum of column C, it returns an error. Any ideas? Thanks