I have 2 data worksheets:
Customers:
<tbody>
</tbody>
Sales
<tbody>
</tbody>
In my mastersheet I am trying to sum all the sales to A001 using SUMPRODUCT:
In my mastersheet col A contains the customer numbers, and B1:M1 the months of theyear. In B2 I have:
=SUMPRODUCT((‘Customers’!$A$1:$A$3=A1)*(‘Sales’!$B$1:$E$1=B1)*’Sales’!$B$2:$E$5)
The result Iget is #VALUE error. Any advice would beappreciated.
Customers:
| A | B | C |
1 | A001 | J Smith | Address1 |
2 | D325 | R Brown | Address1 |
3 | S589 | P Day | Address1 |
Sales
| A | B | C | D | E |
1 | Customer | Jan-18 | Feb-18 | Mar-18 | Apr-18 |
2 | A001 | 200 | 300 | 200 | 900 |
3 | S589 | | | | |
4 | A001 | 500 | 100 | 600 | 1000 |
5 | C522 | | | | |
In my mastersheet I am trying to sum all the sales to A001 using SUMPRODUCT:
In my mastersheet col A contains the customer numbers, and B1:M1 the months of theyear. In B2 I have:
=SUMPRODUCT((‘Customers’!$A$1:$A$3=A1)*(‘Sales’!$B$1:$E$1=B1)*’Sales’!$B$2:$E$5)
The result Iget is #VALUE error. Any advice would beappreciated.