ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum with 2 conditions (https://www.excelbanter.com/excel-discussion-misc-queries/200693-sum-2-conditions.html)

Gecko

sum with 2 conditions
 
Hi,

I have a worksheet with the deliveries to my customers, and I would like to
make a sum of the deliveries for 1 customer per month, in another sheet.

This is how the columns look like:

month date client volume

I tried with SUMPRODUCT, but this only gives me 0.

Any idea ???




Marcelo

sum with 2 conditions
 
send a sample of your formula.


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Gecko" escreveu:

Hi,

I have a worksheet with the deliveries to my customers, and I would like to
make a sum of the deliveries for 1 customer per month, in another sheet.

This is how the columns look like:

month date client volume

I tried with SUMPRODUCT, but this only gives me 0.

Any idea ???




Gecko

sum with 2 conditions
 
Here it is:

=SUMPRODUCT(--(REFILLS!$A$7:$A434='Monthly
Sales'!D$5);--(REFILLS!$B$7:$B434='Monthly Sales'!$B7);REFILLS!$Q$7:$Q434)



"Marcelo" wrote:

send a sample of your formula.


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Gecko" escreveu:

Hi,

I have a worksheet with the deliveries to my customers, and I would like to
make a sum of the deliveries for 1 customer per month, in another sheet.

This is how the columns look like:

month date client volume

I tried with SUMPRODUCT, but this only gives me 0.

Any idea ???




Marcelo

sum with 2 conditions
 
Your formula is correct.

try to check if the variable in cells 'Monthly Sales'!D$5 and $B7 match the
data in the original columns.

for instance one is formated as text and other as general

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Gecko" escreveu:

Here it is:

=SUMPRODUCT(--(REFILLS!$A$7:$A434='Monthly
Sales'!D$5);--(REFILLS!$B$7:$B434='Monthly Sales'!$B7);REFILLS!$Q$7:$Q434)



"Marcelo" wrote:

send a sample of your formula.


--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Gecko" escreveu:

Hi,

I have a worksheet with the deliveries to my customers, and I would like to
make a sum of the deliveries for 1 customer per month, in another sheet.

This is how the columns look like:

month date client volume

I tried with SUMPRODUCT, but this only gives me 0.

Any idea ???





All times are GMT +1. The time now is 10:15 PM.

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