ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Returning a sum when looking up two different values (https://www.excelbanter.com/excel-worksheet-functions/83591-returning-sum-when-looking-up-two-different-values.html)

1stcoast

Returning a sum when looking up two different values
 
=SUM(IF('[Mar 06 Sales 1.xls]Pernod'!$A$1:$A$7320,A7)+('[Mar 06 Sales
1.xls]Pernod'!$G$1:$G$7320,AC4),'[Mar 06 Sales 1.xls]Pernod'!$K$1:$K$7320)

I can not get this formula to return an result. I can only get a "Value"
answer. What am I doing wrong?

Ardus Petus

Returning a sum when looking up two different values
 
Your IF function requires non-array arguments

HTH
--
AP

"1stcoast" a écrit dans le message de
...
=SUM(IF('[Mar 06 Sales 1.xls]Pernod'!$A$1:$A$7320,A7)+('[Mar 06 Sales
1.xls]Pernod'!$G$1:$G$7320,AC4),'[Mar 06 Sales 1.xls]Pernod'!$K$1:$K$7320)

I can not get this formula to return an result. I can only get a "Value"
answer. What am I doing wrong?





All times are GMT +1. The time now is 03:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com