ExcelBanter

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

Lewiselw

Sumproduct issues.
 
I am trying to add an arai of figures together based on customer name and week.
The sheet that I am collecting the data from has a list of invoices and the
week when they are due, being pulled in Via SQL query (in case that makes a
difference)
The client is using Excel 2000,

Simply put
Customer, Inv_Amount, Week_No

I want to display as:
Week 1 Week 2 Week 3
Customer xxxxx xxxxx xxxxxx

The formula that I have used is as follows.

=SUMPRODUCT('Sales Actuals'!$F$2:$F$323,('Sales Actuals'!$B$2:$B$323='Filled
Sheets'!$B7)+0,('Sales Actuals'!$L$2:$L$323='Filled Sheets'!L$5)+0)

but it does not work and returns a #NA value on all cells.



PCLIVE

Sumproduct issues.
 
I'm not sure exactly what this formula is supposed to accomplish. Are you
trying to sum the values in F2:F323 where the adjacent cells in columns B
and L match the criteria in Filled Sheets B7 and L5? If so, then maybe
this:

=SUMPRODUCT(--('Sales Actuals'!$B$2:$B$323='Filled Sheets'!$B7),--('Sales
Actuals'!$L$2:$L$323='Filled Sheets'!L$5),'Sales Actuals'!$F$2:$F$323)

HTH,
Paul

--

"Lewiselw" wrote in message
...
I am trying to add an arai of figures together based on customer name and
week.
The sheet that I am collecting the data from has a list of invoices and
the
week when they are due, being pulled in Via SQL query (in case that makes
a
difference)
The client is using Excel 2000,

Simply put
Customer, Inv_Amount, Week_No

I want to display as:
Week 1 Week 2 Week 3
Customer xxxxx xxxxx xxxxxx

The formula that I have used is as follows.

=SUMPRODUCT('Sales Actuals'!$F$2:$F$323,('Sales
Actuals'!$B$2:$B$323='Filled
Sheets'!$B7)+0,('Sales Actuals'!$L$2:$L$323='Filled Sheets'!L$5)+0)

but it does not work and returns a #NA value on all cells.






All times are GMT +1. The time now is 08:54 AM.

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