ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumproduct #value (https://www.excelbanter.com/excel-worksheet-functions/206793-sumproduct-value.html)

Guillaume

Sumproduct #value
 
I have two formulas, this one works:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*(waste_t))

This one doesn't, it gives me the #value error:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*($L7))

L7 is a cell with "waste_t" written in it



David Biddulph[_2_]

Sumproduct #value
 
Well we don't know what you have in the definition of the various names you
have used, such as factory, year, type, and waste_t, but my gues is that
your problem is that you forgot to use the INDIRECT function (or whatever it
is called in your language's version of Excel).

I think you need to replace $L7 by INDIRECT($L7) if you want it to refer to
a range of cells defined as waste_t
--
David Biddulph


"guillaume" wrote in message
...
I have two formulas, this one works:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*(waste_t))

This one doesn't, it gives me the #value error:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*($L7))

L7 is a cell with "waste_t" written in it





Guillaume

Sumproduct #value
 
I learned something today :D It worked perfectly! Thank you

"David Biddulph" wrote:

Well we don't know what you have in the definition of the various names you
have used, such as factory, year, type, and waste_t, but my gues is that
your problem is that you forgot to use the INDIRECT function (or whatever it
is called in your language's version of Excel).

I think you need to replace $L7 by INDIRECT($L7) if you want it to refer to
a range of cells defined as waste_t
--
David Biddulph


"guillaume" wrote in message
...
I have two formulas, this one works:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*(waste_t))

This one doesn't, it gives me the #value error:

=SOMMEPROD((factory=$A$3)*(type=B$5)*(year=$H$1)*( month=$J$1)*($L7))

L7 is a cell with "waste_t" written in it







All times are GMT +1. The time now is 10:12 AM.

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