Sumproduct: outcome differs from same entry

onbekend

New Member
Joined
Oct 26, 2010
Messages
7
Hello,

I am using sumproducts for the first time and dont know what i do wrong..

I have one field with months and when i am using the following entry:

=SUMPRODUCT(--(month=B11);--(region=$B$2))

This formula works well for the months january and february, but not for the month march.

I dont understand, cause actually the only thing i change is "(month=B11)" in to "(month=B12)"

But the outcome in field is "0", which should be "4".

Any help would be appreciated!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hello,

I am using sumproducts for the first time and dont know what i do wrong..

I have one field with months and when i am using the following entry:

=SUMPRODUCT(--(month=B11);--(region=$B$2))

This formula works well for the months january and february, but not for the month march.

I dont understand, cause actually the only thing i change is "(month=B11)" in to "(month=B12)"

But the outcome in field is "0", which should be "4".

Any help would be appreciated!

Care to post what you have in B11 and B12, and also a match cells from the month range?
 
Upvote 0
Mrexcel, could you please be a little bit more specific in your answer?
I dont understand what im supposed to do.
 
Upvote 0
Mrexcel, could you please be a little bit more specific in your answer?
I dont understand what im supposed to do.

There was a typo there...

What I'm asking is (I'm not MrExcel) whether you would want to post the values from B11 and B12 along with some of the march cells from the month range?
 
Upvote 0
Excel Workbook
ABC
1Mayeasteast
2Febwest4
3Sepeast
4Sepsouth
5Decsouth
6Junwest
7Octsouth
8Noveast
9Augnorth
10Decnorth
11Octnorth
12Noveast
Sheet3


is your setup similar to this? C1 = jan
 
Upvote 0
Excel Workbook
ABC
1Mareastwest
2Marwest2
3Mareast
4Marsouth
5Marsouth
6Marwest
7Octsouth
8Noveast
9Augnorth
10Decnorth
11Febnorth
12Noveast
Sheet3


this one will work, the last one shouldn't have
 
Upvote 0
There was a typo there...

What I'm asking is (I'm not MrExcel) whether you would want to post the values from B11 and B12 along with some of the march cells from the month range?

Excuse me for the misunderstanding, Aladin.

What i have is the following:

Jan: "=SUMPRODUCT(--(month=$B10);--(region=$B$2))" | outcome is 3
Feb: "=SUMPRODUCT(--(month=$B11);--(region=$B$2))" | outcome is 3
march:"=SUMPRODUCT(--(month=$B12);--(region=$B$2))" | outcome is 0, but should be 3.

What we try to do here is, that we want a total of the sales by month and region.
 
Upvote 0
#Jan: "=SUMPRODUCT(--(month=$B10);--(region=$B$2))" | outcome is 3
#Feb: "=SUMPRODUCT(--(month=$B11);--(region=$B$2))" | outcome is 3
#march:"=SUMPRODUCT(--(month=$B12);--(region=$B$2))" | outcome is 0, but should be 3.

What we try to do here is, that we want a total of the sales by month and region.

Could you clarify, is month a named range you're referring to? the months I've marked, are they dates formatted to show the word month or is it text values and the words typed directly into the cells?
 
Upvote 0
Excel Workbook
ABC
1Mareastwest
2Marwest2
3Mareast
4Marsouth
5Marsouth
6Marwest
7Octsouth
8Noveast
9Augnorth
10Decnorth
11Febnorth
12Noveast
Sheet3


this one will work, the last one shouldn't have

Here comes the thing.. i copied my entry excactly from the practice sheet from school ( with answers) I actually dont want to use different entry's, then given in my practice sheet.
 
Upvote 0
Excuse me for the misunderstanding, Aladin.

What i have is the following:

Jan: "=SUMPRODUCT(--(month=$B10);--(region=$B$2))" | outcome is 3
Feb: "=SUMPRODUCT(--(month=$B11);--(region=$B$2))" | outcome is 3
march:"=SUMPRODUCT(--(month=$B12);--(region=$B$2))" | outcome is 0, but should be 3.

What we try to do here is, that we want a total of the sales by month and region.

Ik wil de inhoud zien van B11 en B12. Laat ook de inhoud zien van een paar cellen die met de maand maart te maken hebben uit het bereik "month".
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,973
Members
449,059
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top